llvm.org GIT mirror llvm / release_90 test / MC / AMDGPU / hsa_isa_version_attrs.s
release_90

Tree @release_90 (Download .tar.gz)

hsa_isa_version_attrs.s @release_90raw · history · blame

1
2
3
4
5
6
7
8
// RUN: llvm-mc -arch=amdgcn -mcpu=gfx801 -mattr=-code-object-v3,-fast-fmaf -show-encoding %s | FileCheck --check-prefix=GFX8 %s
// RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -mattr=-code-object-v3,-mad-mix-insts -show-encoding %s | FileCheck --check-prefix=GFX9 %s
// RUN: llvm-mc -arch=amdgcn -mcpu=gfx1010 -mattr=-code-object-v3,-WavefrontSize32 -show-encoding %s | FileCheck --check-prefix=GFX10 %s

.hsa_code_object_isa
// GFX8:  .hsa_code_object_isa 8,0,1,"AMD","AMDGPU"
// GFX9:  .hsa_code_object_isa 9,0,0,"AMD","AMDGPU"
// GFX10: .hsa_code_object_isa 10,1,0,"AMD","AMDGPU"