diff options
| author | Nikolay Haustov <Nikolay.Haustov@amd.com> | 2016-03-09 10:56:19 +0000 |
|---|---|---|
| committer | Nikolay Haustov <Nikolay.Haustov@amd.com> | 2016-03-09 10:56:19 +0000 |
| commit | 8e3f099497f113f964f34560c4d66e0fe72de313 (patch) | |
| tree | 3a569ead29b353db6830c68bde808c7feca8ff25 /llvm/test | |
| parent | 7186309cde553e503143e20eb47cff1868f4474e (diff) | |
| download | bcm5719-llvm-8e3f099497f113f964f34560c4d66e0fe72de313.tar.gz bcm5719-llvm-8e3f099497f113f964f34560c4d66e0fe72de313.zip | |
[AMDGPU] Assembler: Fix s_setpc_b64
s_setpc_b64 has just one 64-bit source which is the address of instruction to jump to.
Differential Revision: http://reviews.llvm.org/D17888
llvm-svn: 263005
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/AMDGPU/sop1.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/AMDGPU/sop1.s b/llvm/test/MC/AMDGPU/sop1.s index 5f63f993074..6bfbfd574c1 100644 --- a/llvm/test/MC/AMDGPU/sop1.s +++ b/llvm/test/MC/AMDGPU/sop1.s @@ -133,8 +133,8 @@ s_bitset1_b64 s[2:3], s[4:5] s_getpc_b64 s[2:3] // CHECK: s_getpc_b64 s[2:3] ; encoding: [0x00,0x1f,0x82,0xbe] -s_setpc_b64 s[2:3], s[4:5] -// CHECK: s_setpc_b64 s[2:3], s[4:5] ; encoding: [0x04,0x20,0x82,0xbe] +s_setpc_b64 s[4:5] +// CHECK: s_setpc_b64 s[4:5] ; encoding: [0x04,0x20,0x80,0xbe] s_swappc_b64 s[2:3], s[4:5] // CHECK: s_swappc_b64 s[2:3], s[4:5] ; encoding: [0x04,0x21,0x82,0xbe] |

