<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [AMDGPU][MC][DISASSEMBLER][GFX9] Incorrect decoding of GLOBAL/SCRATCH instructions"
href="https://bugs.llvm.org/show_bug.cgi?id=35433">35433</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[AMDGPU][MC][DISASSEMBLER][GFX9] Incorrect decoding of GLOBAL/SCRATCH instructions
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: AMDGPU
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dpreobrazhensky@luxoft.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Global atomic instructions are decoded incorrectly, e.g.
0x00,0x80,0x08,0xdd,0x02,0x04,0x00,0x00
is decoded as
global_atomic_add v[2:3], v4s[0:1]
should be:
global_atomic_add v[2:3], v4, s[0:1]
Also, 13-bit signed offsets in GLOBAL/SCRATCH opcodes are decoded as unsigned,
e.g.
0xfc,0x5f,0x68,0xdc,0x00,0x00,0x00,0x00
is decoded as
scratch_store_short off, v0, s0 offset:8188
should be:
scratch_store_short off, v0, s0 offset:-4096</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>