[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / mmx-5.c
bloba58fbb7b10f155459eab828c5a37e892ac024515
1 /* PR rtl-optimization/17853 */
2 /* Contributed by Stuart Hastings <stuart@apple.com> */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -mmmx" } */
5 #include <mmintrin.h>
6 #include <stdlib.h>
8 __m64 global_mask;
10 int main()
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;