OSDN Git Service

* gcc.target/i386/pr34256.c: Update number of mov insns
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / pr34256.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-options "-O2 -march=core2" } */
4
5 #include <mmintrin.h>
6
7 __m64 x;
8 __m64 y;
9
10 unsigned long long  foo(__m64 m) {
11   return _mm_cvtm64_si64(_mm_add_pi32(x, y));
12 }
13
14 /* { dg-final { scan-assembler-times "mov" 2 { target nonpic } } } */
15 /* { dg-final { scan-assembler-times "mov" 4 { target { ! nonpic } } } } */