aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fmax_h.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fmax_h.h')
-rw-r--r--riscv/insns/fmax_h.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fmax_h.h b/riscv/insns/fmax_h.h
index 3d4c40e..c864258 100644
--- a/riscv/insns/fmax_h.h
+++ b/riscv/insns/fmax_h.h
@@ -1,4 +1,4 @@
-require_extension(EXT_ZFH);
+require_either_extension(EXT_ZFH, EXT_ZHINX);
require_fp;
-WRITE_FRD(f16_max(f16(FRS1), f16(FRS2)));
+WRITE_FRD_H(f16_max(FRS1_H, FRS2_H));
set_fp_exceptions;