Exemple #1
0
void extern
avx512bw_test (void)
{
  x512 = _mm512_subs_epu16 (x512, x512);
  x512 = _mm512_mask_subs_epu16 (x512, m512, x512, x512);
  x512 = _mm512_maskz_subs_epu16 (m512, x512, x512);
  x256 = _mm256_mask_subs_epu16 (x256, m256, x256, x256);
  x256 = _mm256_maskz_subs_epu16 (m256, x256, x256);
  x128 = _mm_mask_subs_epu16 (x128, m128, x128, x128);
  x128 = _mm_maskz_subs_epu16 (m128, x128, x128);
}
__m512i test_mm512_mask_subs_epu16(__m512i __W, __mmask32 __U, __m512i __A, __m512i __B) {
  // CHECK-LABEL: @test_mm512_mask_subs_epu16
  // CHECK: @llvm.x86.avx512.mask.psubus.w.512
  return _mm512_mask_subs_epu16(__W,__U,__A,__B); 
}