/external/llvm-project/llvm/test/MC/AMDGPU/ |
D | mimg.s | 19 image_load v[4:6], v[237:240], s[28:35] dmask:0x7 unorm 34 image_load v[4:7], v[237:240], s[28:35] dmask:0x7 tfe 39 image_load v[5:6], v[1:4], s[8:15] dmask:0x1 unorm glc slc r128 tfe lwe da d16 52 image_store v[193:195], v[237:240], s[28:35] dmask:0x7 unorm 72 image_store v5, v[1:4], s[8:15] dmask:0x1 unorm glc slc r128 lwe da d16 90 image_load v[5:6], v[1:4], s[8:15] dmask:0x3 d16 96 image_load v[5:7], v[1:4], s[8:15] dmask:0x7 d16 102 image_load v[5:8], v[1:4], s[8:15] dmask:0xf d16 108 image_load v[5:7], v[1:4], s[8:15] dmask:0x3 tfe d16 114 image_load v[5:8], v[1:4], s[8:15] dmask:0x7 tfe d16 [all …]
|
D | gfx10_asm_mimg.s | 3 image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm 4 ; GFX10: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x1f,0x… 6 image_load v[1:4], [v2, v3], s[4:11] dmask:0xf dim:SQ_RSRC_IMG_2D unorm 7 ; GFX10: image_load v[1:4], [v2, v3], s[4:11] dmask:0xf dim:SQ_RSRC_IMG_2D unorm ; encoding: [0x0a,… 9 image_load v[0:3], [v4, v5, v6], s[8:15] dmask:0xf dim:SQ_RSRC_IMG_3D unorm 10 ; GFX10: image_load v[0:3], [v4, v5, v6], s[8:15] dmask:0xf dim:SQ_RSRC_IMG_3D unorm ; encoding: [0… 12 image_load v[0:3], [v4, v5, v6], s[8:15] dmask:0xf dim:SQ_RSRC_IMG_CUBE unorm 13 ; GFX10: image_load v[0:3], [v4, v5, v6], s[8:15] dmask:0xf dim:SQ_RSRC_IMG_CUBE unorm ; encoding: … 15 image_load v[0:3], [v4, v5], s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY unorm 16 ; GFX10: image_load v[0:3], [v4, v5], s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY unorm ; encoding: … [all …]
|
D | mimg-err.s | 9 image_load v[4:6], v[237:240], s[28:35] dmask:0x7 tfe 12 image_load v[4:5], v[237:240], s[28:35] dmask:0x7 15 image_store v[4:7], v[237:240], s[28:35] dmask:0x7 18 image_store v[4:7], v[237:240], s[28:35] dmask:0xe 28 image_sample v[193:195], v[237:240], s[28:35], s[4:7] dmask:0x7 tfe 31 image_sample v[193:195], v[237:240], s[28:35], s[4:7] dmask:0x3 34 image_sample v[193:195], v[237:240], s[28:35], s[4:7] dmask:0xf 41 image_atomic_add v252, v2, s[8:15] dmask:0x1 tfe 44 image_atomic_add v[6:7], v255, s[8:15] dmask:0x2 47 image_atomic_add v[6:7], v255, s[8:15] dmask:0xf [all …]
|
D | gfx10_asm_mimg_err.s | 4 image_load v[0:3], v0, s[0:7] dmask:0xf unorm 7 image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D da 10 image_load_pck v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D d16 13 image_load v[0:1], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D 16 image_load v[0:3], v[0:1], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D 19 image_load_mip v[0:3], v[0:2], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_CUBE 22 image_sample_d v[0:3], [v0, v1, v2, v3, v4], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY 25 image_sample_b_cl v[0:3], v[0:3], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_CUBE 28 image_sample_c_d v[0:3], [v0, v1, v2, v3, v4, v5, v6], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D… 31 image_sample_c_d_cl v[0:3], [v0, v1, v2, v3, v4, v5, v6, v7], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC… [all …]
|
D | gfx1011_err.s | 40 image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D 43 image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D glc 46 image_msaa_load v5, v[1:2], s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_2D d16 49 image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D 52 image_msaa_load v14, [v204,v11,v14,v19], s[40:47] dmask:0x1 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY
|
/external/llvm-project/llvm/test/MC/Disassembler/AMDGPU/ |
D | mimg_vi.txt | 8 # VI: image_load v[0:3], v4, s[8:15] dmask:0xf unorm ; encoding: [0x00,0x1f,0x00,0xf0,0x04,0x00,0x0… 11 # VI: image_load v[0:2], v4, s[8:15] dmask:0xe unorm ; encoding: [0x00,0x1e,0x00,0xf0,0x04,0x00,0x0… 14 # VI: image_load v[0:1], v0, s[0:7] dmask:0x3 unorm ; encoding: [0x00,0x13,0x00,0xf0,0x00,0x00,0x00… 17 # VI: image_load v0, v0, s[0:7] dmask:0x1 unorm ; encoding: [0x00,0x11,0x00,0xf0,0x00,0x00,0x00,0… 20 # VI: image_store v[0:3], v4, s[0:7] dmask:0xf unorm ; encoding: [0x00,0x1f,0x20,0xf0,0x04,0x00,0x0… 23 # VI: image_store v[0:2], v4, s[0:7] dmask:0xe unorm ; encoding: [0x00,0x1e,0x20,0xf0,0x04,0x00,0x0… 26 # VI: image_store v[0:1], v2, s[0:7] dmask:0x3 unorm ; encoding: [0x00,0x13,0x20,0xf0,0x02,0x00,0x0… 29 # VI: image_store v0, v1, s[0:7] dmask:0x1 unorm ; encoding: [0x00,0x11,0x20,0xf0,0x01,0x00,0x00,0x… 35 # VI: image_load v5, v1, s[8:15] dmask:0x1 unorm glc slc r128 tfe lwe da d16 ; encoding: [0x00,0xf1… 38 # Test dmask == 0 [all …]
|
D | gfx10_mimg.txt | 3 # GFX10: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x1f,0x… 6 # GFX10: image_load v[0:3], v[1:2], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_2D unorm ; encoding: [0x08,0x1… 9 # GFX10: image_load v[252:255], v[2:4], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_3D unorm ; encoding: [0x10… 12 # GFX10: image_load v[252:255], v[3:5], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_CUBE unorm ; encoding: [0x… 15 # GFX10: image_load v[253:255], v[4:5], s[0:7] dmask:0xb dim:SQ_RSRC_IMG_1D_ARRAY unorm ; encoding:… 18 # GFX10: image_load v[254:255], v[5:7], s[0:7] dmask:0x9 dim:SQ_RSRC_IMG_2D_ARRAY unorm ; encoding:… 21 # GFX10: image_load v255, v[6:8], s[0:7] dmask:0x8 dim:SQ_RSRC_IMG_2D_MSAA unorm ; encoding: [0x30,… 24 # GFX10: image_load v65, v[7:10], s[0:7] dmask:0x8 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY unorm ; encoding: … 27 # GFX10: image_load_mip v[16:19], v[8:9], s[4:11] dmask:0xf dim:SQ_RSRC_IMG_1D unorm ; encoding: [0… 30 # GFX10: image_load_pck v[16:19], v[8:9], s[4:11] dmask:0xf dim:SQ_RSRC_IMG_2D unorm ; encoding: [0… [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | llvm.amdgcn.image.d16.dim.ll | 7 ; GFX89: image_load v0, v[0:1], s[0:7] dmask:0x1 unorm d16{{$}} 8 ; GFX10: image_load v0, v[0:1], s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_2D unorm d16{{$}} 16 ; UNPACKED: image_load v[0:1], v[0:1], s[0:7] dmask:0x3 unorm d16{{$}} 17 ; PACKED: image_load v0, v[0:1], s[0:7] dmask:0x3 unorm d16{{$}} 18 ; GFX81: image_load v0, v[0:1], s[0:7] dmask:0x3 unorm d16{{$}} 19 ; GFX10: image_load v0, v[0:1], s[0:7] dmask:0x3 dim:SQ_RSRC_IMG_2D unorm d16{{$}} 28 ; UNPACKED: image_load v[0:2], v[0:1], s[0:7] dmask:0x7 unorm d16{{$}} 29 ; PACKED: image_load v[0:1], v[0:1], s[0:7] dmask:0x7 unorm d16{{$}} 30 ; GFX10: image_load v[0:1], v[0:1], s[0:7] dmask:0x7 dim:SQ_RSRC_IMG_2D unorm d16{{$}} 40 ; UNPACKED: image_load v[0:3], v[0:1], s[0:7] dmask:0xf unorm d16{{$}} [all …]
|
D | llvm.amdgcn.image.atomic.dim.ll | 6 ; GFX6789: image_atomic_swap v0, v1, s[0:7] dmask:0x1 unorm glc{{$}} 7 ; GFX10: image_atomic_swap v0, v1, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; 16 ; GFX6789: image_atomic_swap v[0:1], v2, s[0:7] dmask:0x3 unorm glc{{$}} 17 ; GFX10: image_atomic_swap v[0:1], v2, s[0:7] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm glc ; 26 ; GFX6789: image_atomic_add v0, v1, s[0:7] dmask:0x1 unorm glc{{$}} 27 ; GFX10: image_atomic_add v0, v1, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; 36 ; GFX6789: image_atomic_sub v0, v1, s[0:7] dmask:0x1 unorm glc{{$}} 37 ; GFX10: image_atomic_sub v0, v1, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; 46 ; GFX6789: image_atomic_smin v0, v1, s[0:7] dmask:0x1 unorm glc{{$}} 47 ; GFX10: image_atomic_smin v0, v1, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; [all …]
|
D | llvm.amdgcn.image.load.a16.ll | 5 ; GFX9: image_load v0, v0, s[0:7] dmask:0x1 unorm a16 6 ; GFX10: image_load v0, v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm a16 15 ; GFX9: image_load v[0:1], v0, s[0:7] dmask:0x3 unorm a16 16 ; GFX10: image_load v[0:1], v0, s[0:7] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm a16 25 ; GFX9: image_load v[0:2], v0, s[0:7] dmask:0x7 unorm a16 26 ; GFX10: image_load v[0:2], v0, s[0:7] dmask:0x7 dim:SQ_RSRC_IMG_1D unorm a16 35 ; GFX9: image_load v[0:3], v0, s[0:7] dmask:0xf unorm a16 36 ; GFX10: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm a16 45 ; GFX9: image_load v0, v0, s[0:7] dmask:0x1 unorm a16 46 ; GFX10: image_load v0, v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_2D unorm a16 [all …]
|
D | llvm.amdgcn.image.load.a16.d16.ll | 5 ; GFX9: image_load v0, v0, s[0:7] dmask:0x1 unorm a16 d16 6 ; GFX10: image_load v0, v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm a16 d16 15 ; GFX9: image_load v0, v0, s[0:7] dmask:0x3 unorm a16 d16 16 ; GFX10: image_load v0, v0, s[0:7] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm a16 d16 25 ; GFX9: image_load v[0:1], v0, s[0:7] dmask:0x7 unorm a16 d16 26 ; GFX10: image_load v[0:1], v0, s[0:7] dmask:0x7 dim:SQ_RSRC_IMG_1D unorm a16 d16 35 ; GFX9: image_load v[0:1], v0, s[0:7] dmask:0xf unorm a16 d16 36 ; GFX10: image_load v[0:1], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm a16 d16 45 ; GFX9: image_load v0, v0, s[0:7] dmask:0x1 unorm a16 d16 46 ; GFX10: image_load v0, v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_2D unorm a16 d16 [all …]
|
D | llvm.amdgcn.image.gather4.dim.ll | 6 ; GFX6789: image_gather4 v[0:3], v[0:1], s[0:7], s[8:11] dmask:0x1{{$}} 7 ; GFX10: image_gather4 v[0:3], v[0:1], s[0:7], s[8:11] dmask:0x1 dim:SQ_RSRC_IMG_2D ; 15 ; GFX6789: image_gather4 v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x1 da{{$}} 16 ; GFX10: image_gather4 v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x1 dim:SQ_RSRC_IMG_CUBE ; 24 ; GFX6789: image_gather4 v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x1 da{{$}} 25 ; GFX10: image_gather4 v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x1 dim:SQ_RSRC_IMG_2D_ARRAY ; 33 ; GFX6789: image_gather4_c v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x1{{$}} 34 ; GFX10: image_gather4_c v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x1 dim:SQ_RSRC_IMG_2D ; 42 ; GFX6789: image_gather4_cl v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x1{{$}} 43 ; GFX10: image_gather4_cl v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x1 dim:SQ_RSRC_IMG_2D ; [all …]
|
D | llvm.amdgcn.image.dim.ll | 11 ; VERDE-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf unorm 17 ; FIJI-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf unorm 23 ; GFX6789-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf unorm 29 ; NOPRT-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf unorm 35 ; GFX10-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00… 52 ; VERDE-NEXT: image_load v[0:4], v5, s[0:7] dmask:0xf unorm tfe 68 ; FIJI-NEXT: image_load v[0:4], v5, s[0:7] dmask:0xf unorm tfe 89 ; GFX6789-NEXT: image_load v[0:4], v5, s[0:7] dmask:0xf unorm tfe 98 ; NOPRT-NEXT: image_load v[0:4], v0, s[0:7] dmask:0xf unorm tfe 118 ; GFX10-NEXT: image_load v[0:4], v5, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm tfe ; encoding: [… [all …]
|
D | llvm.amdgcn.image.a16.dim.ll | 8 ; GFX9-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf unorm a16 14 ; GFX10-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm a16 26 ; GFX9-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf unorm a16 32 ; GFX10-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_2D unorm a16 45 ; GFX9-NEXT: image_load v[0:3], v[0:1], s[0:7] dmask:0xf unorm a16 51 ; GFX10-NEXT: image_load v[0:3], v[0:1], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_3D unorm a16 65 ; GFX9-NEXT: image_load v[0:3], v[0:1], s[0:7] dmask:0xf unorm a16 da 71 ; GFX10-NEXT: image_load v[0:3], v[0:1], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_CUBE unorm a16 85 ; GFX9-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf unorm a16 da 91 ; GFX10-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY unorm a16 [all …]
|
D | llvm.amdgcn.image.store.a16.ll | 8 ; GFX9-NEXT: image_store v[1:4], v0, s[0:7] dmask:0x1 unorm a16 13 ; GFX10-NEXT: image_store v[1:4], v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm a16 24 ; GFX9-NEXT: image_store v[1:4], v0, s[0:7] dmask:0x3 unorm a16 29 ; GFX10-NEXT: image_store v[1:4], v0, s[0:7] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm a16 40 ; GFX9-NEXT: image_store v[1:4], v0, s[0:7] dmask:0x7 unorm a16 45 ; GFX10-NEXT: image_store v[1:4], v0, s[0:7] dmask:0x7 dim:SQ_RSRC_IMG_1D unorm a16 56 ; GFX9-NEXT: image_store v[1:4], v0, s[0:7] dmask:0xf unorm a16 61 ; GFX10-NEXT: image_store v[1:4], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm a16 72 ; GFX9-NEXT: image_store v[1:4], v0, s[0:7] dmask:0x1 unorm a16 77 ; GFX10-NEXT: image_store v[1:4], v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_2D unorm a16 [all …]
|
D | llvm.amdgcn.image.store.a16.d16.ll | 8 ; GFX9-NEXT: image_store v[1:2], v0, s[0:7] dmask:0x1 unorm a16 d16 13 ; GFX10-NEXT: image_store v[1:2], v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm a16 d16 25 ; GFX9-NEXT: image_store v[1:2], v0, s[0:7] dmask:0x3 unorm a16 d16 30 ; GFX10-NEXT: image_store v[1:2], v0, s[0:7] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm a16 d16 42 ; GFX9-NEXT: image_store v[1:2], v0, s[0:7] dmask:0x7 unorm a16 d16 47 ; GFX10-NEXT: image_store v[1:2], v0, s[0:7] dmask:0x7 dim:SQ_RSRC_IMG_1D unorm a16 d16 59 ; GFX9-NEXT: image_store v[1:2], v0, s[0:7] dmask:0xf unorm a16 d16 64 ; GFX10-NEXT: image_store v[1:2], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm a16 d16 76 ; GFX9-NEXT: image_store v[1:2], v0, s[0:7] dmask:0x1 unorm a16 d16 81 ; GFX10-NEXT: image_store v[1:2], v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_2D unorm a16 d16 [all …]
|
D | llvm.amdgcn.image.sample.dim.ll | 12 ; VERDE-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf 21 ; GFX6789-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf 30 ; GFX10-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: … 50 ; VERDE-NEXT: image_sample v[0:4], v5, s[0:7], s[8:11] dmask:0xf tfe 74 ; GFX6789-NEXT: image_sample v[0:4], v5, s[0:7], s[8:11] dmask:0xf tfe 96 ; GFX10-NEXT: image_sample v[0:4], v5, s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D tfe ; encodi… 118 ; VERDE-NEXT: image_sample v[0:1], v2, s[0:7], s[8:11] dmask:0x1 tfe 130 ; GFX6789-NEXT: image_sample v[0:1], v2, s[0:7], s[8:11] dmask:0x1 tfe 142 ; GFX10-NEXT: image_sample v[0:1], v2, s[0:7], s[8:11] dmask:0x1 dim:SQ_RSRC_IMG_1D tfe ; encodi… 165 ; VERDE-NEXT: image_sample v[0:1], v2, s[0:7], s[8:11] dmask:0x2 tfe [all …]
|
D | llvm.amdgcn.image.a16.encode.ll | 8 ; GFX9-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf unorm a16 ; encoding: [0x00,0x9f,0x00,0xf0,… 14 ; GFX10-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm a16 ; encoding: [… 26 ; GFX9-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf unorm a16 ; encoding: [0x00,0x9f,0x00,0xf0,… 32 ; GFX10-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_2D unorm a16 ; encoding: [… 45 ; GFX9-NEXT: image_load v[0:3], v[0:1], s[0:7] dmask:0xf unorm a16 ; encoding: [0x00,0x9f,0x00,0… 51 ; GFX10-NEXT: image_load v[0:3], v[0:1], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_3D unorm a16 ; encodin… 65 ; GFX9-NEXT: image_load v[0:3], v[0:1], s[0:7] dmask:0xf unorm a16 da ; encoding: [0x00,0xdf,0x0… 71 ; GFX10-NEXT: image_load v[0:3], v[0:1], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_CUBE unorm a16 ; encod… 85 ; GFX9-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf unorm a16 da ; encoding: [0x00,0xdf,0x00,0x… 91 ; GFX10-NEXT: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY unorm a16 ; encod… [all …]
|
D | llvm.amdgcn.image.gather4.d16.dim.ll | 7 ; UNPACKED: image_gather4_b v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x4 d16{{$}} 8 ; PACKED: image_gather4_b v[0:1], v[0:2], s[0:7], s[8:11] dmask:0x4 d16{{$}} 9 ; GFX810: image_gather4_b v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x4 d16{{$}} 10 ; GFX9: image_gather4_b v[0:3], v[0:2], s[0:7], s[8:11] dmask:0x4 d16{{$}} 11 ; GFX10: image_gather4_b v[0:1], v[0:2], s[0:7], s[8:11] dmask:0x4 dim:SQ_RSRC_IMG_2D d16{{$}}
|
D | llvm.amdgcn.image.sample.a16.dim.ll | 11 ; GFX9-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf a16 20 ; GFX10-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D a16 36 ; GFX9-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf a16 47 ; GFX10-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D a16 63 ; GFX9-NEXT: image_sample v[0:3], v[1:2], s[0:7], s[8:11] dmask:0xf a16 74 ; GFX10-NEXT: image_sample v[0:3], v[1:2], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_3D a16 90 ; GFX9-NEXT: image_sample v[0:3], v[1:2], s[0:7], s[8:11] dmask:0xf a16 da 101 ; GFX10-NEXT: image_sample v[0:3], v[1:2], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_CUBE a16 117 ; GFX9-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf a16 da 128 ; GFX10-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY a16 [all …]
|
/external/llvm/test/MC/AMDGPU/ |
D | mimg.s | 5 image_load v[4:6], v[237:240], s[28:35] dmask:0x7 unorm 9 image_store v[193:195], v[237:240], s[28:35] dmask:0x7 unorm 13 image_sample v[193:195], v[237:240], s[28:35], s[4:7] dmask:0x7 unorm 17 image_atomic_add v4, v[192:195], s[28:35] dmask:0x1 unorm glc 21 image_atomic_swap v4, v[192:195], s[28:35] dmask:0x1 unorm glc 25 image_atomic_cmpswap v[4:5], v[192:195], s[28:35] dmask:0x1 unorm glc
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | llvm.amdgcn.image.atomic.ll | 5 ;SI: image_atomic_swap v4, v[0:3], s[0:7] dmask:0x1 unorm glc ; encoding: [0x00,0x31,0x3c,0xf0,0x00… 6 ;VI: image_atomic_swap v4, v[0:3], s[0:7] dmask:0x1 unorm glc ; encoding: [0x00,0x31,0x40,0xf0,0x00… 16 ;SI: image_atomic_swap v2, v[0:1], s[0:7] dmask:0x1 unorm glc ; encoding: [0x00,0x31,0x3c,0xf0,0x00… 17 ;VI: image_atomic_swap v2, v[0:1], s[0:7] dmask:0x1 unorm glc ; encoding: [0x00,0x31,0x40,0xf0,0x00… 27 ;SI: image_atomic_swap v1, v0, s[0:7] dmask:0x1 unorm glc ; encoding: [0x00,0x31,0x3c,0xf0,0x00,0x0… 28 ;VI: image_atomic_swap v1, v0, s[0:7] dmask:0x1 unorm glc ; encoding: [0x00,0x31,0x40,0xf0,0x00,0x0… 38 ;SI: image_atomic_cmpswap v[4:5], v[0:3], s[0:7] dmask:0x3 unorm glc ; encoding: [0x00,0x33,0x40,0x… 39 ;VI: image_atomic_cmpswap v[4:5], v[0:3], s[0:7] dmask:0x3 unorm glc ; encoding: [0x00,0x33,0x44,0x… 50 ;SI: image_atomic_add v4, v[0:3], s[0:7] dmask:0x1 unorm glc ; encoding: [0x00,0x31,0x44,0xf0,0x00,… 51 ;VI: image_atomic_add v4, v[0:3], s[0:7] dmask:0x1 unorm glc ; encoding: [0x00,0x31,0x48,0xf0,0x00,… [all …]
|
D | llvm.amdgcn.image.ll | 5 ;CHECK: image_load v[0:3], v[0:3], s[0:7] dmask:0xf unorm 14 ;CHECK: image_load v[0:3], v[0:1], s[0:7] dmask:0xf unorm 23 ;CHECK: image_load v[0:3], v0, s[0:7] dmask:0xf unorm 32 ;CHECK: image_load_mip v[0:3], v[0:3], s[0:7] dmask:0xf unorm 41 ;CHECK: image_load v0, v[0:3], s[0:7] dmask:0x1 unorm 47 ; Only first component used, test that dmask etc. is changed accordingly 52 ;CHECK: image_store v[0:3], v[4:7], s[0:7] dmask:0xf unorm 60 ;CHECK: image_store v[0:3], v[4:5], s[0:7] dmask:0xf unorm 68 ;CHECK: image_store v[0:3], v4, s[0:7] dmask:0xf unorm 76 ;CHECK: image_store_mip v[0:3], v[4:7], s[0:7] dmask:0xf unorm [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/ |
D | llvm.amdgcn.image.store.2d.ll | 17 ; GFX6-NEXT: image_store v2, v[0:1], s[0:7] dmask:0x1 unorm 30 ; GFX8-NEXT: image_store v2, v[0:1], s[0:7] dmask:0x1 unorm 43 ; GFX10-NEXT: image_store v2, v[0:1], s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_2D unorm 60 ; GFX6-NEXT: image_store v[2:3], v[0:1], s[0:7] dmask:0x3 unorm 73 ; GFX8-NEXT: image_store v[2:3], v[0:1], s[0:7] dmask:0x3 unorm 86 ; GFX10-NEXT: image_store v[2:3], v[0:1], s[0:7] dmask:0x3 dim:SQ_RSRC_IMG_2D unorm 103 ; GFX6-NEXT: image_store v[2:4], v[0:1], s[0:7] dmask:0x7 unorm 116 ; GFX8-NEXT: image_store v[2:4], v[0:1], s[0:7] dmask:0x7 unorm 129 ; GFX10-NEXT: image_store v[2:4], v[0:1], s[0:7] dmask:0x7 dim:SQ_RSRC_IMG_2D unorm 146 ; GFX6-NEXT: image_store v[2:5], v[0:1], s[0:7] dmask:0xf unorm [all …]
|
D | llvm.amdgcn.image.load.1d.ll | 17 ; GFX6-NEXT: image_load v0, v0, s[0:7] dmask:0x1 unorm 31 ; GFX8-NEXT: image_load v0, v0, s[0:7] dmask:0x1 unorm 45 ; GFX10-NEXT: image_load v0, v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm 63 ; GFX6-NEXT: image_load v0, v0, s[0:7] dmask:0x2 unorm 77 ; GFX8-NEXT: image_load v0, v0, s[0:7] dmask:0x2 unorm 91 ; GFX10-NEXT: image_load v0, v0, s[0:7] dmask:0x2 dim:SQ_RSRC_IMG_1D unorm 109 ; GFX6-NEXT: image_load v0, v0, s[0:7] dmask:0x4 unorm 123 ; GFX8-NEXT: image_load v0, v0, s[0:7] dmask:0x4 unorm 137 ; GFX10-NEXT: image_load v0, v0, s[0:7] dmask:0x4 dim:SQ_RSRC_IMG_1D unorm 155 ; GFX6-NEXT: image_load v0, v0, s[0:7] dmask:0x8 unorm [all …]
|