Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/evidence/AMD-GFX942-PREP/objects/attn256_gate-encodings.txt # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / evidence / AMD-GFX942-PREP / objects / attn256_gate-encodings.txt` 150 lines · 7309 bytes Raw Blame History 1 .text 2 .amdgcn_target "amdgcn-amd-amdhsa--gfx942" 3 4 .globl attn256_gate 5 .p2align 8 6 .type attn256_gate,@function 7 attn256_gate: 8 s_load_dwordx4 s[4:7], s[0:1], 0x0 ; encoding: [0x00,0x01,0x0a,0xc0,0x00,0x00,0x00,0x00] 9 s_load_dwordx2 s[8:9], s[0:1], 0x10 ; encoding: [0x00,0x02,0x06,0xc0,0x10,0x00,0x00,0x00] 10 s_waitcnt lgkmcnt(0) ; encoding: [0x7f,0xc0,0x8c,0xbf] 11 s_sub_u32 s28, s2, 0x60 ; encoding: [0x02,0xff,0x9c,0x80,0x60,0x00,0x00,0x00] 12 s_cbranch_scc0 .L99 ; encoding: [A,A,0x84,0xbf] 13 ; fixup A - offset: 0, value: .L99, kind: fixup_si_sopp_br 14 s_sub_u32 s28, s3, 1 ; encoding: [0x03,0x81,0x9c,0x80] 15 s_cbranch_scc0 .L99 ; encoding: [A,A,0x84,0xbf] 16 ; fixup A - offset: 0, value: .L99, kind: fixup_si_sopp_br 17 v_and_b32_e32 v0, 0x3ff, v0 ; encoding: [0xff,0x00,0x00,0x26,0xff,0x03,0x00,0x00] 18 v_mov_b32_e32 v1, s2 ; encoding: [0x02,0x02,0x02,0x7e] 19 v_lshlrev_b32_e32 v1, 6, v1 ; encoding: [0x86,0x02,0x02,0x24] 20 v_add_u32_e32 v1, v0, v1 ; encoding: [0x00,0x03,0x02,0x68] 21 v_lshrrev_b32_e32 v2, 8, v1 ; encoding: [0x88,0x02,0x04,0x20] 22 v_lshlrev_b32_e32 v2, 11, v2 ; encoding: [0x8b,0x04,0x04,0x24] 23 v_and_b32_e32 v30, 0xff, v1 ; encoding: [0xff,0x02,0x3c,0x26,0xff,0x00,0x00,0x00] 24 v_lshlrev_b32_e32 v30, 2, v30 ; encoding: [0x82,0x3c,0x3c,0x24] 25 v_add_u32_e32 v2, v30, v2 ; encoding: [0x1e,0x05,0x04,0x68] 26 v_add_u32_e32 v2, 0x400, v2 ; encoding: [0xff,0x04,0x04,0x68,0x00,0x04,0x00,0x00] 27 v_mov_b32_e32 v3, 0 ; encoding: [0x80,0x02,0x06,0x7e] 28 v_mov_b32_e32 v27, s5 ; encoding: [0x05,0x02,0x36,0x7e] 29 v_add_co_u32_e32 v2, vcc, s4, v2 ; encoding: [0x04,0x04,0x04,0x32] 30 v_addc_co_u32_e32 v3, vcc, v27, v3, vcc ; encoding: [0x1b,0x07,0x06,0x38] 31 v_mov_b32_e32 v4, v1 ; encoding: [0x01,0x03,0x08,0x7e] 32 v_mov_b32_e32 v5, 0 ; encoding: [0x80,0x02,0x0a,0x7e] 33 v_lshrrev_b32_e32 v27, 30, v4 ; encoding: [0x9e,0x08,0x36,0x20] 34 v_lshlrev_b32_e32 v5, 2, v5 ; encoding: [0x82,0x0a,0x0a,0x24] 35 v_add_u32_e32 v5, v27, v5 ; encoding: [0x1b,0x0b,0x0a,0x68] 36 v_lshlrev_b32_e32 v4, 2, v4 ; encoding: [0x82,0x08,0x08,0x24] 37 v_mov_b32_e32 v27, s7 ; encoding: [0x07,0x02,0x36,0x7e] 38 v_add_co_u32_e32 v4, vcc, s6, v4 ; encoding: [0x06,0x08,0x08,0x32] 39 v_addc_co_u32_e32 v5, vcc, v27, v5, vcc ; encoding: [0x1b,0x0b,0x0a,0x38] 40 v_mov_b32_e32 v6, v1 ; encoding: [0x01,0x03,0x0c,0x7e] 41 v_mov_b32_e32 v7, 0 ; encoding: [0x80,0x02,0x0e,0x7e] 42 v_lshrrev_b32_e32 v27, 30, v6 ; encoding: [0x9e,0x0c,0x36,0x20] 43 v_lshlrev_b32_e32 v7, 2, v7 ; encoding: [0x82,0x0e,0x0e,0x24] 44 v_add_u32_e32 v7, v27, v7 ; encoding: [0x1b,0x0f,0x0e,0x68] 45 v_lshlrev_b32_e32 v6, 2, v6 ; encoding: [0x82,0x0c,0x0c,0x24] 46 v_mov_b32_e32 v27, s9 ; encoding: [0x09,0x02,0x36,0x7e] 47 v_add_co_u32_e32 v6, vcc, s8, v6 ; encoding: [0x08,0x0c,0x0c,0x32] 48 v_addc_co_u32_e32 v7, vcc, v27, v7, vcc ; encoding: [0x1b,0x0f,0x0e,0x38] 49 global_load_dword v8, v[2:3], off ; encoding: [0x00,0x80,0x50,0xdc,0x02,0x00,0x7f,0x08] 50 global_load_dword v9, v[4:5], off ; encoding: [0x00,0x80,0x50,0xdc,0x04,0x00,0x7f,0x09] 51 s_waitcnt vmcnt(0) ; encoding: [0x70,0x0f,0x8c,0xbf] 52 v_and_b32_e32 v10, 0x7fffffff, v8 ; encoding: [0xff,0x10,0x14,0x26,0xff,0xff,0xff,0x7f] 53 v_xor_b32_e32 v10, 0x80000000, v10 ; encoding: [0xff,0x14,0x14,0x2a,0x00,0x00,0x00,0x80] 54 v_mul_f32_e32 v10, 0x3fb8aa3b, v10 ; encoding: [0xff,0x14,0x14,0x0a,0x3b,0xaa,0xb8,0x3f] 55 v_exp_f32_e32 v10, v10 ; encoding: [0x0a,0x41,0x14,0x7e] 56 s_nop 0 ; encoding: [0x00,0x00,0x80,0xbf] 57 v_add_f32_e32 v11, 1.0, v10 ; encoding: [0xf2,0x14,0x16,0x02] 58 v_rcp_f32_e32 v11, v11 ; encoding: [0x0b,0x45,0x16,0x7e] 59 v_lshrrev_b32_e32 v12, 31, v8 ; encoding: [0x9f,0x10,0x18,0x20] 60 v_mov_b32_e32 v13, 0 ; encoding: [0x80,0x02,0x1a,0x7e] 61 v_cmp_gt_u32_e32 vcc, v12, v13 ; encoding: [0x0c,0x1b,0x98,0x7d] 62 s_and_saveexec_b64 s[26:27], vcc ; encoding: [0x6a,0x20,0x9a,0xbe] 63 v_mul_f32_e32 v11, v10, v11 ; encoding: [0x0a,0x17,0x16,0x0a] 64 s_mov_b64 exec, s[26:27] ; encoding: [0x1a,0x01,0xfe,0xbe] 65 v_mul_f32_e32 v9, v11, v9 ; encoding: [0x0b,0x13,0x12,0x0a] 66 global_store_dword v[6:7], v9, off ; encoding: [0x00,0x80,0x70,0xdc,0x06,0x09,0x7f,0x00] 67 .L99: 68 s_endpgm ; encoding: [0x00,0x00,0x81,0xbf] 69 .Lattn256_gate_end: 70 .size attn256_gate, .Lattn256_gate_end-attn256_gate 71 .section .rodata,"a",@progbits 72 .p2align 6, 0x0 73 .amdhsa_kernel attn256_gate 74 .amdhsa_group_segment_fixed_size 0 75 .amdhsa_private_segment_fixed_size 0 76 .amdhsa_kernarg_size 24 77 .amdhsa_user_sgpr_count 2 78 .amdhsa_user_sgpr_dispatch_ptr 0 79 .amdhsa_user_sgpr_queue_ptr 0 80 .amdhsa_user_sgpr_kernarg_segment_ptr 1 81 .amdhsa_user_sgpr_dispatch_id 0 82 .amdhsa_user_sgpr_kernarg_preload_length 0 83 .amdhsa_user_sgpr_kernarg_preload_offset 0 84 .amdhsa_user_sgpr_private_segment_size 0 85 .amdhsa_uses_dynamic_stack 0 86 .amdhsa_enable_private_segment 0 87 .amdhsa_system_sgpr_workgroup_id_x 1 88 .amdhsa_system_sgpr_workgroup_id_y 1 89 .amdhsa_system_sgpr_workgroup_id_z 0 90 .amdhsa_system_sgpr_workgroup_info 0 91 .amdhsa_system_vgpr_workitem_id 0 92 .amdhsa_next_free_vgpr 32 93 .amdhsa_next_free_sgpr 29 94 .amdhsa_accum_offset 32 95 .amdhsa_reserve_xnack_mask 1 96 .amdhsa_float_round_mode_32 0 97 .amdhsa_float_round_mode_16_64 0 98 .amdhsa_float_denorm_mode_32 3 99 .amdhsa_float_denorm_mode_16_64 3 100 .amdhsa_dx10_clamp 1 101 .amdhsa_ieee_mode 1 102 .amdhsa_fp16_overflow 0 103 .amdhsa_tg_split 0 104 .amdhsa_exception_fp_ieee_invalid_op 0 105 .amdhsa_exception_fp_denorm_src 0 106 .amdhsa_exception_fp_ieee_div_zero 0 107 .amdhsa_exception_fp_ieee_overflow 0 108 .amdhsa_exception_fp_ieee_underflow 0 109 .amdhsa_exception_fp_ieee_inexact 0 110 .amdhsa_exception_int_div_zero 0 111 .end_amdhsa_kernel 112 113 .amdgpu_metadata 114 --- 115 amdhsa.kernels: 116 - .agpr_count: 0 117 .args: 118 - .address_space: global 119 .name: Q_gate 120 .offset: 0 121 .size: 8 122 .value_kind: global_buffer 123 - .address_space: global 124 .name: attention 125 .offset: 8 126 .size: 8 127 .value_kind: global_buffer 128 - .address_space: global 129 .name: out 130 .offset: 16 131 .size: 8 132 .value_kind: global_buffer 133 .group_segment_fixed_size: 0 134 .kernarg_segment_align: 8 135 .kernarg_segment_size: 24 136 .max_flat_workgroup_size: 64 137 .name: attn256_gate 138 .private_segment_fixed_size: 0 139 .sgpr_count: 35 140 .symbol: attn256_gate.kd 141 .vgpr_count: 32 142 .wavefront_size: 64 143 amdhsa.target: amdgcn-amd-amdhsa--gfx942 144 amdhsa.version: 145 - 1 146 - 2 147 ... 148 149 .end_amdgpu_metadata 150