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