Daniel Dunbar | d13ada1 | 2010-04-18 15:30:18 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -target-feature +ssse3 -verify %s |
Eric Christopher | 00522ad | 2010-04-19 18:26:40 +0000 | [diff] [blame^] | 2 | // Temporarily xfail this on windows. |
| 3 | // XFAIL: win32 |
Eric Christopher | 26d2427 | 2010-04-17 02:36:08 +0000 | [diff] [blame] | 4 | |
| 5 | #include <tmmintrin.h> |
| 6 | |
| 7 | __m64 foo(__m64 a, __m64 b, int c) |
| 8 | { |
Eric Christopher | 5e89655 | 2010-04-19 18:23:02 +0000 | [diff] [blame] | 9 | return _mm_alignr_pi8(a, b, c); // expected-error {{argument to '__builtin_ia32_palignr' must be a constant integer}} |
Eric Christopher | 26d2427 | 2010-04-17 02:36:08 +0000 | [diff] [blame] | 10 | } |