simde icon indicating copy to clipboard operation
simde copied to clipboard

vcvt_f32_s32 is not correct in visual studio

Open xxxxxxLD opened this issue 5 months ago • 2 comments

I run and debug neon intrinsic by using simde in Visual Studio. When using simde_vcvt_f32_s32 to convert a slice of int number ,and it seems like the result not correct, the vector are all 12851, but the result of vcvt_f32_s32 is -nan(ind), 12851.0, 12851.0, ... Why the first of results is -nan(ind). By the way the specific intrinsic is vcvt_f32_s32(vmovl_s16(vget_low_s16(v_in))). Only the result of this intrinsic is not correct, vcvt_f32_s32(vmovl_s16(vget_high_s16(v_in))) is true.

xxxxxxLD avatar Jan 19 '24 01:01 xxxxxxLD