aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fcvt_w_d.h
blob: 28eb2456d9843d109902a4b4e3e5896b4a394782 (plain)
1
2
3
4
5
require_extension('D');
require_fp;
softfloat_roundingMode = RM;
WRITE_RD(sext32(f64_to_i32(f64(FRS1), RM, true)));
set_fp_exceptions;