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