2018-11-15 10:32:43 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx600 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-SI600 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx601 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-SI601 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx700 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI700 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx701 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI701 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx702 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI702 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx703 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI703 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx704 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI704 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=bonaire -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI704 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=mullins -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI703 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=hawaii -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI701 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=kabini -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI703 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=kaveri -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI700 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=carrizo -mattr=-flat-for-global,-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI801 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=tonga -mattr=-flat-for-global,-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI802 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=fiji -mattr=-flat-for-global,-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=polaris10 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=polaris11 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx801 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI801 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx802 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI802 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx803 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx810 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI810 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx900 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX900 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx902 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX902 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx904 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX904 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx906 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX906 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx909 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX909 %s
|
2019-04-25 01:03:15 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx1010 -mattr=-code-object-v3 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX1010 %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"
|
2017-12-09 04:52:28 +08:00
|
|
|
; HSA-CI704: .hsa_code_object_isa 7,0,4,"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-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"
|
2017-06-10 11:53:19 +08:00
|
|
|
; HSA-GFX902: .hsa_code_object_isa 9,0,2,"AMD","AMDGPU"
|
2018-05-01 03:08:16 +08:00
|
|
|
; HSA-GFX904: .hsa_code_object_isa 9,0,4,"AMD","AMDGPU"
|
|
|
|
; HSA-GFX906: .hsa_code_object_isa 9,0,6,"AMD","AMDGPU"
|
2018-10-24 16:14:07 +08:00
|
|
|
; HSA-GFX909: .hsa_code_object_isa 9,0,9,"AMD","AMDGPU"
|
2019-04-25 01:03:15 +08:00
|
|
|
; HSA-GFX1010: .hsa_code_object_isa 10,1,0,"AMD","AMDGPU"
|