1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -fomit-frame-pointer -march=core2" } */
3 
4 #include <mmintrin.h>
5 
6 __m64 x;
7 __m64 y;
8 
foo(__m64 m)9 unsigned long long  foo(__m64 m) {
10   return _mm_cvtm64_si64(_mm_add_pi32(x, y));
11 }
12 
13 /* { dg-final { scan-assembler-times "mov" 2 { target nonpic } } } */
14 /* { dg-final { scan-assembler-times "mov" 4 { target { ! nonpic } } } } */
15