<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 - [mc] vmcnt() expcnt() lgkmcnt() helpers to check that value fits into appropriate field"
href="https://bugs.llvm.org/show_bug.cgi?id=32711">32711</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[mc] vmcnt() expcnt() lgkmcnt() helpers to check that value fits into appropriate field
</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>Linux
</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>i.am.perminov@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>vmcnt() expcnt() lgkmcnt() helpers that are used to construct immediate for
s_waitcnt instruction does not check that provided value fits into appropriate
fields. Example:
s_waitcnt vmcnt(666)
It's better to produce an error rather than silently truncate values. Also we
would like to see additional set of helpers (vmcnt_sat() expcnt_sat()
lgkmcnt_sat()) which would produce saturated output.
Note that allowable ranges differs on gfx8 and gfx9 hardware.</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>