aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fnmsub_s.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fnmsub_s.h')
-rw-r--r--riscv/insns/fnmsub_s.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/fnmsub_s.h b/riscv/insns/fnmsub_s.h
index e1448ce..4c61fc7 100644
--- a/riscv/insns/fnmsub_s.h
+++ b/riscv/insns/fnmsub_s.h
@@ -1,5 +1,5 @@
require_extension('F');
require_fp;
softfloat_roundingMode = RM;
-WRITE_FRD(f32_mulAdd(f32(FRS1 ^ (uint32_t)INT32_MIN), f32(FRS2), f32(FRS3)));
+WRITE_FRD(f32_mulAdd(f32(f32(FRS1).v ^ F32_SIGN), f32(FRS2), f32(FRS3)));
set_fp_exceptions;