blob: 1d279c6a3a90c60b9c51195eb361d74ee38050bc [file] [log] [blame]
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -fomit-frame-pointer -march=core2" } */
#include <mmintrin.h>
__m64 x;
__m64 y;
unsigned long long foo(__m64 m) {
return _mm_cvtm64_si64(_mm_add_pi32(x, y));
}
/* { dg-final { scan-assembler-times "mov" 3 { target { nonpic || pie_enabled } } } } */
/* { dg-final { scan-assembler-times "mov" 5 { target { { ! nonpic } && { ! pie_enabled } } } } } */