[AMDGPU] Check for immediate SrcC in mfma in AsmParser
[llvm-core.git] / test / MC / AMDGPU / hsa-sgpr-init-bug-v3.s
blob644d957d59ea11a326df5b9f0d1c41a9d784eaf5
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
16 .text
18 .amdgcn_target "amdgcn-amd-amdhsa--gfx802"
20 .p2align 8
21 minimal:
22 s_endpgm
24 .rodata
26 .amdhsa_kernel minimal
27 .amdhsa_next_free_vgpr 0
28 .amdhsa_next_free_sgpr 0
29 .end_amdhsa_kernel