[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AMDGPU / hsa-tg-split.s
blob78235e712581012152eb3bf0ac2156667552edab
1 // RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx90a -mattr=+xnack,+tgsplit < %s | FileCheck --check-prefix=ASM %s
2 // RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx90a -mattr=+xnack,+tgsplit -filetype=obj < %s > %t
3 // RUN: llvm-objdump -s -j .rodata %t | FileCheck --check-prefix=OBJDUMP %s
5 // OBJDUMP: Contents of section .rodata
6 // OBJDUMP-NEXT: 0000 00000000 00000000 00000000 00000000
7 // OBJDUMP-NEXT: 0010 00000000 00000000 00000000 00000000
8 // OBJDUMP-NEXT: 0020 00000000 00000000 00000000 00000100
9 // OBJDUMP-NEXT: 0030 0000ac00 80000000 00000000 00000000
11 .text
12 // ASM: .text
14 .amdgcn_target "amdgcn-amd-amdhsa--gfx90a:xnack+"
15 // ASM: .amdgcn_target "amdgcn-amd-amdhsa--gfx90a:xnack+"
17 .amdhsa_code_object_version 4
18 // ASM: .amdhsa_code_object_version 4
20 .p2align 8
21 .type minimal,@function
22 minimal:
23 s_endpgm
25 .rodata
26 // ASM: .rodata
28 .p2align 6
29 .amdhsa_kernel minimal
30 .amdhsa_next_free_vgpr 0
31 .amdhsa_next_free_sgpr 0
32 .amdhsa_accum_offset 4
33 .end_amdhsa_kernel
35 // ASM: .amdhsa_kernel minimal
36 // ASM-NEXT: .amdhsa_group_segment_fixed_size 0
37 // ASM-NEXT: .amdhsa_private_segment_fixed_size 0
38 // ASM-NEXT: .amdhsa_kernarg_size 0
39 // ASM-NEXT: .amdhsa_user_sgpr_count 0
40 // ASM-NEXT: .amdhsa_user_sgpr_private_segment_buffer 0
41 // ASM-NEXT: .amdhsa_user_sgpr_dispatch_ptr 0
42 // ASM-NEXT: .amdhsa_user_sgpr_queue_ptr 0
43 // ASM-NEXT: .amdhsa_user_sgpr_kernarg_segment_ptr 0
44 // ASM-NEXT: .amdhsa_user_sgpr_dispatch_id 0
45 // ASM-NEXT: .amdhsa_user_sgpr_flat_scratch_init 0
46 // ASM-NEXT: .amdhsa_user_sgpr_kernarg_preload_length 0
47 // ASM-NEXT: .amdhsa_user_sgpr_kernarg_preload_offset 0
48 // ASM-NEXT: .amdhsa_user_sgpr_private_segment_size 0
49 // ASM-NEXT: .amdhsa_system_sgpr_private_segment_wavefront_offset 0
50 // ASM-NEXT: .amdhsa_system_sgpr_workgroup_id_x 1
51 // ASM-NEXT: .amdhsa_system_sgpr_workgroup_id_y 0
52 // ASM-NEXT: .amdhsa_system_sgpr_workgroup_id_z 0
53 // ASM-NEXT: .amdhsa_system_sgpr_workgroup_info 0
54 // ASM-NEXT: .amdhsa_system_vgpr_workitem_id 0
55 // ASM-NEXT: .amdhsa_next_free_vgpr 0
56 // ASM-NEXT: .amdhsa_next_free_sgpr 0
57 // ASM-NEXT: .amdhsa_accum_offset 4
58 // ASM-NEXT: .amdhsa_reserve_vcc 1
59 // ASM-NEXT: .amdhsa_reserve_flat_scratch 1
60 // ASM-NEXT: .amdhsa_reserve_xnack_mask 1
61 // ASM-NEXT: .amdhsa_float_round_mode_32 0
62 // ASM-NEXT: .amdhsa_float_round_mode_16_64 0
63 // ASM-NEXT: .amdhsa_float_denorm_mode_32 0
64 // ASM-NEXT: .amdhsa_float_denorm_mode_16_64 3
65 // ASM-NEXT: .amdhsa_dx10_clamp 1
66 // ASM-NEXT: .amdhsa_ieee_mode 1
67 // ASM-NEXT: .amdhsa_fp16_overflow 0
68 // ASM-NEXT: .amdhsa_tg_split 1
69 // ASM-NEXT: .amdhsa_exception_fp_ieee_invalid_op 0
70 // ASM-NEXT: .amdhsa_exception_fp_denorm_src 0
71 // ASM-NEXT: .amdhsa_exception_fp_ieee_div_zero 0
72 // ASM-NEXT: .amdhsa_exception_fp_ieee_overflow 0
73 // ASM-NEXT: .amdhsa_exception_fp_ieee_underflow 0
74 // ASM-NEXT: .amdhsa_exception_fp_ieee_inexact 0
75 // ASM-NEXT: .amdhsa_exception_int_div_zero 0
76 // ASM-NEXT: .end_amdhsa_kernel