x86-builtin-palignr.c revision 00522ad7a35f071bb91e6bdc02319fbec87f0703
1// RUN: %clang_cc1 -fsyntax-only -target-feature +ssse3 -verify %s 2// Temporarily xfail this on windows. 3// XFAIL: win32 4 5#include <tmmintrin.h> 6 7__m64 foo(__m64 a, __m64 b, int c) 8{ 9 return _mm_alignr_pi8(a, b, c); // expected-error {{argument to '__builtin_ia32_palignr' must be a constant integer}} 10} 11