aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vfncvt_f_x_w.h
blob: 46f2d92f71f265a42eaa82bbd0afad8a8b7cc995 (plain)
1
2
3
4
5
6
7
8
// vfncvt.f.x.w vd, vs2, vm
VI_VFP_NCVT_INT_TO_FP(
  { vd = i32_to_f16(vs2); },        // BODY32
  { vd = i64_to_f32(vs2); },        // BODY64
  { require_extension(EXT_ZVFH); }, // CHECK32
  { require_extension('F'); },      // CHECK64
  int                               // sign
)