PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / mmx-7.c
blob683ca102d8ae409948809f40be2dd1efc9a8a7fc
1 /* PR middle-end/26379 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -mmmx" } */
5 #include <mmintrin.h>
7 void
8 foo (__m64 *p)
10 __m64 m;
12 m = p[0];
13 m = _mm_srli_pi16(m, 2);
14 m = _mm_slli_pi16(m, 8);
16 p[0] = m;
17 _mm_empty();