125 lines · plain
1// RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx90a --amdhsa-code-object-version=4 -mattr=+xnack < %s | FileCheck --check-prefix=ASM %s2 3.amdgcn_target "amdgcn-amd-amdhsa--gfx90a:xnack+"4// ASM: .amdgcn_target "amdgcn-amd-amdhsa--gfx90a:xnack+"5 6 7// ASM-LABEL: .amdhsa_kernel user_sgprs_implied_count8// ASM: .amdhsa_user_sgpr_count 159.amdhsa_kernel user_sgprs_implied_count_all10 .amdhsa_user_sgpr_private_segment_buffer 111 .amdhsa_user_sgpr_dispatch_ptr 112 .amdhsa_user_sgpr_queue_ptr 113 .amdhsa_user_sgpr_kernarg_segment_ptr 114 .amdhsa_user_sgpr_dispatch_id 115 .amdhsa_user_sgpr_flat_scratch_init 116 .amdhsa_user_sgpr_private_segment_size 117 .amdhsa_accum_offset 418 .amdhsa_next_free_vgpr 3219 .amdhsa_next_free_sgpr 3220.end_amdhsa_kernel21 22// ASM-LABEL: .amdhsa_kernel user_sgprs_implied_count_023// ASM: .amdhsa_user_sgpr_count 724.amdhsa_kernel user_sgprs_implied_count_025 .amdhsa_user_sgpr_queue_ptr 126 .amdhsa_user_sgpr_kernarg_segment_ptr 127 .amdhsa_user_sgpr_flat_scratch_init 128 .amdhsa_user_sgpr_private_segment_size 129 .amdhsa_accum_offset 430 .amdhsa_next_free_vgpr 3231 .amdhsa_next_free_sgpr 3232.end_amdhsa_kernel33 34// ASM-LABEL: .amdhsa_kernel user_sgprs_implied_count_135// ASM: .amdhsa_user_sgpr_count 936.amdhsa_kernel user_sgprs_implied_count_137 .amdhsa_user_sgpr_private_segment_buffer 138 .amdhsa_user_sgpr_queue_ptr 139 .amdhsa_user_sgpr_kernarg_segment_ptr 140 .amdhsa_user_sgpr_private_segment_size 141 .amdhsa_accum_offset 442 .amdhsa_next_free_vgpr 3243 .amdhsa_next_free_sgpr 3244.end_amdhsa_kernel45 46 47// ASM-LABEL: .amdhsa_kernel user_sgprs_implied_count_private_segment_buffer48// ASM: .amdhsa_user_sgpr_count 449 .amdhsa_kernel user_sgprs_implied_count_private_segment_buffer50 .amdhsa_user_sgpr_private_segment_buffer 151 .amdhsa_accum_offset 452 .amdhsa_next_free_vgpr 3253 .amdhsa_next_free_sgpr 3254.end_amdhsa_kernel55 56 57// ASM-LABEL: .amdhsa_kernel explicit_user_sgpr_count_1658.amdhsa_kernel explicit_user_sgpr_count_1659 .amdhsa_user_sgpr_count 1660 .amdhsa_accum_offset 461 .amdhsa_next_free_vgpr 3262 .amdhsa_next_free_sgpr 3263.end_amdhsa_kernel64 65 66// ASM-LABEL: .amdhsa_kernel explicit_user_sgpr_count_067// ASM: .amdhsa_user_sgpr_count 068 .amdhsa_kernel explicit_user_sgpr_count_069 .amdhsa_user_sgpr_count 070 .amdhsa_accum_offset 471 .amdhsa_next_free_vgpr 3272 .amdhsa_next_free_sgpr 3273.end_amdhsa_kernel74 75// ASM-LABEL: .amdhsa_kernel explicit_user_sgpr_count_176// ASM: .amdhsa_user_sgpr_count 177.amdhsa_kernel explicit_user_sgpr_count_178 .amdhsa_user_sgpr_count 179 .amdhsa_accum_offset 480 .amdhsa_next_free_vgpr 3281 .amdhsa_next_free_sgpr 3282.end_amdhsa_kernel83 84.amdhsa_kernel explicit_user_sgpr_count_larger_than_implied85 .amdhsa_user_sgpr_count 1286 .amdhsa_user_sgpr_private_segment_buffer 187 .amdhsa_user_sgpr_queue_ptr 188 .amdhsa_user_sgpr_kernarg_segment_ptr 189 .amdhsa_accum_offset 490 .amdhsa_next_free_vgpr 3291 .amdhsa_next_free_sgpr 3292.end_amdhsa_kernel93 94.amdhsa_kernel preload_kernarg_095 .amdhsa_user_sgpr_count 396 .amdhsa_user_sgpr_queue_ptr 197 .amdhsa_user_sgpr_kernarg_preload_length 198 .amdhsa_user_sgpr_kernarg_preload_offset 199 .amdhsa_kernarg_size 8100 .amdhsa_accum_offset 4101 .amdhsa_next_free_vgpr 32102 .amdhsa_next_free_sgpr 32103.end_amdhsa_kernel104 105.amdhsa_kernel preload_kernarg_1106 .amdhsa_user_sgpr_count 3107 .amdhsa_user_sgpr_queue_ptr 1108 .amdhsa_user_sgpr_kernarg_preload_length 0109 .amdhsa_user_sgpr_kernarg_preload_offset 10110 .amdhsa_kernarg_size 0111 .amdhsa_accum_offset 4112 .amdhsa_next_free_vgpr 32113 .amdhsa_next_free_sgpr 32114.end_amdhsa_kernel115 116.amdhsa_kernel preload_kernarg_2117 .amdhsa_user_sgpr_count 3118 .amdhsa_user_sgpr_queue_ptr 1119 .amdhsa_user_sgpr_kernarg_preload_length 1120 .amdhsa_user_sgpr_kernarg_preload_offset 0121 .amdhsa_accum_offset 4122 .amdhsa_next_free_vgpr 32123 .amdhsa_next_free_sgpr 32124.end_amdhsa_kernel125