[AMDGPU] Check for immediate SrcC in mfma in AsmParser
[llvm-core.git] / test / MC / AMDGPU / hsa_isa_version_attrs.s
blob0a5686e27e8c9d060ea30ae8e23895ad94466e22
1 // RUN: llvm-mc -arch=amdgcn -mcpu=gfx801 -mattr=-code-object-v3,-fast-fmaf -show-encoding %s | FileCheck --check-prefix=GFX8 %s
2 // RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -mattr=-code-object-v3,-mad-mix-insts -show-encoding %s | FileCheck --check-prefix=GFX9 %s
3 // RUN: llvm-mc -arch=amdgcn -mcpu=gfx1010 -mattr=-code-object-v3,-WavefrontSize32 -show-encoding %s | FileCheck --check-prefix=GFX10 %s
5 .hsa_code_object_isa
6 // GFX8: .hsa_code_object_isa 8,0,1,"AMD","AMDGPU"
7 // GFX9: .hsa_code_object_isa 9,0,0,"AMD","AMDGPU"
8 // GFX10: .hsa_code_object_isa 10,1,0,"AMD","AMDGPU"