c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr78102.c
blobd0237e661fe6b681874ce9fe72eaffc8066f5f05
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mdejagnu-cpu=power8 -mvsx -DNO_WARN_X86_INTRINSICS" } */
3 /* { dg-require-effective-target powerpc_vsx } */
5 #include <x86intrin.h>
7 __m128i
8 foo (const __m128i x, const __m128i y)
10 return _mm_cmpeq_epi64 (x, y);
13 __v2di
14 bar (const __v2di x, const __v2di y)
16 return x == y;
19 __v2di
20 baz (const __v2di x, const __v2di y)
22 return x != y;