aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fsgnjx_h.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fsgnjx_h.h')
-rw-r--r--riscv/insns/fsgnjx_h.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fsgnjx_h.h b/riscv/insns/fsgnjx_h.h
index 9310269..1d29bb1 100644
--- a/riscv/insns/fsgnjx_h.h
+++ b/riscv/insns/fsgnjx_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, true));
+WRITE_FRD_H(fsgnj16(freg(FRS1_H), freg(FRS2_H), false, true));