aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-08 09:32:05 -0600
committerRichard Henderson <richard.henderson@linaro.org>2024-12-24 08:32:15 -0800
commit655a83cac128574c7ea386042f8eefa5be5708e5 (patch)
tree384b5b6521f3ea7c1f7ca11f9b8fecee501b3869
parent6e7422dc22fd2a3bd581e6a496470f6edecc6357 (diff)
downloadqemu-655a83cac128574c7ea386042f8eefa5be5708e5.zip
qemu-655a83cac128574c7ea386042f8eefa5be5708e5.tar.gz
qemu-655a83cac128574c7ea386042f8eefa5be5708e5.tar.bz2
target/hexagon: Use float32_muladd for helper_sffma
There are no special cases for this instruction. Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--target/hexagon/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/hexagon/op_helper.c b/target/hexagon/op_helper.c
index d257097..15b143a 100644
--- a/target/hexagon/op_helper.c
+++ b/target/hexagon/op_helper.c
@@ -1054,7 +1054,7 @@ float32 HELPER(sffma)(CPUHexagonState *env, float32 RxV,
float32 RsV, float32 RtV)
{
arch_fpop_start(env);
- RxV = internal_fmafx(RsV, RtV, RxV, 0, &env->fp_status);
+ RxV = float32_muladd(RsV, RtV, RxV, 0, &env->fp_status);
arch_fpop_end(env);
return RxV;
}