Home
last modified time | relevance | path

Searched refs:GCN (Results 1 – 25 of 176) sorted by relevance

12345678

/external/llvm/test/CodeGen/AMDGPU/
Dload-global-i32.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN
2 …-mcpu=kaveri -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN-HSA -check…
3 … -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN-NOHSA -che…
8 ; GCN-NOHSA: buffer_load_dword v{{[0-9]+}}
9 ; GCN-HSA: flat_load_dword
20 ; GCN-NOHSA: buffer_load_dwordx2
21 ; GCN-HSA: flat_load_dwordx2
32 ; GCN-NOHSA: buffer_load_dwordx4
33 ; GCN-HSA: flat_load_dwordx4
44 ; GCN-NOHSA: buffer_load_dwordx4
[all …]
Dhalf.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=SI …
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec…
6 ; GCN-LABEL: {{^}}load_f16_arg:
7 ; GCN: s_load_dword [[ARG:s[0-9]+]]
8 ; GCN: v_cvt_f16_f32_e32 [[CVT:v[0-9]+]], [[ARG]]
9 ; GCN: buffer_store_short [[CVT]]
15 ; GCN-LABEL: {{^}}load_v2f16_arg:
16 ; GCN-DAG: buffer_load_ushort [[V0:v[0-9]+]], off, s{{\[[0-9]+:[0-9]+\]}}, 0 offset:44
17 ; GCN-DAG: buffer_load_ushort [[V1:v[0-9]+]], off, s{{\[[0-9]+:[0-9]+\]}}, 0 offset:46
18 ; GCN: v_lshlrev_b32_e32 [[HI:v[0-9]+]], 16, [[V1]]
[all …]
Dstore-v3i64.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=SI …
2 ; RUN: llc -march=amdgcn -mcpu=bonaire -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -ch…
3 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec…
5 ; GCN-LABEL: {{^}}global_store_v3i64:
6 ; GCN-DAG: buffer_store_dwordx2 v{{\[[0-9]+:[0-9]+\]}}, off, s{{\[[0-9]+:[0-9]+\]}}, 0 offset:16
7 ; GCN-DAG: buffer_store_dwordx4 v{{\[[0-9]+:[0-9]+\]}}, off, s{{\[[0-9]+:[0-9]+\]}}, 0{{$}}
13 ; GCN-LABEL: {{^}}global_store_v3i64_unaligned:
14 ; GCN: buffer_store_byte
15 ; GCN: buffer_store_byte
16 ; GCN: buffer_store_byte
[all …]
Dload-constant-i32.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN
2 …-mcpu=kaveri -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN-HSA -check…
3 … -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN-NOHSA -che…
7 ; GCN: s_load_dword s{{[0-9]+}}
18 ; GCN: s_load_dwordx2
29 ; GCN: s_load_dwordx4
40 ; GCN: s_load_dwordx4
51 ; GCN: s_load_dwordx8
63 ; GCN: s_load_dwordx16
77 ; GCN-DAG: s_load_dword s[[SLO:[0-9]+]],
[all …]
Dsdivrem64.ll1 ;RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck --check-prefix=SI --check-prefix=GCN
2 …ga -verify-machineinstrs < %s | FileCheck --check-prefix=VI --check-prefix=GCN --check-prefix=FUNC…
39 ; GCN: s_bfe_u32
40 ; GCN: s_bfe_u32
41 ; GCN: s_bfe_u32
42 ; GCN: s_bfe_u32
43 ; GCN: s_bfe_u32
44 ; GCN: s_bfe_u32
45 ; GCN: s_bfe_u32
46 ; GCN: s_bfe_u32
[all …]
Dudivrem64.ll1 ;RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck --check-prefix=SI --check-prefix=GCN
2 …ga -verify-machineinstrs < %s | FileCheck --check-prefix=VI --check-prefix=GCN --check-prefix=FUNC…
39 ;GCN: s_bfe_u32
40 ;GCN: s_bfe_u32
41 ;GCN: s_bfe_u32
42 ;GCN: s_bfe_u32
43 ;GCN: s_bfe_u32
44 ;GCN: s_bfe_u32
45 ;GCN: s_bfe_u32
46 ;GCN: s_bfe_u32
[all …]
Dbitreverse-inline-immediates.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
7 ; GCN-LABEL: {{^}}materialize_0_i32:
8 ; GCN: v_mov_b32_e32 [[K:v[0-9]+]], 0{{$}}
9 ; GCN: buffer_store_dword [[K]]
15 ; GCN-LABEL: {{^}}materialize_0_i64:
16 ; GCN: v_mov_b32_e32 v[[LOK:[0-9]+]], 0{{$}}
17 ; GCN: v_mov_b32_e32 v[[HIK:[0-9]+]], v[[LOK]]{{$}}
18 ; GCN: buffer_store_dwordx2 v{{\[}}[[LOK]]:[[HIK]]{{\]}}
24 ; GCN-LABEL: {{^}}materialize_neg1_i32:
25 ; GCN: v_mov_b32_e32 [[K:v[0-9]+]], -1{{$}}
[all …]
Dfcanonicalize.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
6 ; GCN-LABEL: {{^}}v_test_canonicalize_var_f32:
7 ; GCN: v_mul_f32_e32 [[REG:v[0-9]+]], 1.0, {{v[0-9]+}}
8 ; GCN: buffer_store_dword [[REG]]
16 ; GCN-LABEL: {{^}}s_test_canonicalize_var_f32:
17 ; GCN: v_mul_f32_e64 [[REG:v[0-9]+]], 1.0, {{s[0-9]+}}
18 ; GCN: buffer_store_dword [[REG]]
25 ; GCN-LABEL: {{^}}test_fold_canonicalize_p0_f32:
26 ; GCN: v_mov_b32_e32 [[REG:v[0-9]+]], 0{{$}}
27 ; GCN: buffer_store_dword [[REG]]
[all …]
Dlocal-atomics64.ll1 …gcn -verify-machineinstrs < %s | FileCheck -strict-whitespace -check-prefix=SI -check-prefix=GCN %s
2 …nga -verify-machineinstrs < %s | FileCheck -strict-whitespace -check-prefix=VI -check-prefix=GCN %s
4 ; GCN-LABEL: {{^}}lds_atomic_xchg_ret_i64:
5 ; GCN: ds_wrxchg_rtn_b64
6 ; GCN: s_endpgm
13 ; GCN-LABEL: {{^}}lds_atomic_xchg_ret_i64_offset:
14 ; GCN: ds_wrxchg_rtn_b64 {{.*}} offset:32
15 ; GCN: s_endpgm
23 ; GCN-LABEL: {{^}}lds_atomic_add_ret_i64:
24 ; GCN: ds_add_rtn_u64
[all …]
Dinsert_vector_elt.ll1 …h=amdgcn -mattr=+max-private-element-size-16 < %s | FileCheck -check-prefix=GCN -check-prefix=SI %s
2 …pu=tonga -mattr=+max-private-element-size-16 < %s | FileCheck -check-prefix=GCN -check-prefix=SI %s
12 ; GCN-LABEL: {{^}}insertelement_v4f32_0:
13 ; GCN: s_load_dwordx4
14 ; GCN-DAG: v_mov_b32_e32 v{{[0-9]+}}, s{{[0-9]+}}
15 ; GCN-DAG: v_mov_b32_e32 v{{[0-9]+}}, s{{[0-9]+}}
16 ; GCN-DAG: v_mov_b32_e32 v{{[0-9]+}}, s{{[0-9]+}}
17 ; GCN-DAG: v_mov_b32_e32 v{{[0-9]+}}, s{{[0-9]+}}
18 ; GCN-DAG: v_mov_b32_e32 [[CONSTREG:v[0-9]+]], 0x40a00000
19 ; GCN-DAG: v_mov_b32_e32 v[[LOW_REG:[0-9]+]], [[CONSTREG]]
[all …]
Duse-sgpr-multiple-times.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN
2 …rch=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=GCN %s
10 ; GCN-LABEL: {{^}}test_sgpr_use_twice_binop:
11 ; GCN: s_load_dword [[SGPR:s[0-9]+]],
12 ; GCN: v_add_f32_e64 [[RESULT:v[0-9]+]], [[SGPR]], [[SGPR]]
13 ; GCN: buffer_store_dword [[RESULT]]
20 ; GCN-LABEL: {{^}}test_sgpr_use_three_ternary_op:
21 ; GCN: s_load_dword [[SGPR:s[0-9]+]],
22 ; GCN: v_fma_f32 [[RESULT:v[0-9]+]], [[SGPR]], [[SGPR]], [[SGPR]]
23 ; GCN: buffer_store_dword [[RESULT]]
[all …]
Dsalu-to-valu.ll1 …-mcpu=tahiti -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN-NOHSA -che…
2 …mcpu=bonaire -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN-NOHSA -che…
3 …ire -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=CI --check-prefix=GCN-H…
15 ; GCN-LABEL: {{^}}mubuf:
18 ; GCN-NOT: s_mov_b64 s[{{[0-9]+:[0-9]+}}], v
22 ; GCN-NOHSA: buffer_load_ubyte v{{[0-9]+}}, v[{{[0-9]+:[0-9]+}}], s[{{[0-9]+:[0-9]+}}], 0 addr64
23 ; GCN-NOHSA: buffer_load_ubyte v{{[0-9]+}}, v[{{[0-9]+:[0-9]+}}], s[{{[0-9]+:[0-9]+}}], 0 addr64
24 ; GCN-HSA: flat_load_ubyte v{{[0-9]+}}, v[{{[0-9]+:[0-9]+}}
25 ; GCN-HSA: flat_load_ubyte v{{[0-9]+}}, v[{{[0-9]+:[0-9]+}}
56 ; GCN-LABEL: {{^}}smrd_valu:
[all …]
Dload-global-f64.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN
2 …-mcpu=kaveri -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN-HSA -check…
3 … -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN-NOHSA -che…
6 ; GCN-NOHSA: buffer_load_dwordx2 [[VAL:v\[[0-9]+:[0-9]+\]]]
7 ; GCN-NOHSA: buffer_store_dwordx2 [[VAL]]
9 ; GCN-HSA: flat_load_dwordx2 [[VAL:v\[[0-9]+:[0-9]+\]]]
10 ; GCN-HSA: flat_store_dwordx2 {{v\[[0-9]+:[0-9]+\]}}, [[VAL]]
18 ; GCN-NOHSA: buffer_load_dwordx4
19 ; GCN-HSA: flat_load_dwordx4
28 ; GCN-NOHSA: buffer_load_dwordx4
[all …]
Dret.ll1 ; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
6 ; GCN-LABEL: {{^}}vgpr:
7 ; GCN: v_mov_b32_e32 v1, v0
8 ; GCN-DAG: v_add_f32_e32 v0, 1.0, v1
9 ; GCN-DAG: exp 15, 0, 1, 1, 1, v1, v1, v1, v1
10 ; GCN: s_waitcnt expcnt(0)
11 ; GCN-NOT: s_endpgm
20 ; GCN-LABEL: {{^}}vgpr_literal:
21 ; GCN: exp 15, 0, 1, 1, 1, v0, v0, v0, v0
[all …]
Dcaptured-frame-index.ll1 …n -mattr=-promote-alloca -amdgpu-sroa=0 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
3 ; GCN-LABEL: {{^}}stored_fi_to_lds:
4 ; GCN: s_load_dword [[LDSPTR:s[0-9]+]]
5 ; GCN: v_mov_b32_e32 [[ZERO1:v[0-9]+]], 0{{$}}
6 ; GCN: buffer_store_dword v{{[0-9]+}}, [[ZERO1]]
7 ; GCN: v_mov_b32_e32 [[ZERO0:v[0-9]+]], 0{{$}}
8 ; GCN: v_mov_b32_e32 [[VLDSPTR:v[0-9]+]], [[LDSPTR]]
9 ; GCN: ds_write_b32 [[VLDSPTR]], [[ZERO0]]
18 ; GCN-LABEL: {{^}}stored_fi_to_lds_2_small_objects:
19 ; GCN-DAG: v_mov_b32_e32 [[ZERO:v[0-9]+]], 0{{$}}
[all …]
Dshift-i64-opts.ll1 ; RUN: llc -march=amdgcn -mcpu=tahiti < %s | FileCheck -check-prefix=FAST64 -check-prefix=GCN %s
2 ; RUN: llc -march=amdgcn -mcpu=bonaire < %s | FileCheck -check-prefix=SLOW64 -check-prefix=GCN %s
6 ; GCN-LABEL: {{^}}lshr_i64_35:
7 ; GCN-DAG: buffer_load_dword [[VAL:v[0-9]+]]
8 ; GCN-DAG: v_lshrrev_b32_e32 v[[LO:[0-9]+]], 3, [[VAL]]
9 ; GCN-DAG: v_mov_b32_e32 v[[HI:[0-9]+]], 0{{$}}
10 ; GCN: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]{{\]}}
18 ; GCN-LABEL: {{^}}lshr_i64_63:
19 ; GCN-DAG: buffer_load_dword [[VAL:v[0-9]+]]
20 ; GCN-DAG: v_lshrrev_b32_e32 v[[LO:[0-9]+]], 31, [[VAL]]
[all …]
Dload-global-i64.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN
2 …-mcpu=kaveri -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN-HSA -check…
3 … -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=GCN-NOHSA -che…
9 ; GCN-NOHSA: buffer_load_dwordx2 [[VAL:v\[[0-9]+:[0-9]+\]]]
10 ; GCN-NOHSA: buffer_store_dwordx2 [[VAL]]
12 ; GCN-HSA: flat_load_dwordx2 [[VAL:v\[[0-9]+:[0-9]+\]]]
13 ; GCN-HSA: flat_store_dwordx2 {{v\[[0-9]+:[0-9]+\]}}, [[VAL]]
23 ; GCN-NOHSA: buffer_load_dwordx4
24 ; GCN-HSA: flat_load_dwordx4
35 ; GCN-NOHSA: buffer_load_dwordx4
[all …]
Dextract_vector_elt-i8.ll5 ; GCN: buffer_load_ubyte
6 ; GCN: buffer_store_byte
14 ; GCN: buffer_load_ubyte
15 ; GCN: buffer_load_ubyte
16 ; GCN: buffer_store_byte
17 ; GCN: buffer_store_byte
28 ; GCN: buffer_load_ubyte
29 ; GCN: buffer_load_ubyte
30 ; GCN: buffer_store_byte
31 ; GCN: buffer_store_byte
[all …]
Dsetcc-opt.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN
2 …onga -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=GCN -check-prefix=FUNC …
6 ; GCN-NOT: v_cmp
7 ; GCN: v_cmp_ne_i32_e32 vcc,
8 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
9 ; GCN-NEXT:buffer_store_byte [[RESULT]]
10 ; GCN-NEXT: s_endpgm
23 ; GCN-NOT: v_cmp
24 ; GCN: v_cmp_ne_i32_e32 vcc,
25 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
[all …]
Dctpop.ll1 ; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-p…
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec…
12 ; GCN: s_load_dword [[SVAL:s[0-9]+]],
13 ; GCN: s_bcnt1_i32_b32 [[SRESULT:s[0-9]+]], [[SVAL]]
14 ; GCN: v_mov_b32_e32 [[VRESULT:v[0-9]+]], [[SRESULT]]
15 ; GCN: buffer_store_dword [[VRESULT]],
16 ; GCN: s_endpgm
27 ; GCN: buffer_load_dword [[VAL:v[0-9]+]],
28 ; GCN: v_bcnt_u32_b32_e64 [[RESULT:v[0-9]+]], [[VAL]], 0
29 ; GCN: buffer_store_dword [[RESULT]],
[all …]
Dsign_extend.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=SI …
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec…
4 ; GCN-LABEL: {{^}}s_sext_i1_to_i32:
5 ; GCN: v_cndmask_b32_e64
6 ; GCN: s_endpgm
14 ; GCN-LABEL: {{^}}test_s_sext_i32_to_i64:
15 ; GCN: s_ashr_i32
16 ; GCN: s_endpg
26 ; GCN-LABEL: {{^}}s_sext_i1_to_i64:
27 ; GCN: v_cndmask_b32_e64 v[[LOREG:[0-9]+]], 0, -1, vcc
[all …]
Dextract_vector_elt-i16.ll5 ; GCN: buffer_load_ushort
6 ; GCN: buffer_load_ushort
7 ; GCN: buffer_store_short
8 ; GCN: buffer_store_short
19 ; GCN: buffer_load_ushort
20 ; GCN: buffer_store_short
21 ; GCN: buffer_store_short
32 ; GCN: buffer_load_ushort
33 ; GCN: buffer_load_ushort
34 ; GCN: buffer_store_short
[all …]
Dmerge-stores.ll1 …-verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=GCN-NOAA %s
2 …-verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=GCN-NOAA %s
4 …combiner-alias-analysis < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=GCN-AA %s
5 …combiner-alias-analysis < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=GCN-AA %s
14 ; GCN-LABEL: {{^}}merge_global_store_2_constants_i8:
15 ; GCN: buffer_store_byte
16 ; GCN: buffer_store_byte
17 ; GCN: s_endpgm
26 ; GCN-LABEL: {{^}}merge_global_store_2_constants_i8_natural_align:
27 ; GCN: buffer_store_byte
[all …]
Dflat_atomics_i64.ll1 ; RUN: llc -march=amdgcn -mcpu=bonaire -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
4 ; GCN-LABEL: {{^}}atomic_add_i64_offset:
5 ; GCN: flat_atomic_add_x2 v[{{[0-9]+:[0-9]+}}], v{{\[[0-9]+:[0-9]+\]}}{{$}}
13 ; GCN-LABEL: {{^}}atomic_add_i64_ret_offset:
14 ; GCN: flat_atomic_add_x2 [[RET:v\[[0-9]+:[0-9]+\]]], v[{{[0-9]+:[0-9]+}}], v{{\[[0-9]+:[0-9]+\]}} …
15 ; GCN: flat_store_dwordx2 v{{\[[0-9]+:[0-9]+\]}}, [[RET]]
24 ; GCN-LABEL: {{^}}atomic_add_i64_addr64_offset:
25 ; GCN: flat_atomic_add_x2 v[{{[0-9]+:[0-9]+}}], v{{\[[0-9]+:[0-9]+\]}}{{$}}
34 ; GCN-LABEL: {{^}}atomic_add_i64_ret_addr64_offset:
[all …]
/external/llvm/test/MC/Disassembler/AMDGPU/
Dsopp_vi.txt1 … llvm-mc -arch=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck %s -check-prefix=GCN
3 # GCN: s_nop 0 ; encoding: [0x00,0x00,0x80,0xbf]
6 # GCN: s_nop 0xffff ; encoding: [0xff,0xff,0x80,0xbf]
9 # GCN: s_nop 1 ; encoding: [0x01,0x00,0x80,0xbf]
12 # GCN: s_endpgm ; encoding: [0x00,0x00,0x81,0xbf]
15 # GCN: s_branch 2 ; encoding: [0x02,0x00,0x82,0xbf]
18 # GCN: s_cbranch_scc0 3 ; encoding: [0x03,0x00,0x84,0xbf]
21 # GCN: s_cbranch_scc1 4 ; encoding: [0x04,0x00,0x85,0xbf]
24 # GCN: s_cbranch_vccz 5 ; encoding: [0x05,0x00,0x86,0xbf]
27 # GCN: s_cbranch_vccnz 6 ; encoding: [0x06,0x00,0x87,0xbf]
[all …]

12345678