2017-11-18 05:35:32 +08:00
|
|
|
# RUN: llc -march=amdgcn -mcpu=gfx900 -verify-machineinstrs -run-pass post-RA-hazard-rec %s -o - | FileCheck -check-prefixes=GCN,GFX9 %s
|
|
|
|
# RUN: llc -march=amdgcn -mcpu=fiji -verify-machineinstrs -run-pass post-RA-hazard-rec %s -o - | FileCheck -check-prefixes=GCN,VI %s
|
|
|
|
# RUN: llc -march=amdgcn -mcpu=hawaii -verify-machineinstrs -run-pass post-RA-hazard-rec %s -o - | FileCheck -check-prefixes=GCN,CI %s
|
|
|
|
# RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs -run-pass post-RA-hazard-rec %s -o - | FileCheck -check-prefixes=GCN,SI %s
|
|
|
|
|
|
|
|
---
|
|
|
|
name: m0_sendmsg
|
|
|
|
body: |
|
|
|
|
; GCN-LABEL: name: m0_sendmsg
|
2018-02-01 06:04:26 +08:00
|
|
|
; GCN: $m0 = S_MOV_B32 -1
|
2017-11-18 05:35:32 +08:00
|
|
|
; VI-NEXT: S_NOP 0
|
|
|
|
; GFX9-NEXT: S_NOP 0
|
2018-02-01 06:04:26 +08:00
|
|
|
; GCN-NEXT: S_SENDMSG 3, implicit $exec, implicit $m0
|
2017-11-18 05:35:32 +08:00
|
|
|
|
|
|
|
bb.0:
|
2018-02-01 06:04:26 +08:00
|
|
|
$m0 = S_MOV_B32 -1
|
|
|
|
S_SENDMSG 3, implicit $exec, implicit $m0
|
[AMDGPU] Add support for immediate operand for S_ENDPGM
Summary:
Add support for immediate operand in S_ENDPGM
Change-Id: I0c56a076a10980f719fb2a8f16407e9c301013f6
Reviewers: alexshap
Subscribers: qcolombet, arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, tpr, t-tye, eraman, arphaman, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59213
llvm-svn: 355902
2019-03-12 17:52:58 +08:00
|
|
|
S_ENDPGM 0
|
2017-11-18 05:35:32 +08:00
|
|
|
...
|
|
|
|
---
|
|
|
|
|
|
|
|
name: m0_sendmsghalt
|
|
|
|
body: |
|
|
|
|
; GCN-LABEL: name: m0_sendmsghalt
|
2018-02-01 06:04:26 +08:00
|
|
|
; GCN: $m0 = S_MOV_B32 -1
|
2017-11-18 05:35:32 +08:00
|
|
|
; VI-NEXT: S_NOP 0
|
|
|
|
; GFX9-NEXT: S_NOP 0
|
2018-02-01 06:04:26 +08:00
|
|
|
; GCN-NEXT: S_SENDMSGHALT 3, implicit $exec, implicit $m0
|
2017-11-18 05:35:32 +08:00
|
|
|
|
|
|
|
bb.0:
|
2018-02-01 06:04:26 +08:00
|
|
|
$m0 = S_MOV_B32 -1
|
|
|
|
S_SENDMSGHALT 3, implicit $exec, implicit $m0
|
[AMDGPU] Add support for immediate operand for S_ENDPGM
Summary:
Add support for immediate operand in S_ENDPGM
Change-Id: I0c56a076a10980f719fb2a8f16407e9c301013f6
Reviewers: alexshap
Subscribers: qcolombet, arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, tpr, t-tye, eraman, arphaman, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59213
llvm-svn: 355902
2019-03-12 17:52:58 +08:00
|
|
|
S_ENDPGM 0
|
2017-11-18 05:35:32 +08:00
|
|
|
...
|
|
|
|
---
|
|
|
|
|
|
|
|
name: m0_ttracedata
|
|
|
|
body: |
|
|
|
|
; GCN-LABEL: name: m0_ttracedata
|
2018-02-01 06:04:26 +08:00
|
|
|
; GCN: $m0 = S_MOV_B32 -1
|
2017-11-18 05:35:32 +08:00
|
|
|
; VI-NEXT: S_NOP 0
|
|
|
|
; GFX9-NEXT: S_NOP 0
|
2018-02-01 06:04:26 +08:00
|
|
|
; GCN-NEXT: S_TTRACEDATA implicit $m0
|
2017-11-18 05:35:32 +08:00
|
|
|
|
|
|
|
bb.0:
|
2018-02-01 06:04:26 +08:00
|
|
|
$m0 = S_MOV_B32 -1
|
|
|
|
S_TTRACEDATA implicit $m0
|
[AMDGPU] Add support for immediate operand for S_ENDPGM
Summary:
Add support for immediate operand in S_ENDPGM
Change-Id: I0c56a076a10980f719fb2a8f16407e9c301013f6
Reviewers: alexshap
Subscribers: qcolombet, arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, tpr, t-tye, eraman, arphaman, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59213
llvm-svn: 355902
2019-03-12 17:52:58 +08:00
|
|
|
S_ENDPGM 0
|
2017-11-18 05:35:32 +08:00
|
|
|
...
|