aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fcvt_w_h.h
blob: fe8bb48fb29c949b19a7d0759569b712518b50c8 (plain)
1
2
3
4
5
require_extension(EXT_ZFH);
require_fp;
softfloat_roundingMode = RM;
WRITE_RD(sext32(f16_to_i32(f16(FRS1), RM, true)));
set_fp_exceptions;