2011-07-09 07:31:17 +08:00
|
|
|
// RUN: %clang_cc1 -ffreestanding -fsyntax-only -target-feature +ssse3 -target-feature +mmx -verify -triple x86_64-pc-linux-gnu %s
|
|
|
|
// RUN: %clang_cc1 -ffreestanding -fsyntax-only -target-feature +ssse3 -target-feature +mmx -verify -triple i686-apple-darwin10 %s
|
2010-04-17 10:36:08 +08:00
|
|
|
|
|
|
|
#include <tmmintrin.h>
|
|
|
|
|
2010-10-02 07:23:24 +08:00
|
|
|
__m64 test1(__m64 a, __m64 b, int c) {
|
2018-05-31 08:51:20 +08:00
|
|
|
return _mm_alignr_pi8(a, b, c); // expected-error {{argument to '__builtin_ia32_palignr' must be a constant integer}}
|
2010-04-17 10:36:08 +08:00
|
|
|
}
|