2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr34256.c
blob4ce7e30c5f6bb3ad3ccdcdcd206bd419cd56146c
1 /* { dg-do compile { target { ! { ia32 } } } } */
2 /* { dg-options "-O2 -fomit-frame-pointer -march=core2" } */
4 #include <mmintrin.h>
6 __m64 x;
7 __m64 y;
9 unsigned long long foo(__m64 m) {
10 return _mm_cvtm64_si64(_mm_add_pi32(x, y));
13 /* { dg-final { scan-assembler-times "mov" 2 { target nonpic } } } */
14 /* { dg-final { scan-assembler-times "mov" 4 { target { ! nonpic } } } } */