aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fcvt_w_h.h
blob: 97e49a554e9780182ec6b78fe4eba524974beffe (plain)
1
2
3
4
5
require_either_extension(EXT_ZFH, EXT_ZHINX);
require_fp;
softfloat_roundingMode = RM;
WRITE_RD(sext32(f16_to_i32(FRS1_H, RM, true)));
set_fp_exceptions;