Support setting ISA/subsets with --isa flag
[riscv-isa-sim.git] / riscv / insns / fcvt_d_s.h
index 6b1a09cc5e604cbd31ff3bbc97631ca74fc334f1..177e77cac0cc20d244c9dd80a4f30706d6a3cf37 100644 (file)
@@ -1,4 +1,5 @@
+require_extension('D');
 require_fp;
 softfloat_roundingMode = RM;
-FRD = f32_to_f64(FRS1);
+WRITE_FRD(f32_to_f64(FRS1));
 set_fp_exceptions;