mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
d68ff516d3
Differential Revision: https://reviews.llvm.org/D38753 llvm-svn: 315821
29 lines
1.3 KiB
ArmAsm
29 lines
1.3 KiB
ArmAsm
// RUN: llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx700 -show-encoding %s | FileCheck --check-prefix=CHECK --check-prefix=GFX700 %s
|
|
// RUN: llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx800 -show-encoding %s | FileCheck --check-prefix=CHECK --check-prefix=GFX800 %s
|
|
// RUN: llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx900 -show-encoding %s | FileCheck --check-prefix=CHECK --check-prefix=GFX900 %s
|
|
|
|
// CHECK: .amd_amdgpu_hsa_metadata
|
|
// CHECK: Version: [ 1, 0 ]
|
|
// CHECK: Kernels:
|
|
// CHECK: - Name: test_kernel
|
|
// CHECK: SymbolName: 'test_kernel@kd'
|
|
// CHECK: DebugProps:
|
|
// CHECK: DebuggerABIVersion: [ 1, 0 ]
|
|
// CHECK: ReservedNumVGPRs: 4
|
|
// CHECK: ReservedFirstVGPR: 11
|
|
// CHECK: PrivateSegmentBufferSGPR: 0
|
|
// CHECK: WavefrontPrivateSegmentOffsetSGPR: 11
|
|
.amd_amdgpu_hsa_metadata
|
|
Version: [ 1, 0 ]
|
|
Printf: [ '1:1:4:%d\n', '2:1:8:%g\n' ]
|
|
Kernels:
|
|
- Name: test_kernel
|
|
SymbolName: test_kernel@kd
|
|
DebugProps:
|
|
DebuggerABIVersion: [ 1, 0 ]
|
|
ReservedNumVGPRs: 4
|
|
ReservedFirstVGPR: 11
|
|
PrivateSegmentBufferSGPR: 0
|
|
WavefrontPrivateSegmentOffsetSGPR: 11
|
|
.end_amd_amdgpu_hsa_metadata
|