Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Smart_Lubobya
Beginner
63 Views

adding a constant to array addition in sse2

how do i write the c++ code below in sse2? especially how to deal with the constant 12
b = (short)((f0 + f3 + 12) >> 3);

f0 and f3 are arrays and >> is shift operation
0 Kudos
1 Reply
63 Views


_m128i xmm = _mm_set_epi32(12, 12, 12, 12).

Reply