Another step toward enabling -Wsystem-headers testing across all x86 headers
Fix a number of cases where the arg / return value signedness doesn't match the C/C++ intrinsic.
So far I've just added explicit casts as necessary, but we might want to address some of the mismatches directly:
e.g.
_mm512_srli_epi16(__m512i __A, unsigned int __B) _mm512_mask_srli_epi16(__m512i __W, __mmask32 __U, __m512i __A, unsigned int __B) _mm512_maskz_srli_epi16(__mmask32 __U, __m512i __A, int __B) // <---- unsigned int?
@pengfei The Intel Intrisics guide has this taking a int ?