common/fp/unpacked: Amend behavior of FPUnpackCV
This is supposed to call FPUnpackBase instead of FPUnpack. This would result in alternate half-precision representations being misinterpreted when it comes to dealing with NaNs.
This commit is contained in:
parent
03bc2334fe
commit
dff5da1063
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ std::tuple<FPType, bool, FPUnpacked> FPUnpack(FPT op, FPCR fpcr, FPSR& fpsr) {
|
||||||
template<typename FPT>
|
template<typename FPT>
|
||||||
std::tuple<FPType, bool, FPUnpacked> FPUnpackCV(FPT op, FPCR fpcr, FPSR& fpsr) {
|
std::tuple<FPType, bool, FPUnpacked> FPUnpackCV(FPT op, FPCR fpcr, FPSR& fpsr) {
|
||||||
fpcr.FZ16(false);
|
fpcr.FZ16(false);
|
||||||
return FPUnpack(op, fpcr, fpsr);
|
return FPUnpackBase(op, fpcr, fpsr);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename FPT>
|
template<typename FPT>
|
||||||
|
|
Loading…
Reference in a new issue