55define void @orn_v32i8 (ptr %res , ptr %a0 , ptr %a1 ) nounwind {
66; CHECK-LABEL: orn_v32i8:
77; CHECK: # %bb.0: # %entry
8- ; CHECK-NEXT: xvld $xr0, $a2, 0
9- ; CHECK-NEXT: xvld $xr1, $a1, 0
10- ; CHECK-NEXT: xvxori.b $xr0, $xr0, 255
11- ; CHECK-NEXT: xvor.v $xr0, $xr1, $xr0
8+ ; CHECK-NEXT: xvld $xr0, $a1, 0
9+ ; CHECK-NEXT: xvld $xr1, $a2, 0
10+ ; CHECK-NEXT: xvorn.v $xr0, $xr0, $xr1
1211; CHECK-NEXT: xvst $xr0, $a0, 0
1312; CHECK-NEXT: ret
1413entry:
@@ -23,11 +22,9 @@ entry:
2322define void @orn_v16i16 (ptr %res , ptr %a0 , ptr %a1 ) nounwind {
2423; CHECK-LABEL: orn_v16i16:
2524; CHECK: # %bb.0: # %entry
26- ; CHECK-NEXT: xvld $xr0, $a2, 0
27- ; CHECK-NEXT: xvld $xr1, $a1, 0
28- ; CHECK-NEXT: xvrepli.b $xr2, -1
29- ; CHECK-NEXT: xvxor.v $xr0, $xr0, $xr2
30- ; CHECK-NEXT: xvor.v $xr0, $xr1, $xr0
25+ ; CHECK-NEXT: xvld $xr0, $a1, 0
26+ ; CHECK-NEXT: xvld $xr1, $a2, 0
27+ ; CHECK-NEXT: xvorn.v $xr0, $xr0, $xr1
3128; CHECK-NEXT: xvst $xr0, $a0, 0
3229; CHECK-NEXT: ret
3330entry:
@@ -42,11 +39,9 @@ entry:
4239define void @orn_v8i32 (ptr %res , ptr %a0 , ptr %a1 ) nounwind {
4340; CHECK-LABEL: orn_v8i32:
4441; CHECK: # %bb.0: # %entry
45- ; CHECK-NEXT: xvld $xr0, $a2, 0
46- ; CHECK-NEXT: xvld $xr1, $a1, 0
47- ; CHECK-NEXT: xvrepli.b $xr2, -1
48- ; CHECK-NEXT: xvxor.v $xr0, $xr0, $xr2
49- ; CHECK-NEXT: xvor.v $xr0, $xr1, $xr0
42+ ; CHECK-NEXT: xvld $xr0, $a1, 0
43+ ; CHECK-NEXT: xvld $xr1, $a2, 0
44+ ; CHECK-NEXT: xvorn.v $xr0, $xr0, $xr1
5045; CHECK-NEXT: xvst $xr0, $a0, 0
5146; CHECK-NEXT: ret
5247entry:
@@ -61,11 +56,9 @@ entry:
6156define void @orn_v4i64 (ptr %res , ptr %a0 , ptr %a1 ) nounwind {
6257; CHECK-LABEL: orn_v4i64:
6358; CHECK: # %bb.0: # %entry
64- ; CHECK-NEXT: xvld $xr0, $a2, 0
65- ; CHECK-NEXT: xvld $xr1, $a1, 0
66- ; CHECK-NEXT: xvrepli.b $xr2, -1
67- ; CHECK-NEXT: xvxor.v $xr0, $xr0, $xr2
68- ; CHECK-NEXT: xvor.v $xr0, $xr1, $xr0
59+ ; CHECK-NEXT: xvld $xr0, $a1, 0
60+ ; CHECK-NEXT: xvld $xr1, $a2, 0
61+ ; CHECK-NEXT: xvorn.v $xr0, $xr0, $xr1
6962; CHECK-NEXT: xvst $xr0, $a0, 0
7063; CHECK-NEXT: ret
7164entry:
0 commit comments