1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512vl | FileCheck %s
5 ; CHECK-LABEL: vpandd256
8 define <8 x i32> @vpandd256(<8 x i32> %a, <8 x i32> %b) nounwind uwtable readnone ssp {
10 ; Force the execution domain with an add.
11 %a2 = add <8 x i32> %a, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>
12 %x = and <8 x i32> %a2, %b
16 ; CHECK-LABEL: vpord256
19 define <8 x i32> @vpord256(<8 x i32> %a, <8 x i32> %b) nounwind uwtable readnone ssp {
21 ; Force the execution domain with an add.
22 %a2 = add <8 x i32> %a, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>
23 %x = or <8 x i32> %a2, %b
27 ; CHECK-LABEL: vpxord256
30 define <8 x i32> @vpxord256(<8 x i32> %a, <8 x i32> %b) nounwind uwtable readnone ssp {
32 ; Force the execution domain with an add.
33 %a2 = add <8 x i32> %a, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>
34 %x = xor <8 x i32> %a2, %b
38 ; CHECK-LABEL: vpandq256
41 define <4 x i64> @vpandq256(<4 x i64> %a, <4 x i64> %b) nounwind uwtable readnone ssp {
43 ; Force the execution domain with an add.
44 %a2 = add <4 x i64> %a, <i64 1, i64 1, i64 1, i64 1>
45 %x = and <4 x i64> %a2, %b
49 ; CHECK-LABEL: vporq256
52 define <4 x i64> @vporq256(<4 x i64> %a, <4 x i64> %b) nounwind uwtable readnone ssp {
54 ; Force the execution domain with an add.
55 %a2 = add <4 x i64> %a, <i64 1, i64 1, i64 1, i64 1>
56 %x = or <4 x i64> %a2, %b
60 ; CHECK-LABEL: vpxorq256
63 define <4 x i64> @vpxorq256(<4 x i64> %a, <4 x i64> %b) nounwind uwtable readnone ssp {
65 ; Force the execution domain with an add.
66 %a2 = add <4 x i64> %a, <i64 1, i64 1, i64 1, i64 1>
67 %x = xor <4 x i64> %a2, %b
73 ; CHECK-LABEL: vpandd128
76 define <4 x i32> @vpandd128(<4 x i32> %a, <4 x i32> %b) nounwind uwtable readnone ssp {
78 ; Force the execution domain with an add.
79 %a2 = add <4 x i32> %a, <i32 1, i32 1, i32 1, i32 1>
80 %x = and <4 x i32> %a2, %b
84 ; CHECK-LABEL: vpord128
87 define <4 x i32> @vpord128(<4 x i32> %a, <4 x i32> %b) nounwind uwtable readnone ssp {
89 ; Force the execution domain with an add.
90 %a2 = add <4 x i32> %a, <i32 1, i32 1, i32 1, i32 1>
91 %x = or <4 x i32> %a2, %b
95 ; CHECK-LABEL: vpxord128
98 define <4 x i32> @vpxord128(<4 x i32> %a, <4 x i32> %b) nounwind uwtable readnone ssp {
100 ; Force the execution domain with an add.
101 %a2 = add <4 x i32> %a, <i32 1, i32 1, i32 1, i32 1>
102 %x = xor <4 x i32> %a2, %b
106 ; CHECK-LABEL: vpandq128
109 define <2 x i64> @vpandq128(<2 x i64> %a, <2 x i64> %b) nounwind uwtable readnone ssp {
111 ; Force the execution domain with an add.
112 %a2 = add <2 x i64> %a, <i64 1, i64 1>
113 %x = and <2 x i64> %a2, %b
117 ; CHECK-LABEL: vporq128
120 define <2 x i64> @vporq128(<2 x i64> %a, <2 x i64> %b) nounwind uwtable readnone ssp {
122 ; Force the execution domain with an add.
123 %a2 = add <2 x i64> %a, <i64 1, i64 1>
124 %x = or <2 x i64> %a2, %b
128 ; CHECK-LABEL: vpxorq128
131 define <2 x i64> @vpxorq128(<2 x i64> %a, <2 x i64> %b) nounwind uwtable readnone ssp {
133 ; Force the execution domain with an add.
134 %a2 = add <2 x i64> %a, <i64 1, i64 1>
135 %x = xor <2 x i64> %a2, %b