1 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=gfx801
-mattr
=-fast-fmaf
-show-encoding
%s | FileCheck
--check-prefix
=GFX8
%s
2 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=gfx900
-mattr
=-mad-mix-insts
,-xnack
-show-encoding
%s | FileCheck
--check-prefix
=GFX9
%s
5 // GFX8
: .hsa_code_object_isa 8,0,1,"AMD","AMDGPU"
6 // GFX9
: .hsa_code_object_isa 9,0,0,"AMD","AMDGPU"