1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx" } */
6 static inline __m256
add1(const __m256
*a
, const __m256
*b
)
8 return _mm256_add_ps(*a
, *b
);
11 void foo1(__m256
*a
, const __m256 b
)
16 static inline __m128
add2(const __m128
*a
, const __m128
*b
)
18 return _mm_add_ps(*a
, *b
);
21 void foo2(__m128
*a
, const __m128 b
)
26 /* { dg-final { scan-assembler-not "vmovups" } } */