aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fsgnj_h.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fsgnj_h.h')
-rw-r--r--riscv/insns/fsgnj_h.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fsgnj_h.h b/riscv/insns/fsgnj_h.h
index 79d50f5..080f27d 100644
--- a/riscv/insns/fsgnj_h.h
+++ b/riscv/insns/fsgnj_h.h
@@ -1,3 +1,3 @@
-require_extension(EXT_ZFH);
+require_either_extension(EXT_ZFH, EXT_ZHINX);
require_fp;
-WRITE_FRD(fsgnj16(FRS1, FRS2, false, false));
+WRITE_FRD_H(fsgnj16(freg(FRS1_H), freg(FRS2_H), false, false));