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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fnmsub_s.h b/riscv/insns/fnmsub_s.h
index 4c61fc7..b22b3db 100644
--- a/riscv/insns/fnmsub_s.h
+++ b/riscv/insns/fnmsub_s.h
@@ -1,5 +1,5 @@
-require_extension('F');
+require_either_extension('F', EXT_ZFINX);
require_fp;
softfloat_roundingMode = RM;
-WRITE_FRD(f32_mulAdd(f32(f32(FRS1).v ^ F32_SIGN), f32(FRS2), f32(FRS3)));
+WRITE_FRD_F(f32_mulAdd(f32(FRS1_F.v ^ F32_SIGN), FRS2_F, FRS3_F));
set_fp_exceptions;