2017-06-10 11:53:19 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx600 | FileCheck --check-prefix=HSA --check-prefix=HSA-SI600 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx601 | FileCheck --check-prefix=HSA --check-prefix=HSA-SI601 %s
|
2016-10-27 00:37:56 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx700 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI700 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx701 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI701 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx702 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI702 %s
|
2017-06-10 11:53:19 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx703 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI703 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=mullins | FileCheck --check-prefix=HSA --check-prefix=HSA-CI703 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=hawaii | FileCheck --check-prefix=HSA --check-prefix=HSA-CI701 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=kabini | FileCheck --check-prefix=HSA --check-prefix=HSA-CI703 %s
|
2016-10-27 00:37:56 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=kaveri | FileCheck --check-prefix=HSA --check-prefix=HSA-CI700 %s
|
2017-01-25 06:02:15 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=carrizo -mattr=-flat-for-global | FileCheck --check-prefix=HSA --check-prefix=HSA-VI801 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=tonga -mattr=-flat-for-global | FileCheck --check-prefix=HSA --check-prefix=HSA-VI802 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=fiji -mattr=-flat-for-global | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
2016-10-12 00:00:47 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=polaris10 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=polaris11 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
2016-10-27 00:37:56 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx800 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI800 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx801 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI801 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx802 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI802 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx803 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx804 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI804 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx810 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI810 %s
|
2017-02-19 02:29:53 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx900 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX900 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx901 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX901 %s
|
2017-06-10 11:53:19 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx902 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX902 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx903 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX903 %s
|
2016-01-13 01:18:17 +08:00
|
|
|
|
2016-07-13 22:23:33 +08:00
|
|
|
; HSA: .hsa_code_object_version 2,1
|
2017-06-10 11:53:19 +08:00
|
|
|
; HSA-SI600: .hsa_code_object_isa 6,0,0,"AMD","AMDGPU"
|
|
|
|
; HSA-SI601: .hsa_code_object_isa 6,0,1,"AMD","AMDGPU"
|
2016-10-27 00:37:56 +08:00
|
|
|
; HSA-CI700: .hsa_code_object_isa 7,0,0,"AMD","AMDGPU"
|
|
|
|
; HSA-CI701: .hsa_code_object_isa 7,0,1,"AMD","AMDGPU"
|
|
|
|
; HSA-CI702: .hsa_code_object_isa 7,0,2,"AMD","AMDGPU"
|
2017-06-10 11:53:19 +08:00
|
|
|
; HSA-CI703: .hsa_code_object_isa 7,0,3,"AMD","AMDGPU"
|
2016-10-27 00:37:56 +08:00
|
|
|
; HSA-VI800: .hsa_code_object_isa 8,0,0,"AMD","AMDGPU"
|
2016-10-12 00:00:47 +08:00
|
|
|
; HSA-VI801: .hsa_code_object_isa 8,0,1,"AMD","AMDGPU"
|
|
|
|
; HSA-VI802: .hsa_code_object_isa 8,0,2,"AMD","AMDGPU"
|
|
|
|
; HSA-VI803: .hsa_code_object_isa 8,0,3,"AMD","AMDGPU"
|
2016-10-27 00:37:56 +08:00
|
|
|
; HSA-VI804: .hsa_code_object_isa 8,0,4,"AMD","AMDGPU"
|
|
|
|
; HSA-VI810: .hsa_code_object_isa 8,1,0,"AMD","AMDGPU"
|
2017-02-19 02:29:53 +08:00
|
|
|
; HSA-GFX900: .hsa_code_object_isa 9,0,0,"AMD","AMDGPU"
|
|
|
|
; HSA-GFX901: .hsa_code_object_isa 9,0,1,"AMD","AMDGPU"
|
2017-06-10 11:53:19 +08:00
|
|
|
; HSA-GFX902: .hsa_code_object_isa 9,0,2,"AMD","AMDGPU"
|
|
|
|
; HSA-GFX903: .hsa_code_object_isa 9,0,3,"AMD","AMDGPU"
|