Example #1
0
void extern
avx512bw_test (void)
{
  x = _mm512_packs_epi32 (x, x);
  x = _mm512_mask_packs_epi32 (x, mx, x, x);
  x = _mm512_maskz_packs_epi32 (mx, x, x);
  y = _mm256_mask_packs_epi32 (y, my, y, y);
  y = _mm256_maskz_packs_epi32 (my, y, y);
  z = _mm_mask_packs_epi32 (z, mz, z, z);
  z = _mm_maskz_packs_epi32 (mz, z, z);
}
Example #2
0
__m512i test_mm512_mask_packs_epi32(__m512i __W, __mmask32 __M, __m512i __A, __m512i __B) {
  // CHECK-LABEL: @test_mm512_mask_packs_epi32
  // CHECK: @llvm.x86.avx512.mask.packssdw.512
  return _mm512_mask_packs_epi32(__W,__M,__A,__B); 
}