3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s
6 define <4 x i32> @f1(<4 x i32> %val1, <4 x i32> %val2) {
8 ; CHECK: vmxf %v24, {{%v24, %v26|%v26, %v24}}
10 %cmp = icmp slt <4 x i32> %val1, %val2
11 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1
16 define <4 x i32> @f2(<4 x i32> %val1, <4 x i32> %val2) {
18 ; CHECK: vmxf %v24, {{%v24, %v26|%v26, %v24}}
20 %cmp = icmp sle <4 x i32> %val1, %val2
21 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1
26 define <4 x i32> @f3(<4 x i32> %val1, <4 x i32> %val2) {
28 ; CHECK: vmxf %v24, {{%v24, %v26|%v26, %v24}}
30 %cmp = icmp sgt <4 x i32> %val1, %val2
31 %ret = select <4 x i1> %cmp, <4 x i32> %val1, <4 x i32> %val2
36 define <4 x i32> @f4(<4 x i32> %val1, <4 x i32> %val2) {
38 ; CHECK: vmxf %v24, {{%v24, %v26|%v26, %v24}}
40 %cmp = icmp sge <4 x i32> %val1, %val2
41 %ret = select <4 x i1> %cmp, <4 x i32> %val1, <4 x i32> %val2
46 define <4 x i32> @f5(<4 x i32> %val1, <4 x i32> %val2) {
48 ; CHECK: vmxlf %v24, {{%v24, %v26|%v26, %v24}}
50 %cmp = icmp ult <4 x i32> %val1, %val2
51 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1
56 define <4 x i32> @f6(<4 x i32> %val1, <4 x i32> %val2) {
58 ; CHECK: vmxlf %v24, {{%v24, %v26|%v26, %v24}}
60 %cmp = icmp ule <4 x i32> %val1, %val2
61 %ret = select <4 x i1> %cmp, <4 x i32> %val2, <4 x i32> %val1
66 define <4 x i32> @f7(<4 x i32> %val1, <4 x i32> %val2) {
68 ; CHECK: vmxlf %v24, {{%v24, %v26|%v26, %v24}}
70 %cmp = icmp ugt <4 x i32> %val1, %val2
71 %ret = select <4 x i1> %cmp, <4 x i32> %val1, <4 x i32> %val2
76 define <4 x i32> @f8(<4 x i32> %val1, <4 x i32> %val2) {
78 ; CHECK: vmxlf %v24, {{%v24, %v26|%v26, %v24}}
80 %cmp = icmp uge <4 x i32> %val1, %val2
81 %ret = select <4 x i1> %cmp, <4 x i32> %val1, <4 x i32> %val2