aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fmul_s.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fmul_s.h')
-rw-r--r--riscv/insns/fmul_s.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fmul_s.h b/riscv/insns/fmul_s.h
index 145d5ce..9cf30b4 100644
--- a/riscv/insns/fmul_s.h
+++ b/riscv/insns/fmul_s.h
@@ -1,5 +1,5 @@
-require_extension('F');
+require_either_extension('F', EXT_ZFINX);
require_fp;
softfloat_roundingMode = RM;
-WRITE_FRD(f32_mul(f32(FRS1), f32(FRS2)));
+WRITE_FRD_F(f32_mul(FRS1_F, FRS2_F));
set_fp_exceptions;