aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vfwcvt_xu_f_v.h
blob: 37201f5b2c4934994571873d342f69d855ef5d2b (plain)
1
2
3
4
5
6
7
8
// vfwcvt.xu.f.v vd, vs2, vm
VI_VFP_WCVT_FP_TO_INT(
  { vd = f16_to_ui32(vs2, softfloat_roundingMode, true); }, // BODY16
  { vd = f32_to_ui64(vs2, softfloat_roundingMode, true); }, // BODY32
  { require_extension(EXT_ZVFH); },                         // CHECK16
  { require_extension('F'); },                              // CHECK32
  uint                                                      // sign
)