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