diff options
| author | Daniel Jasper <djasper@google.com> | 2016-10-10 11:40:28 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2016-10-10 11:40:28 +0000 |
| commit | 1eb779b5ae4d61b69c17710125b8eddd9113cac3 (patch) | |
| tree | 4061fac3021feabc26865a4302ef38a00260867e /clang/test/CodeGen/x86-inline-asm-v-constraint.c | |
| parent | 9257764d61e746e016976cd313bc47dbf97cd428 (diff) | |
| download | bcm5719-llvm-1eb779b5ae4d61b69c17710125b8eddd9113cac3.tar.gz bcm5719-llvm-1eb779b5ae4d61b69c17710125b8eddd9113cac3.zip | |
Revert "[x86][inline-asm][clang] accept 'v' constraint"
This reverts commit r283716.
Breaks buildbot:
http://lab.llvm.org:8080/green/job/clang-stage2-configure-Rlto_check/9155/testReport/junit/Clang/CodeGen/x86_inline_asm_v_constraint_c/
llvm-svn: 283743
Diffstat (limited to 'clang/test/CodeGen/x86-inline-asm-v-constraint.c')
| -rw-r--r-- | clang/test/CodeGen/x86-inline-asm-v-constraint.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/clang/test/CodeGen/x86-inline-asm-v-constraint.c b/clang/test/CodeGen/x86-inline-asm-v-constraint.c deleted file mode 100644 index cce95514c37..00000000000 --- a/clang/test/CodeGen/x86-inline-asm-v-constraint.c +++ /dev/null @@ -1,30 +0,0 @@ -// RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -target-cpu x86-64 -o - | FileCheck %s --check-prefix SSE -// RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -target-cpu skylake -D AVX -o - | FileCheck %s --check-prefixes AVX,SSE -// RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -target-cpu skylake-avx512 -D AVX512 -D AVX -o - | FileCheck %s --check-prefixes AVX512,AVX,SSE -// RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -target-cpu knl -D AVX -D AVX512 -o - | FileCheck %s --check-prefixes AVX512,AVX,SSE - -typedef float __m128 __attribute__ ((vector_size (16))); -typedef float __m256 __attribute__ ((vector_size (32))); -typedef float __m512 __attribute__ ((vector_size (64))); - -// SSE: call <4 x float> asm "vmovhlps $1, $2, $0", "=v,v,v,~{dirflag},~{fpsr},~{flags}"(i64 %0, <4 x float> %1) -__m128 testXMM(__m128 _xmm0, long _l) { - __asm__("vmovhlps %1, %2, %0" :"=v"(_xmm0) : "v"(_l), "v"(_xmm0)); - return _xmm0; -} - -// AVX: call <8 x float> asm "vmovsldup $1, $0", "=v,v,~{dirflag},~{fpsr},~{flags}"(<8 x float> %0) -__m256 testYMM(__m256 _ymm0) { -#ifdef AVX - __asm__("vmovsldup %1, %0" :"=v"(_ymm0) : "v"(_ymm0)); -#endif - return _ymm0; -} - -// AVX512: call <16 x float> asm "vpternlogd $$0, $1, $2, $0", "=v,v,v,~{dirflag},~{fpsr},~{flags}"(<16 x float> %0, <16 x float> %1) -__m512 testZMM(__m512 _zmm0, __m512 _zmm1) { -#ifdef AVX512 - __asm__("vpternlogd $0, %1, %2, %0" :"=v"(_zmm0) : "v"(_zmm1), "v"(_zmm0)); -#endif - return _zmm0; -} |

