예제 #1
0
void extern
avx512bw_test (void)
{
  m8 = _mm_cmpge_epu16_mask (x128, x128);
  m16 = _mm256_cmpge_epu16_mask (x256, x256);
  m32 = _mm512_cmpge_epu16_mask (x512, x512);
  m8 = _mm_mask_cmpge_epu16_mask (3, x128, x128);
  m16 = _mm256_mask_cmpge_epu16_mask (3, x256, x256);
  m32 = _mm512_mask_cmpge_epu16_mask (3, x512, x512);
}
예제 #2
0
__mmask32 test_mm512_cmpge_epu16_mask(__m512i __a, __m512i __b) {
  // CHECK-LABEL: @test_mm512_cmpge_epu16_mask
  // CHECK: @llvm.x86.avx512.mask.ucmp.w.512(<32 x i16> {{.*}}, <32 x i16> {{.*}}, i8 5, i32 -1)
  return (__mmask32)_mm512_cmpge_epu16_mask(__a, __b);
}