Rebase.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512er-vrsqrt28ss-1.c
bloba334375811fc1632a82e14bff052d6a6f5883277
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512er -O2" } */
3 /* { dg-final { scan-assembler-times "vrsqrt28ss\[ \\t\]+\[^\{^\n\]*%xmm\[0-9\]" 1 } } */
4 /* { dg-final { scan-assembler-times "vrsqrt28ss\[ \\t\]+\[^\n\]*\{sae\}\[^\n\]*%xmm\[0-9\]" 1 } } */
6 #include <immintrin.h>
8 volatile __m128 x, y;
10 void extern
11 avx512er_test (void)
13 x = _mm_rsqrt28_ss (x, y);
14 x = _mm_rsqrt28_round_ss (x, y, _MM_FROUND_NO_EXC);