c++: reduce unnecessary tree_common
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr34256.c
blob1d279c6a3a90c60b9c51195eb361d74ee38050bc
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" 3 { target { nonpic || pie_enabled } } } } */
14 /* { dg-final { scan-assembler-times "mov" 5 { target { { ! nonpic } && { ! pie_enabled } } } } } */