blob: e207ecef7c39ca8e5ad661d485de27f974466d40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { 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" 2 { target nonpic } } } */
/* { dg-final { scan-assembler-times "mov" 4 { target { ! nonpic } } } } */
|