aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fsgnjn_s.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fsgnjn_s.h')
-rw-r--r--riscv/insns/fsgnjn_s.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fsgnjn_s.h b/riscv/insns/fsgnjn_s.h
index 35906d6..a0994b4 100644
--- a/riscv/insns/fsgnjn_s.h
+++ b/riscv/insns/fsgnjn_s.h
@@ -1,3 +1,3 @@
-require_extension('F');
+require_either_extension('F', EXT_ZFINX);
require_fp;
-WRITE_FRD(fsgnj32(FRS1, FRS2, true, false));
+WRITE_FRD_F(fsgnj32(freg(FRS1_F), freg(FRS2_F), true, false));