1 ; RUN: llc -march=amdgcn -mcpu=tahiti -mattr=-flat-for-global -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
3 ; SI-LABEL: {{^}}s_or_to_orn2:
4 ; SI: s_orn2_b32 s{{[0-9]+}}, s{{[0-9]+}}, 50
5 define amdgpu_kernel void @s_or_to_orn2(i32 addrspace(1)* %out, i32 %in) {
7 store i32 %x, i32 addrspace(1)* %out
11 ; SI-LABEL: {{^}}s_or_to_orn2_imm0:
12 ; SI: s_orn2_b32 s{{[0-9]+}}, s{{[0-9]+}}, 50
13 define amdgpu_kernel void @s_or_to_orn2_imm0(i32 addrspace(1)* %out, i32 %in) {
15 store i32 %x, i32 addrspace(1)* %out
19 ; SI-LABEL: {{^}}s_and_to_andn2:
20 ; SI: s_andn2_b32 s{{[0-9]+}}, s{{[0-9]+}}, 50
21 define amdgpu_kernel void @s_and_to_andn2(i32 addrspace(1)* %out, i32 %in) {
23 store i32 %x, i32 addrspace(1)* %out
27 ; SI-LABEL: {{^}}s_and_to_andn2_imm0:
28 ; SI: s_andn2_b32 s{{[0-9]+}}, s{{[0-9]+}}, 50
29 define amdgpu_kernel void @s_and_to_andn2_imm0(i32 addrspace(1)* %out, i32 %in) {
31 store i32 %x, i32 addrspace(1)* %out
35 ; SI-LABEL: {{^}}s_xor_to_xnor:
36 ; SI: s_xnor_b32 s{{[0-9]+}}, s{{[0-9]+}}, 50
37 define amdgpu_kernel void @s_xor_to_xnor(i32 addrspace(1)* %out, i32 %in) {
39 store i32 %x, i32 addrspace(1)* %out
43 ; SI-LABEL: {{^}}s_xor_to_xnor_imm0:
44 ; SI: s_xnor_b32 s{{[0-9]+}}, s{{[0-9]+}}, 50
45 define amdgpu_kernel void @s_xor_to_xnor_imm0(i32 addrspace(1)* %out, i32 %in) {
47 store i32 %x, i32 addrspace(1)* %out