diff options
Diffstat (limited to 'riscv/insns/fcvt_w_d.h')
-rw-r--r-- | riscv/insns/fcvt_w_d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/riscv/insns/fcvt_w_d.h b/riscv/insns/fcvt_w_d.h new file mode 100644 index 0000000..88dc3d3 --- /dev/null +++ b/riscv/insns/fcvt_w_d.h @@ -0,0 +1,4 @@ +require_fp; +softfloat_roundingMode = RM; +RD = sext32(f64_to_i32(FRS1, RM, true)); +set_fp_exceptions; |