aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/feq_d.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/feq_d.h')
-rw-r--r--riscv/insns/feq_d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/feq_d.h b/riscv/insns/feq_d.h
index 541ed5b..9585bad 100644
--- a/riscv/insns/feq_d.h
+++ b/riscv/insns/feq_d.h
@@ -1,4 +1,4 @@
-require_extension('D');
+require_either_extension('D', EXT_ZDINX);
require_fp;
-WRITE_RD(f64_eq(f64(FRS1), f64(FRS2)));
+WRITE_RD(f64_eq(FRS1_D, FRS2_D));
set_fp_exceptions;