Пример #1
0
void extern
avx512bw_test (void)
{
  m16 = _mm_cmpneq_epu8_mask (x128, x128);
  m32 = _mm256_cmpneq_epu8_mask (x256, x256);
  m64 = _mm512_cmpneq_epu8_mask (x512, x512);
  m16 = _mm_mask_cmpneq_epu8_mask (3, x128, x128);
  m32 = _mm256_mask_cmpneq_epu8_mask (3, x256, x256);
  m64 = _mm512_mask_cmpneq_epu8_mask (3, x512, x512);
}
Пример #2
0
__mmask16 test_mm_cmpneq_epu8_mask(__m128i __a, __m128i __b) {
    // CHECK-LABEL: @test_mm_cmpneq_epu8_mask
    // CHECK: @llvm.x86.avx512.mask.ucmp.b.128(<16 x i8> {{.*}}, <16 x i8> {{.*}}, i8 4, i16 -1)
    return (__mmask64)_mm_cmpneq_epu8_mask(__a, __b);
}