blob: 5a8491cfd203ad677d7a668f92f290d321cb8279 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile } */
/* { dg-options "-mavx512f -O2" } */
/* { dg-final { scan-assembler-times "vaddss\[ \\t\]+\[^\n\]*\{rn-sae\}\[^\n\]*%xmm\[0-9\]" 1 } } */
#include <immintrin.h>
volatile __m128 x1, x2;
void extern
avx512f_test (void)
{
x1 = _mm_add_round_ss (x1, x2, _MM_FROUND_TO_NEAREST_INT);
}
|