1 // RUN
: llvm-mc
-triple amdgcn-amd-amdhsa
-mcpu
=gfx802
-filetype
=obj
< %s
> %t
2 // RUN
: llvm-objdump
-s
-j
.rodata %t | FileCheck --check-prefix=OBJDUMP %s
4 // Check that SGPR init bug on gfx803 is corrected by the assembler
, setting
5 // GRANULATED_WAVEFRONT_SGPR_COUNT to
11.
7 // OBJDUMP
: Contents of section
.rodata
8 // OBJDUMP-NEXT
: 0000 00000000 00000000 00000000 00000000
9 // OBJDUMP-NEXT
: 0010 00000000 00000000 00000000 00000000
10 // OBJDUMP-NEXT
: 0020 00000000 00000000 00000000 00000000
11 // OBJDUMP-NEXT
: 0030 c002ac00
80000000 00000000 00000000
15 .amdgcn_target "amdgcn-amd-amdhsa--gfx802"
23 .amdhsa_kernel minimal
24 .amdhsa_next_free_vgpr 0
25 .amdhsa_next_free_sgpr 0