Пример #1
0
void extern
avx512bw_test (void)
{
  x512 = _mm512_sub_epi8 (x512, x512);
  x512 = _mm512_mask_sub_epi8 (x512, m512, x512, x512);
  x512 = _mm512_maskz_sub_epi8 (m512, x512, x512);
  x256 = _mm256_mask_sub_epi8 (x256, m256, x256, x256);
  x256 = _mm256_maskz_sub_epi8 (m256, x256, x256);
  x128 = _mm_mask_sub_epi8 (x128, m128, x128, x128);
  x128 = _mm_maskz_sub_epi8 (m128, x128, x128);
}
Пример #2
0
__m512i test_mm512_maskz_sub_epi8 (__mmask64 __U, __m512i __A, __m512i __B) {
  //CHECK-LABEL: @test_mm512_maskz_sub_epi8
  //CHECK: @llvm.x86.avx512.mask.psub.b.512
  return _mm512_maskz_sub_epi8(__U, __A, __B);
}