From 4ecfbc14defff6955405529bf02eb69da44b925a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 15 Apr 2019 00:17:37 -0400 Subject: [PATCH] common/fp/op/FPToFixed: Add half-precision specialization of FPToFixed --- src/common/fp/op/FPToFixed.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/fp/op/FPToFixed.cpp b/src/common/fp/op/FPToFixed.cpp index 97f549e6..9240d5e5 100644 --- a/src/common/fp/op/FPToFixed.cpp +++ b/src/common/fp/op/FPToFixed.cpp @@ -95,6 +95,7 @@ u64 FPToFixed(size_t ibits, FPT op, size_t fbits, bool unsigned_, FPCR fpcr, Rou return int_result & Common::Ones(ibits); } +template u64 FPToFixed(size_t ibits, u16 op, size_t fbits, bool unsigned_, FPCR fpcr, RoundingMode rounding, FPSR& fpsr); template u64 FPToFixed(size_t ibits, u32 op, size_t fbits, bool unsigned_, FPCR fpcr, RoundingMode rounding, FPSR& fpsr); template u64 FPToFixed(size_t ibits, u64 op, size_t fbits, bool unsigned_, FPCR fpcr, RoundingMode rounding, FPSR& fpsr);