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