diff options
| author | Artem Tamazov <artem.tamazov@amd.com> | 2016-05-26 17:00:33 +0000 |
|---|---|---|
| committer | Artem Tamazov <artem.tamazov@amd.com> | 2016-05-26 17:00:33 +0000 |
| commit | 6edc135d0f4e4a5636bf0707971b6e619d5dc0c6 (patch) | |
| tree | ec2434e2e87221ada903bb03c00c9cfa8a02757f /llvm/test | |
| parent | d486f84c579d7365be3d64c48a4cf1138b483818 (diff) | |
| download | bcm5719-llvm-6edc135d0f4e4a5636bf0707971b6e619d5dc0c6.tar.gz bcm5719-llvm-6edc135d0f4e4a5636bf0707971b6e619d5dc0c6.zip | |
[AMDGPU][llvm-mc] s_getreg/setreg* - hwreg - factor out strings/literals etc.
Hwreg(...) syntax implementation unified with sendmsg(...).
Common strings moved to Utils
MathExtras.h functionality utilized.
Added missing build dependency in Disassembler.
Differential Revision: http://reviews.llvm.org/D20381
llvm-svn: 270871
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/AMDGPU/sopp-err.s | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/llvm/test/MC/AMDGPU/sopp-err.s b/llvm/test/MC/AMDGPU/sopp-err.s index 6e037e03a04..da6bfbd16f4 100644 --- a/llvm/test/MC/AMDGPU/sopp-err.s +++ b/llvm/test/MC/AMDGPU/sopp-err.s @@ -9,16 +9,16 @@ s_sendmsg sendmsg(MSG_INTERRUPTX) // GCN: error: invalid/unsupported symbolic name of message s_sendmsg sendmsg(MSG_INTERRUPT, 0) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(MSG_GS) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(MSG_GS, GS_OP_NOP) // GCN: error: invalid GS_OP: NOP is for GS_DONE only s_sendmsg sendmsg(MSG_GS, GS_OP_CUT, 0, 0) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(MSG_GSX, GS_OP_CUT, 0) // GCN: error: invalid/unsupported symbolic name of message @@ -30,13 +30,13 @@ s_sendmsg sendmsg(MSG_GS, GS_OP_CUT, 4) // GCN: error: invalid stream id: only 2-bit values are legal s_sendmsg sendmsg(2) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(2, 0) // GCN: error: invalid GS_OP: NOP is for GS_DONE only s_sendmsg sendmsg(2, 3, 0, 0) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(2, 4, 1) // GCN: error: invalid code of GS_OP: only 2-bit values are legal @@ -45,16 +45,16 @@ s_sendmsg sendmsg(2, 2, 4) // GCN: error: invalid stream id: only 2-bit values are legal s_sendmsg sendmsg(2, 2, 0, 0) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(MSG_GS_DONE, GS_OP_NOP, 0) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(15) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(15, 1, 0) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(15, 0) // GCN: error: invalid/unsupported code of SYSMSG_OP @@ -63,10 +63,10 @@ s_sendmsg sendmsg(15, 5) // GCN: error: invalid/unsupported code of SYSMSG_OP s_sendmsg sendmsg(MSG_SYSMSG) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(MSG_SYSMSG, SYSMSG_OP_ECC_ERR_INTERRUPT, 0) -// GCN: error: not a valid operand +// GCN: error: failed parsing operand s_sendmsg sendmsg(MSG_SYSMSG, 0) // GCN: error: invalid/unsupported code of SYSMSG_OP |

