OSDN Git Service

Index: libcpp/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / i386-mmx-5.c
1 /* PR rtl-optimization/17853 */
2 /* Contributed by Stuart Hastings <stuart@apple.com> */
3 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
4 /* { dg-options "-O2 -mmmx" } */
5 #include <mmintrin.h>
6 #include <stdlib.h>
7
8 __m64 global_mask;
9
10 int main()
11 {
12     __m64 zero = _mm_setzero_si64();
13     __m64 mask = _mm_cmpeq_pi8( zero, zero );
14     mask = _mm_unpacklo_pi8( mask, zero );
15     global_mask = mask;
16     return 0;
17 }
18