PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr53759.c
blobd55316a79d4e49baf25fb5c24b3d4ca9e18fb155
1 /* PR target/53759 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -mavx" } */
5 #include <xmmintrin.h>
7 void
8 foo (__m128 *x, __m64 *y)
10 __m128 a = _mm_setzero_ps ();
11 __m128 b = _mm_loadl_pi (a, y);
12 *x = _mm_add_ps (b, b);
15 /* { dg-final { scan-assembler "vmovlps\[ \\t\]" } } */
16 /* { dg-final { scan-assembler-not "vshufps\[ \\t\]" } } */