1b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar// REQUIRES: systemz-registered-target
2b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar// RUN: %clang_cc1 -target-cpu z13 -triple s390x-ibm-linux -fno-lax-vector-conversions \
3b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar// RUN: -Wall -Wno-unused -Werror -emit-llvm %s -o - | FileCheck %s
4b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
5b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainartypedef __attribute__((vector_size(16))) signed char vec_schar;
6b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainartypedef __attribute__((vector_size(16))) signed short vec_sshort;
7b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainartypedef __attribute__((vector_size(16))) signed int vec_sint;
8b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainartypedef __attribute__((vector_size(16))) signed long long vec_slong;
9b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainartypedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainartypedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainartypedef __attribute__((vector_size(16))) unsigned int vec_uint;
12b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainartypedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainartypedef __attribute__((vector_size(16))) double vec_double;
14b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
15b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvolatile vec_schar vsc;
16b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvolatile vec_sshort vss;
17b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvolatile vec_sint vsi;
18b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvolatile vec_slong vsl;
19b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvolatile vec_uchar vuc;
20b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvolatile vec_ushort vus;
21b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvolatile vec_uint vui;
22b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvolatile vec_ulong vul;
23b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvolatile vec_double vd;
24b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
25b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvolatile unsigned int len;
26b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarconst void * volatile cptr;
27b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvoid * volatile ptr;
28b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarint cc;
29b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
30b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvoid test_core(void) {
31b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  len = __builtin_s390_lcbb(cptr, 0);
32b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call i32 @llvm.s390.lcbb(i8* %{{.*}}, i32 0)
33b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  len = __builtin_s390_lcbb(cptr, 15);
34b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call i32 @llvm.s390.lcbb(i8* %{{.*}}, i32 15)
35b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
36b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vlbb(cptr, 0);
37b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vlbb(i8* %{{.*}}, i32 0)
38b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vlbb(cptr, 15);
39b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vlbb(i8* %{{.*}}, i32 15)
40b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
41b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vll(len, cptr);
42b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vll(i32 %{{.*}}, i8* %{{.*}})
43b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
44b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vpdi(vul, vul, 0);
45b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vpdi(<2 x i64> %{{.*}}, <2 x i64> %{{.*}}, i32 0)
46b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vpdi(vul, vul, 15);
47b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vpdi(<2 x i64> %{{.*}}, <2 x i64> %{{.*}}, i32 15)
48b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
49b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vperm(vuc, vuc, vuc);
50b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vperm(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}})
51b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
52b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vpklsh(vus, vus);
53b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vpklsh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
54b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vpklsf(vui, vui);
55b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vpklsf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
56b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vpklsg(vul, vul);
57b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vpklsg(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
58b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
59b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vpklshs(vus, vus, &cc);
60b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vpklshs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
61b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vpklsfs(vui, vui, &cc);
62b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vpklsfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
63b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vpklsgs(vul, vul, &cc);
64b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vpklsgs(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
65b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
66b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vpksh(vss, vss);
67b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vpksh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
68b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vpksf(vsi, vsi);
69b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vpksf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
70b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vpksg(vsl, vsl);
71b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vpksg(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
72b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
73b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vpkshs(vss, vss, &cc);
74b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vpkshs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
75b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vpksfs(vsi, vsi, &cc);
76b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vpksfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
77b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vpksgs(vsl, vsl, &cc);
78b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vpksgs(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
79b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
80b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  __builtin_s390_vstl(vsc, len, ptr);
81b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call void @llvm.s390.vstl(<16 x i8> %{{.*}}, i32 %{{.*}}, i8* %{{.*}})
82b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
83b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vuphb(vsc);
84b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vuphb(<16 x i8> %{{.*}})
85b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vuphh(vss);
86b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vuphh(<8 x i16> %{{.*}})
87b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vuphf(vsi);
88b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vuphf(<4 x i32> %{{.*}})
89b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
90b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vuplb(vsc);
91b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vuplb(<16 x i8> %{{.*}})
92b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vuplhw(vss);
93b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vuplhw(<8 x i16> %{{.*}})
94b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vuplf(vsi);
95b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vuplf(<4 x i32> %{{.*}})
96b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
97b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vuplhb(vuc);
98b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vuplhb(<16 x i8> %{{.*}})
99b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vuplhh(vus);
100b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vuplhh(<8 x i16> %{{.*}})
101b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vuplhf(vui);
102b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vuplhf(<4 x i32> %{{.*}})
103b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
104b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vupllb(vuc);
105b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vupllb(<16 x i8> %{{.*}})
106b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vupllh(vus);
107b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vupllh(<8 x i16> %{{.*}})
108b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vupllf(vui);
109b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vupllf(<4 x i32> %{{.*}})
110b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar}
111b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
112b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvoid test_integer(void) {
113b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vaq(vuc, vuc);
114b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vaq(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
115b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vacq(vuc, vuc, vuc);
116b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vacq(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}})
117b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vaccq(vuc, vuc);
118b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vaccq(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
119b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vacccq(vuc, vuc, vuc);
120b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vacccq(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}})
121b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
122b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vaccb(vuc, vuc);
123b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vaccb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
124b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vacch(vus, vus);
125b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vacch(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
126b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vaccf(vui, vui);
127b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vaccf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
128b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vaccg(vul, vul);
129b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vaccg(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
130b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
131b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vavgb(vsc, vsc);
132b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vavgb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
133b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vavgh(vss, vss);
134b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vavgh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
135b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vavgf(vsi, vsi);
136b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vavgf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
137b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vavgg(vsl, vsl);
138b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vavgg(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
139b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
140b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vavglb(vuc, vuc);
141b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vavglb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
142b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vavglh(vus, vus);
143b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vavglh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
144b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vavglf(vui, vui);
145b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vavglf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
146b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vavglg(vul, vul);
147b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vavglg(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
148b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
149b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vcksm(vui, vui);
150b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vcksm(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
151b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
152b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vclzb(vuc);
153b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.ctlz.v16i8(<16 x i8> %{{.*}}, i1 false)
154b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vclzh(vus);
155b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.ctlz.v8i16(<8 x i16> %{{.*}}, i1 false)
156b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vclzf(vui);
157b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.ctlz.v4i32(<4 x i32> %{{.*}}, i1 false)
158b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vclzg(vul);
159b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.ctlz.v2i64(<2 x i64> %{{.*}}, i1 false)
160b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
161b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vctzb(vuc);
162b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.cttz.v16i8(<16 x i8> %{{.*}}, i1 false)
163b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vctzh(vus);
164b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.cttz.v8i16(<8 x i16> %{{.*}}, i1 false)
165b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vctzf(vui);
166b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.cttz.v4i32(<4 x i32> %{{.*}}, i1 false)
167b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vctzg(vul);
168b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.cttz.v2i64(<2 x i64> %{{.*}}, i1 false)
169b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
170b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_verimb(vuc, vuc, vuc, 0);
171b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.verimb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 0)
172b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_verimb(vuc, vuc, vuc, 255);
173b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.verimb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 255)
174b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_verimh(vus, vus, vus, 0);
175b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.verimh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 0)
176b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_verimh(vus, vus, vus, 255);
177b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.verimh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 255)
178b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_verimf(vui, vui, vui, 0);
179b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.verimf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 0)
180b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_verimf(vui, vui, vui, 255);
181b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.verimf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 255)
182b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_verimg(vul, vul, vul, 0);
183b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.verimg(<2 x i64> %{{.*}}, <2 x i64> %{{.*}}, <2 x i64> %{{.*}}, i32 0)
184b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_verimg(vul, vul, vul, 255);
185b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.verimg(<2 x i64> %{{.*}}, <2 x i64> %{{.*}}, <2 x i64> %{{.*}}, i32 255)
186b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
187b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_verllb(vuc, len);
188b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.verllb(<16 x i8> %{{.*}}, i32 %{{.*}})
189b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_verllh(vus, len);
190b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.verllh(<8 x i16> %{{.*}}, i32 %{{.*}})
191b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_verllf(vui, len);
192b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.verllf(<4 x i32> %{{.*}}, i32 %{{.*}})
193b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_verllg(vul, len);
194b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.verllg(<2 x i64> %{{.*}}, i32 %{{.*}})
195b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
196b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_verllvb(vuc, vuc);
197b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.verllvb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
198b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_verllvh(vus, vus);
199b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.verllvh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
200b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_verllvf(vui, vui);
201b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.verllvf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
202b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_verllvg(vul, vul);
203b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.verllvg(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
204b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
205b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vgfmb(vuc, vuc);
206b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vgfmb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
207b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vgfmh(vus, vus);
208b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vgfmh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
209b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vgfmf(vui, vui);
210b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vgfmf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
211b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vgfmg(vul, vul);
212b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vgfmg(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
213b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
214b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vgfmab(vuc, vuc, vus);
215b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vgfmab(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <8 x i16> %{{.*}})
216b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vgfmah(vus, vus, vui);
217b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vgfmah(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <4 x i32> %{{.*}})
218b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vgfmaf(vui, vui, vul);
219b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vgfmaf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <2 x i64> %{{.*}})
220b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vgfmag(vul, vul, vuc);
221b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vgfmag(<2 x i64> %{{.*}}, <2 x i64> %{{.*}}, <16 x i8> %{{.*}})
222b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
223b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vmahb(vsc, vsc, vsc);
224b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vmahb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}})
225b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vmahh(vss, vss, vss);
226b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmahh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}})
227b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vmahf(vsi, vsi, vsi);
228b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmahf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}})
229b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vmalhb(vuc, vuc, vuc);
230b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vmalhb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}})
231b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vmalhh(vus, vus, vus);
232b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmalhh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}})
233b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vmalhf(vui, vui, vui);
234b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmalhf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}})
235b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
236b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vmaeb(vsc, vsc, vss);
237b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmaeb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <8 x i16> %{{.*}})
238b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vmaeh(vss, vss, vsi);
239b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmaeh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <4 x i32> %{{.*}})
240b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vmaef(vsi, vsi, vsl);
241b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vmaef(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <2 x i64> %{{.*}})
242b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vmaleb(vuc, vuc, vus);
243b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmaleb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <8 x i16> %{{.*}})
244b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vmaleh(vus, vus, vui);
245b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmaleh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <4 x i32> %{{.*}})
246b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vmalef(vui, vui, vul);
247b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vmalef(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <2 x i64> %{{.*}})
248b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
249b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vmaob(vsc, vsc, vss);
250b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmaob(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <8 x i16> %{{.*}})
251b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vmaoh(vss, vss, vsi);
252b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmaoh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <4 x i32> %{{.*}})
253b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vmaof(vsi, vsi, vsl);
254b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vmaof(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <2 x i64> %{{.*}})
255b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vmalob(vuc, vuc, vus);
256b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmalob(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <8 x i16> %{{.*}})
257b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vmaloh(vus, vus, vui);
258b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmaloh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <4 x i32> %{{.*}})
259b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vmalof(vui, vui, vul);
260b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vmalof(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <2 x i64> %{{.*}})
261b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
262b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vmhb(vsc, vsc);
263b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vmhb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
264b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vmhh(vss, vss);
265b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmhh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
266b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vmhf(vsi, vsi);
267b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmhf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
268b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vmlhb(vuc, vuc);
269b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vmlhb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
270b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vmlhh(vus, vus);
271b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmlhh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
272b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vmlhf(vui, vui);
273b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmlhf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
274b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
275b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vmeb(vsc, vsc);
276b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmeb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
277b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vmeh(vss, vss);
278b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmeh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
279b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vmef(vsi, vsi);
280b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vmef(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
281b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vmleb(vuc, vuc);
282b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmleb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
283b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vmleh(vus, vus);
284b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmleh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
285b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vmlef(vui, vui);
286b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vmlef(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
287b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
288b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vmob(vsc, vsc);
289b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmob(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
290b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vmoh(vss, vss);
291b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmoh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
292b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vmof(vsi, vsi);
293b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vmof(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
294b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vmlob(vuc, vuc);
295b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vmlob(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
296b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vmloh(vus, vus);
297b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vmloh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
298b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vmlof(vui, vui);
299b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vmlof(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
300b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
301b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vpopctb(vuc);
302b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.ctpop.v16i8(<16 x i8> %{{.*}})
303b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vpopcth(vus);
304b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.ctpop.v8i16(<8 x i16> %{{.*}})
305b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vpopctf(vui);
306b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.ctpop.v4i32(<4 x i32> %{{.*}})
307b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vpopctg(vul);
308b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %{{.*}})
309b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
310b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsq(vuc, vuc);
311b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsq(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
312b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsbiq(vuc, vuc, vuc);
313b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsbiq(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}})
314b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vscbiq(vuc, vuc);
315b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vscbiq(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
316b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsbcbiq(vuc, vuc, vuc);
317b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsbcbiq(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}})
318b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
319b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vscbib(vuc, vuc);
320b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vscbib(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
321b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vscbih(vus, vus);
322b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vscbih(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
323b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vscbif(vui, vui);
324b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vscbif(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
325b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vscbig(vul, vul);
326b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vscbig(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
327b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
328b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsldb(vuc, vuc, 0);
329b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsldb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 0)
330b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsldb(vuc, vuc, 15);
331b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsldb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 15)
332b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
333b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsl(vuc, vuc);
334b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsl(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
335b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vslb(vuc, vuc);
336b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vslb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
337b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
338b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsra(vuc, vuc);
339b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsra(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
340b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsrab(vuc, vuc);
341b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsrab(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
342b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
343b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsrl(vuc, vuc);
344b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsrl(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
345b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsrlb(vuc, vuc);
346b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsrlb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
347b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
348b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vsumb(vuc, vuc);
349b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vsumb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
350b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vsumh(vus, vus);
351b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vsumh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
352b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vsumgh(vus, vus);
353b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vsumgh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
354b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vul = __builtin_s390_vsumgf(vui, vui);
355b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x i64> @llvm.s390.vsumgf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
356b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsumqf(vui, vui);
357b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsumqf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
358b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vsumqg(vul, vul);
359b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vsumqg(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
360b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
361b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  len = __builtin_s390_vtm(vuc, vuc);
362b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call i32 @llvm.s390.vtm(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
363b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
364b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vceqbs(vsc, vsc, &cc);
365b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vceqbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
366b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vceqhs(vss, vss, &cc);
367b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vceqhs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
368b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vceqfs(vsi, vsi, &cc);
369b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vceqfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
370b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vceqgs(vsl, vsl, &cc);
371b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <2 x i64>, i32 } @llvm.s390.vceqgs(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
372b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
373b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vchbs(vsc, vsc, &cc);
374b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vchbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
375b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vchhs(vss, vss, &cc);
376b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vchhs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
377b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vchfs(vsi, vsi, &cc);
378b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vchfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
379b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vchgs(vsl, vsl, &cc);
380b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <2 x i64>, i32 } @llvm.s390.vchgs(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
381b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
382b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsc = __builtin_s390_vchlbs(vuc, vuc, &cc);
383b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vchlbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
384b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vss = __builtin_s390_vchlhs(vus, vus, &cc);
385b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vchlhs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
386b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsi = __builtin_s390_vchlfs(vui, vui, &cc);
387b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vchlfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
388b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vchlgs(vul, vul, &cc);
389b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <2 x i64>, i32 } @llvm.s390.vchlgs(<2 x i64> %{{.*}}, <2 x i64> %{{.*}})
390b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar}
391b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
392b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvoid test_string(void) {
393b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfaeb(vuc, vuc, 0);
394b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vfaeb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 0)
395b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfaeb(vuc, vuc, 15);
396b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vfaeb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 15)
397b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfaeh(vus, vus, 0);
398b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vfaeh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 0)
399b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfaeh(vus, vus, 15);
400b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vfaeh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 15)
401b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfaef(vui, vui, 0);
402b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vfaef(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 0)
403b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfaef(vui, vui, 15);
404b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vfaef(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 15)
405b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
406b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfaezb(vuc, vuc, 0);
407b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vfaezb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 0)
408b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfaezb(vuc, vuc, 15);
409b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vfaezb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 15)
410b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfaezh(vus, vus, 0);
411b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vfaezh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 0)
412b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfaezh(vus, vus, 15);
413b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vfaezh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 15)
414b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfaezf(vui, vui, 0);
415b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vfaezf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 0)
416b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfaezf(vui, vui, 15);
417b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vfaezf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 15)
418b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
419b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfeeb(vuc, vuc);
420b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vfeeb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
421b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfeeh(vus, vus);
422b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vfeeh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
423b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfeef(vui, vui);
424b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vfeef(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
425b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
426b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfeezb(vuc, vuc);
427b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vfeezb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
428b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfeezh(vus, vus);
429b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vfeezh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
430b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfeezf(vui, vui);
431b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vfeezf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
432b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
433b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfeneb(vuc, vuc);
434b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vfeneb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
435b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfeneh(vus, vus);
436b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vfeneh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
437b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfenef(vui, vui);
438b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vfenef(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
439b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
440b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfenezb(vuc, vuc);
441b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vfenezb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
442b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfenezh(vus, vus);
443b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vfenezh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
444b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfenezf(vui, vui);
445b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vfenezf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
446b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
447b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vistrb(vuc);
448b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vistrb(<16 x i8> %{{.*}})
449b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vistrh(vus);
450b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vistrh(<8 x i16> %{{.*}})
451b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vistrf(vui);
452b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vistrf(<4 x i32> %{{.*}})
453b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
454b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vstrcb(vuc, vuc, vuc, 0);
455b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vstrcb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 0)
456b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vstrcb(vuc, vuc, vuc, 15);
457b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vstrcb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 15)
458b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vstrch(vus, vus, vus, 0);
459b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vstrch(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 0)
460b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vstrch(vus, vus, vus, 15);
461b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vstrch(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 15)
462b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vstrcf(vui, vui, vui, 0);
463b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vstrcf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 0)
464b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vstrcf(vui, vui, vui, 15);
465b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vstrcf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 15)
466b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
467b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vstrczb(vuc, vuc, vuc, 0);
468b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vstrczb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 0)
469b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vstrczb(vuc, vuc, vuc, 15);
470b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <16 x i8> @llvm.s390.vstrczb(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 15)
471b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vstrczh(vus, vus, vus, 0);
472b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vstrczh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 0)
473b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vstrczh(vus, vus, vus, 15);
474b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <8 x i16> @llvm.s390.vstrczh(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 15)
475b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vstrczf(vui, vui, vui, 0);
476b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vstrczf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 0)
477b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vstrczf(vui, vui, vui, 15);
478b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <4 x i32> @llvm.s390.vstrczf(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 15)
479b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
480b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfaebs(vuc, vuc, 0, &cc);
481b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vfaebs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 0)
482b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfaebs(vuc, vuc, 15, &cc);
483b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vfaebs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 15)
484b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfaehs(vus, vus, 0, &cc);
485b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vfaehs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 0)
486b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfaehs(vus, vus, 15, &cc);
487b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vfaehs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 15)
488b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfaefs(vui, vui, 0, &cc);
489b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vfaefs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 0)
490b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfaefs(vui, vui, 15, &cc);
491b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vfaefs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 15)
492b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
493b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfaezbs(vuc, vuc, 0, &cc);
494b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vfaezbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 0)
495b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfaezbs(vuc, vuc, 15, &cc);
496b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vfaezbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 15)
497b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfaezhs(vus, vus, 0, &cc);
498b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vfaezhs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 0)
499b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfaezhs(vus, vus, 15, &cc);
500b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vfaezhs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 15)
501b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfaezfs(vui, vui, 0, &cc);
502b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vfaezfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 0)
503b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfaezfs(vui, vui, 15, &cc);
504b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vfaezfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 15)
505b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
506b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfeebs(vuc, vuc, &cc);
507b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vfeebs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
508b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfeehs(vus, vus, &cc);
509b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vfeehs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
510b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfeefs(vui, vui, &cc);
511b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vfeefs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
512b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
513b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfeezbs(vuc, vuc, &cc);
514b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vfeezbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
515b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfeezhs(vus, vus, &cc);
516b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vfeezhs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
517b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfeezfs(vui, vui, &cc);
518b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vfeezfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
519b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
520b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfenebs(vuc, vuc, &cc);
521b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vfenebs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
522b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfenehs(vus, vus, &cc);
523b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vfenehs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
524b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfenefs(vui, vui, &cc);
525b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vfenefs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
526b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
527b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vfenezbs(vuc, vuc, &cc);
528b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vfenezbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}})
529b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vfenezhs(vus, vus, &cc);
530b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vfenezhs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}})
531b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vfenezfs(vui, vui, &cc);
532b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vfenezfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}})
533b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
534b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vistrbs(vuc, &cc);
535b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vistrbs(<16 x i8> %{{.*}})
536b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vistrhs(vus, &cc);
537b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vistrhs(<8 x i16> %{{.*}})
538b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vistrfs(vui, &cc);
539b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vistrfs(<4 x i32> %{{.*}})
540b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
541b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vstrcbs(vuc, vuc, vuc, 0, &cc);
542b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vstrcbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 0)
543b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vstrcbs(vuc, vuc, vuc, 15, &cc);
544b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vstrcbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 15)
545b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vstrchs(vus, vus, vus, 0, &cc);
546b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vstrchs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 0)
547b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vstrchs(vus, vus, vus, 15, &cc);
548b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vstrchs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 15)
549b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vstrcfs(vui, vui, vui, 0, &cc);
550b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vstrcfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 0)
551b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vstrcfs(vui, vui, vui, 15, &cc);
552b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vstrcfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 15)
553b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
554b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vstrczbs(vuc, vuc, vuc, 0, &cc);
555b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vstrczbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 0)
556b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vuc = __builtin_s390_vstrczbs(vuc, vuc, vuc, 15, &cc);
557b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <16 x i8>, i32 } @llvm.s390.vstrczbs(<16 x i8> %{{.*}}, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}, i32 15)
558b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vstrczhs(vus, vus, vus, 0, &cc);
559b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vstrczhs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 0)
560b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vus = __builtin_s390_vstrczhs(vus, vus, vus, 15, &cc);
561b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <8 x i16>, i32 } @llvm.s390.vstrczhs(<8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, i32 15)
562b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vstrczfs(vui, vui, vui, 0, &cc);
563b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vstrczfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 0)
564b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vui = __builtin_s390_vstrczfs(vui, vui, vui, 15, &cc);
565b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <4 x i32>, i32 } @llvm.s390.vstrczfs(<4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, i32 15)
566b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar}
567b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
568b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainarvoid test_float(void) {
569b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vfcedbs(vd, vd, &cc);
570b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <2 x i64>, i32 } @llvm.s390.vfcedbs(<2 x double> %{{.*}}, <2 x double> %{{.*}})
571b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vfchdbs(vd, vd, &cc);
572b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <2 x i64>, i32 } @llvm.s390.vfchdbs(<2 x double> %{{.*}}, <2 x double> %{{.*}})
573b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vfchedbs(vd, vd, &cc);
574b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <2 x i64>, i32 } @llvm.s390.vfchedbs(<2 x double> %{{.*}}, <2 x double> %{{.*}})
575b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
576b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vftcidb(vd, 0, &cc);
577b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <2 x i64>, i32 } @llvm.s390.vftcidb(<2 x double> %{{.*}}, i32 0)
578b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vsl = __builtin_s390_vftcidb(vd, 4095, &cc);
579b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call { <2 x i64>, i32 } @llvm.s390.vftcidb(<2 x double> %{{.*}}, i32 4095)
580b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
581b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vfsqdb(vd);
582b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.sqrt.v2f64(<2 x double> %{{.*}})
583b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
584b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vfmadb(vd, vd, vd);
585b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.fma.v2f64(<2 x double> %{{.*}}, <2 x double> %{{.*}}, <2 x double> %{{.*}})
586b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vfmsdb(vd, vd, vd);
587b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: [[NEG:%[^ ]+]] = fsub <2 x double> <double -0.000000e+00, double -0.000000e+00>, %{{.*}}
588b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.fma.v2f64(<2 x double> %{{.*}}, <2 x double> %{{.*}}, <2 x double> [[NEG]])
589b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
590b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vflpdb(vd);
591b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.fabs.v2f64(<2 x double> %{{.*}})
592b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vflndb(vd);
593b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: [[ABS:%[^ ]+]] = call <2 x double> @llvm.fabs.v2f64(<2 x double> %{{.*}})
594b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: fsub <2 x double> <double -0.000000e+00, double -0.000000e+00>, [[ABS]]
595b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar
596b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vfidb(vd, 0, 0);
597b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.rint.v2f64(<2 x double> %{{.*}})
598b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vfidb(vd, 4, 0);
599b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.nearbyint.v2f64(<2 x double> %{{.*}})
600b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vfidb(vd, 4, 1);
601b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.round.v2f64(<2 x double> %{{.*}})
602b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vfidb(vd, 4, 5);
603b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.trunc.v2f64(<2 x double> %{{.*}})
604b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vfidb(vd, 4, 6);
605b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.ceil.v2f64(<2 x double> %{{.*}})
606b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vfidb(vd, 4, 7);
607b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.floor.v2f64(<2 x double> %{{.*}})
608b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  vd = __builtin_s390_vfidb(vd, 4, 4);
609b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar  // CHECK: call <2 x double> @llvm.s390.vfidb(<2 x double> %{{.*}}, i32 4, i32 4)
610b6d6993e6e6d3daf4d9876794254d20a134e37c2Pirama Arumuga Nainar}
611