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