1 // RUN
: llvm-mc
-mattr
=+code-object-v3
-triple amdgcn-amd-amdhsa
-mcpu
=gfx802
-filetype
=obj
< %s
> %t
2 // RUN
: llvm-objdump
-s
-j
.rodata %t | FileCheck --check-prefix=OBJDUMP %s
4 // big endian
not supported
5 // XFAIL
: host-byteorder-big-endian
7 // Check that SGPR init bug on gfx803 is corrected by the assembler
, setting
8 // GRANULATED_WAVEFRONT_SGPR_COUNT to
11.
10 // OBJDUMP
: Contents of section
.rodata
11 // OBJDUMP-NEXT
: 0000 00000000 00000000 00000000 00000000
12 // OBJDUMP-NEXT
: 0010 00000000 00000000 00000000 00000000
13 // OBJDUMP-NEXT
: 0020 00000000 00000000 00000000 00000000
14 // OBJDUMP-NEXT
: 0030 c002ac00
80000000 00000000 00000000
18 .amdgcn_target "amdgcn-amd-amdhsa--gfx802"
26 .amdhsa_kernel minimal
27 .amdhsa_next_free_vgpr 0
28 .amdhsa_next_free_sgpr 0