aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fclass_s.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fclass_s.h')
-rw-r--r--riscv/insns/fclass_s.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fclass_s.h b/riscv/insns/fclass_s.h
index a392db8..3d529ad 100644
--- a/riscv/insns/fclass_s.h
+++ b/riscv/insns/fclass_s.h
@@ -1,3 +1,3 @@
-require_extension('F');
+require_either_extension('F', EXT_ZFINX);
require_fp;
-WRITE_RD(f32_classify(f32(FRS1)));
+WRITE_RD(f32_classify(FRS1_F));