1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=ve -mattr=+vpu | FileCheck %s
4 ; Function Attrs: nounwind
5 define fastcc <512 x i1> @and_mm_v512i1(<512 x i1> %x, <512 x i1> %y) {
6 ; CHECK-LABEL: and_mm_v512i1:
8 ; CHECK-NEXT: andm %vm6, %vm2, %vm4
9 ; CHECK-NEXT: andm %vm7, %vm3, %vm5
10 ; CHECK-NEXT: andm %vm2, %vm0, %vm6
11 ; CHECK-NEXT: andm %vm3, %vm0, %vm7
12 ; CHECK-NEXT: b.l.t (, %s10)
13 %z = and <512 x i1> %x, %y
17 ; Function Attrs: nounwind
18 define fastcc <512 x i1> @or_mm_v512i1(<512 x i1> %x, <512 x i1> %y) {
19 ; CHECK-LABEL: or_mm_v512i1:
21 ; CHECK-NEXT: orm %vm6, %vm2, %vm4
22 ; CHECK-NEXT: orm %vm7, %vm3, %vm5
23 ; CHECK-NEXT: andm %vm2, %vm0, %vm6
24 ; CHECK-NEXT: andm %vm3, %vm0, %vm7
25 ; CHECK-NEXT: b.l.t (, %s10)
26 %z = or <512 x i1> %x, %y
30 ; Function Attrs: nounwind
31 define fastcc <512 x i1> @xor_mm_v512i1(<512 x i1> %x, <512 x i1> %y) {
32 ; CHECK-LABEL: xor_mm_v512i1:
34 ; CHECK-NEXT: xorm %vm6, %vm2, %vm4
35 ; CHECK-NEXT: xorm %vm7, %vm3, %vm5
36 ; CHECK-NEXT: andm %vm2, %vm0, %vm6
37 ; CHECK-NEXT: andm %vm3, %vm0, %vm7
38 ; CHECK-NEXT: b.l.t (, %s10)
39 %z = xor <512 x i1> %x, %y