diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2019-07-12 18:14:51 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2019-07-12 18:14:51 +0000 |
commit | b98bf60ef7a7ad714b340f980792ec208528cbb2 (patch) | |
tree | 6b871f5069ad933efbf96d98ab44b15635f2f533 /clang/test/CodeGen/builtins-systemz-zvector2.c | |
parent | 0f0a8b77843e73212ab20cc9657b4db7c928abc0 (diff) | |
download | bcm5719-llvm-b98bf60ef7a7ad714b340f980792ec208528cbb2.tar.gz bcm5719-llvm-b98bf60ef7a7ad714b340f980792ec208528cbb2.zip |
[SystemZ] Add support for new cpu architecture - arch13
This patch series adds support for the next-generation arch13
CPU architecture to the SystemZ backend.
This includes:
- Basic support for the new processor and its features.
- Support for low-level builtins mapped to new LLVM intrinsics.
- New high-level intrinsics in vecintrin.h.
- Indicate support by defining __VEC__ == 10303.
Note: No currently available Z system supports the arch13
architecture. Once new systems become available, the
official system name will be added as supported -march name.
llvm-svn: 365933
Diffstat (limited to 'clang/test/CodeGen/builtins-systemz-zvector2.c')
-rw-r--r-- | clang/test/CodeGen/builtins-systemz-zvector2.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/CodeGen/builtins-systemz-zvector2.c b/clang/test/CodeGen/builtins-systemz-zvector2.c index c89cf399a40..990e4e58b52 100644 --- a/clang/test/CodeGen/builtins-systemz-zvector2.c +++ b/clang/test/CodeGen/builtins-systemz-zvector2.c @@ -126,6 +126,16 @@ void test_core(void) { // CHECK: call <2 x i64> @llvm.s390.vbperm(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}) // CHECK-ASM: vbperm + vf = vec_revb(vf); + // CHECK-ASM: vperm + vd = vec_revb(vd); + // CHECK-ASM: vperm + + vf = vec_reve(vf); + // CHECK-ASM: vperm + vd = vec_reve(vd); + // CHECK-ASM: {{vperm|vpdi}} + vf = vec_sel(vf, vf, vui); // CHECK-ASM: vsel vf = vec_sel(vf, vf, vbi); |