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:
Lioncash 2019-03-23 12:12:14 -04:00 committed by MerryMage
parent 03bc2334fe
commit dff5da1063

View file

@ -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>