aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fcvt_w_d.h
blob: a839f4ba88685a4f0e9dbcba2a6deb655f6ade96 (plain)
1
2
3
4
5
require_either_extension('D', EXT_ZDINX);
require_fp;
softfloat_roundingMode = RM;
WRITE_RD(sext32(f64_to_i32(FRS1_D, RM, true)));
set_fp_exceptions;