Debian Codegraph @

gcc/testsuite/gcc.target/i386/sse2-mmx-19a.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -msse2 -mno-mmx -mtune=intel" } */
3 /* { dg-final { scan-assembler-times "pshuflw" 1 } } */
4 /* { dg-final { scan-assembler-times "movd" 1 } } */
5 /* { dg-final { scan-assembler-not "movl" } } */
6
7 #include <mmintrin.h>
8
9 __m64
10 foo (short i)
11 {
12 __v4hi x = { i, i, i, i };
13 return (__m64) x;
14 }