blob: d8fdab7efec42e1df2e92ac86c0b2d938734f6e0 [file] [log] [blame]
/* { dg-do compile} */
/* { dg-options "-O2 -mavx512fp16 -mavx512vl -mavx512dq" } */
#include <immintrin.h>
__m256h
__attribute__ ((noinline, noclone))
test_mm256_conj_pch (__m256h __A)
{
return _mm256_conj_pch (__A);
}
/* { dg-final { scan-assembler-times "vpxor\[^\n\]*%ymm\[0-9\]+" 3 } } */
__m128h
__attribute__ ((noinline, noclone))
test_mm_conj_pch (__m128h __A)
{
return _mm_conj_pch (__A);
}
/* { dg-final { scan-assembler-times "vpxor\[^\n\]*%xmm\[0-9\]+" 3 } } */
__m256h
__attribute__ ((noinline, noclone))
test_mm256_mask_conj_pch (__m256h __W, __mmask8 __U, __m256h __A)
{
return _mm256_mask_conj_pch (__W, __U, __A);
}
/* { dg-final { scan-assembler-times "vmovaps\[^\n\]*%ymm\[0-9\]+" 2 } } */
__m128h
__attribute__ ((noinline, noclone))
test_mm_mask_conj_pch (__m128h __W, __mmask8 __U, __m128h __A)
{
return _mm_mask_conj_pch (__W, __U, __A);
}
/* { dg-final { scan-assembler-times "vmovaps\[^\n\]*%xmm\[0-9\]+" 2 } } */
__m256h
__attribute__ ((noinline, noclone))
test_mm256_maskz_conj_pch (__mmask8 __U, __m256h __A)
{
return _mm256_maskz_conj_pch (__U, __A);
}
/* { dg-final { scan-assembler-times "vmovaps\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
__m128h
__attribute__ ((noinline, noclone))
test_mm_maskz_conj_pch (__mmask8 __U, __m128h __A) {
return _mm_maskz_conj_pch (__U, __A);
}
/* { dg-final { scan-assembler-times "vmovaps\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */