I'm porting some c++ SIMD instruction code to netCore Intrinsics and went over following line:
__m128i ssd = _mm_set1_epi32((unsigned __int32)(alpha_value & 0x000000FF) << 24); //ALPHA CHANNEL MASK
In the docs of netCore SSE2 Intrinsics I could not find any corresponding method for the _mm_set1_epi32 intrinsic.
What this instruction does is setting each of the 4 32 bit uint in the 128 bit vector to a specified value.
How to do that in netCore with Vector128<uint>
?