<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - [mc] flat_load -- with tfe, fetch-dest size shall be inreased by 1."
href="https://llvm.org/bugs/show_bug.cgi?id=28230">28230</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[mc] flat_load -- with tfe, fetch-dest size shall be inreased by 1.
</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>Windows NT
</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>artem.tamazov@amd.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>artem.tamazov@amd.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, nikolay.haustov@amd.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=16611" name="attach_16611" title="00008.tests_tg_gfx7_asm_lit1_bug.06.08.min.flat_load-tfe.zip">attachment 16611</a> <a href="attachment.cgi?id=16611&action=edit" title="00008.tests_tg_gfx7_asm_lit1_bug.06.08.min.flat_load-tfe.zip">[details]</a></span>
00008.tests_tg_gfx7_asm_lit1_bug.06.08.min.flat_load-tfe.zip
GCN ISA spec says:
TFE -- Texel Fail Enable for PRT (partially resident textures). When set to 1,
fetch can return a NACK that causes a VGPR write into DST+1 (first GPR after
all fetch-dest GPRs).
Examples:
<span class="quote">> flat_load_dword v2, v[0:1] // correct
> flat_load_dword v[2:3], v[0:1] tfe // fails</span >
Tested with r273139 (git # 4a94acfea8bfd6eb6b5809dd40f03e1fa42e673a)
Some GFX7 lit tests attached.
Similar problem with flat_atomic insns.</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>