I want to convert an array of unsigned short numbers to float using SSE. Let's say
__m128i xVal; // Has 8 16-bit unsigned integers
__m128 y1, y2; // 2 xmm registers for 8 float values
I want first 4 uint16 in y1 & next 4 uint16 in y2.
Need to know which sse intrinsic to use.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…