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-BF16GEMV-20261112T223732Z/bf16gemv-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-BF16GEMV-20261112T223732Z / bf16gemv-encodings.txt` 142 lines · 6106 bytes Raw Blame History 1 .text 2 .amdgcn_target "amdgcn-amd-amdhsa--gfx942" 3 4 .globl bf16gemv 5 .p2align 8 6 .type bf16gemv,@function 7 bf16gemv: 8 s_load_dwordx4 s[4:7], s[0:1], 0x0 ; encoding: [0x00,0x01,0x0a,0xc0,0x00,0x00,0x00,0x00] 9 s_load_dwordx4 s[8:11], s[0:1], 0x10 ; encoding: [0x00,0x02,0x0a,0xc0,0x10,0x00,0x00,0x00] 10 v_and_b32_e32 v0, 0x3ff, v0 ; encoding: [0xff,0x00,0x00,0x26,0xff,0x03,0x00,0x00] 11 s_waitcnt lgkmcnt(0) ; encoding: [0x7f,0xc0,0x8c,0xbf] 12 s_lshl_b32 s12, s2, 6 ; encoding: [0x02,0x86,0x0c,0x8e] 13 v_add_u32_e32 v1, s12, v0 ; encoding: [0x0c,0x00,0x02,0x68] 14 v_cmp_gt_u32_e32 vcc, s10, v1 ; encoding: [0x0a,0x02,0x98,0x7d] 15 s_and_saveexec_b64 s[14:15], vcc ; encoding: [0x6a,0x20,0x8e,0xbe] 16 s_cbranch_execz .Lend ; encoding: [A,A,0x88,0xbf] 17 ; fixup A - offset: 0, value: .Lend, kind: fixup_si_sopp_br 18 v_lshlrev_b32_e32 v2, 2, v1 ; encoding: [0x82,0x02,0x04,0x24] 19 v_lshrrev_b32_e32 v3, 30, v1 ; encoding: [0x9e,0x02,0x06,0x20] 20 v_mul_lo_u32 v8, v1, s11 ; encoding: [0x08,0x00,0x85,0xd2,0x01,0x17,0x00,0x00] 21 v_mul_hi_u32 v9, v1, s11 ; encoding: [0x09,0x00,0x86,0xd2,0x01,0x17,0x00,0x00] 22 v_add_co_u32_e32 v8, vcc, v8, v8 ; encoding: [0x08,0x11,0x10,0x32] 23 v_addc_co_u32_e32 v9, vcc, v9, v9, vcc ; encoding: [0x09,0x13,0x12,0x38] 24 v_mov_b32_e32 v5, s5 ; encoding: [0x05,0x02,0x0a,0x7e] 25 v_add_co_u32_e32 v8, vcc, s4, v8 ; encoding: [0x04,0x10,0x10,0x32] 26 v_addc_co_u32_e32 v9, vcc, v5, v9, vcc ; encoding: [0x05,0x13,0x12,0x38] 27 v_mov_b32_e32 v10, s6 ; encoding: [0x06,0x02,0x14,0x7e] 28 v_mov_b32_e32 v11, s7 ; encoding: [0x07,0x02,0x16,0x7e] 29 v_mov_b32_e32 v5, s9 ; encoding: [0x09,0x02,0x0a,0x7e] 30 v_add_co_u32_e32 v12, vcc, s8, v2 ; encoding: [0x08,0x04,0x18,0x32] 31 v_addc_co_u32_e32 v13, vcc, v5, v3, vcc ; encoding: [0x05,0x07,0x1a,0x38] 32 v_mov_b32_e32 v4, 0 ; encoding: [0x80,0x02,0x08,0x7e] 33 v_mov_b32_e32 v7, 0 ; encoding: [0x80,0x02,0x0e,0x7e] 34 s_sub_u32 s13, s11, 1 ; encoding: [0x0b,0x81,0x8d,0x80] 35 s_cbranch_scc1 .Lstore ; encoding: [A,A,0x85,0xbf] 36 ; fixup A - offset: 0, value: .Lstore, kind: fixup_si_sopp_br 37 .Lloop: 38 global_load_short_d16_hi v7, v[8:9], off ; encoding: [0x00,0x80,0x94,0xdc,0x08,0x00,0x7f,0x07] 39 global_load_dword v6, v[10:11], off ; encoding: [0x00,0x80,0x50,0xdc,0x0a,0x00,0x7f,0x06] 40 s_waitcnt vmcnt(0) ; encoding: [0x70,0x0f,0x8c,0xbf] 41 v_fmac_f32_e32 v4, v7, v6 ; encoding: [0x07,0x0d,0x08,0x76] 42 v_add_co_u32_e32 v8, vcc, 2, v8 ; encoding: [0x82,0x10,0x10,0x32] 43 v_addc_co_u32_e32 v9, vcc, 0, v9, vcc ; encoding: [0x80,0x12,0x12,0x38] 44 v_add_co_u32_e32 v10, vcc, 4, v10 ; encoding: [0x84,0x14,0x14,0x32] 45 v_addc_co_u32_e32 v11, vcc, 0, v11, vcc ; encoding: [0x80,0x16,0x16,0x38] 46 s_sub_u32 s13, s13, 1 ; encoding: [0x0d,0x81,0x8d,0x80] 47 s_cbranch_scc0 .Lloop ; encoding: [A,A,0x84,0xbf] 48 ; fixup A - offset: 0, value: .Lloop, kind: fixup_si_sopp_br 49 .Lstore: 50 global_store_dword v[12:13], v4, off ; encoding: [0x00,0x80,0x70,0xdc,0x0c,0x04,0x7f,0x00] 51 .Lend: 52 s_endpgm ; encoding: [0x00,0x00,0x81,0xbf] 53 .Lbf16gemv_end: 54 .size bf16gemv, .Lbf16gemv_end-bf16gemv 55 .section .rodata,"a",@progbits 56 .p2align 6, 0x0 57 .amdhsa_kernel bf16gemv 58 .amdhsa_group_segment_fixed_size 0 59 .amdhsa_private_segment_fixed_size 0 60 .amdhsa_kernarg_size 32 61 .amdhsa_user_sgpr_count 2 62 .amdhsa_user_sgpr_dispatch_ptr 0 63 .amdhsa_user_sgpr_queue_ptr 0 64 .amdhsa_user_sgpr_kernarg_segment_ptr 1 65 .amdhsa_user_sgpr_dispatch_id 0 66 .amdhsa_user_sgpr_kernarg_preload_length 0 67 .amdhsa_user_sgpr_kernarg_preload_offset 0 68 .amdhsa_user_sgpr_private_segment_size 0 69 .amdhsa_uses_dynamic_stack 0 70 .amdhsa_enable_private_segment 0 71 .amdhsa_system_sgpr_workgroup_id_x 1 72 .amdhsa_system_sgpr_workgroup_id_y 0 73 .amdhsa_system_sgpr_workgroup_id_z 0 74 .amdhsa_system_sgpr_workgroup_info 0 75 .amdhsa_system_vgpr_workitem_id 0 76 .amdhsa_next_free_vgpr 14 77 .amdhsa_next_free_sgpr 16 78 .amdhsa_accum_offset 16 79 .amdhsa_reserve_xnack_mask 1 80 .amdhsa_float_round_mode_32 0 81 .amdhsa_float_round_mode_16_64 0 82 .amdhsa_float_denorm_mode_32 3 83 .amdhsa_float_denorm_mode_16_64 3 84 .amdhsa_dx10_clamp 1 85 .amdhsa_ieee_mode 1 86 .amdhsa_fp16_overflow 0 87 .amdhsa_tg_split 0 88 .amdhsa_exception_fp_ieee_invalid_op 0 89 .amdhsa_exception_fp_denorm_src 0 90 .amdhsa_exception_fp_ieee_div_zero 0 91 .amdhsa_exception_fp_ieee_overflow 0 92 .amdhsa_exception_fp_ieee_underflow 0 93 .amdhsa_exception_fp_ieee_inexact 0 94 .amdhsa_exception_int_div_zero 0 95 .end_amdhsa_kernel 96 97 .amdgpu_metadata 98 --- 99 amdhsa.kernels: 100 - .agpr_count: 0 101 .args: 102 - .address_space: global 103 .name: W 104 .offset: 0 105 .size: 8 106 .value_kind: global_buffer 107 - .address_space: global 108 .name: x 109 .offset: 8 110 .size: 8 111 .value_kind: global_buffer 112 - .address_space: global 113 .name: !str y 114 .offset: 16 115 .size: 8 116 .value_kind: global_buffer 117 - .name: M 118 .offset: 24 119 .size: 4 120 .value_kind: by_value 121 - .name: K 122 .offset: 28 123 .size: 4 124 .value_kind: by_value 125 .group_segment_fixed_size: 0 126 .kernarg_segment_align: 8 127 .kernarg_segment_size: 32 128 .max_flat_workgroup_size: 64 129 .name: bf16gemv 130 .private_segment_fixed_size: 0 131 .sgpr_count: 24 132 .symbol: bf16gemv.kd 133 .vgpr_count: 16 134 .wavefront_size: 64 135 amdhsa.target: amdgcn-amd-amdhsa--gfx942 136 amdhsa.version: 137 - 1 138 - 2 139 ... 140 141 .end_amdgpu_metadata 142