<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 --- - Power 128bit atomics support"
href="https://llvm.org/bugs/show_bug.cgi?id=30471">30471</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Power 128bit atomics support
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>v.churavy@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Right now a
atomicrmw xchg i128* %2, i128 13 acq_rel
get's lowered to
__sync_lock_test_and_set_16
This is problematic to handle for JIT compilers since the family of `__sync`
libcalls are implemented as builtins in clang and gcc. (I have not found a
library that implements them). I am seeking guidance on how a JIT frontend is
supposed to handle the `__sync` libcalls.
Alternatively llvm needs to lower 128bit atomics to the corresponding
definitions in libatomic/compiler-rt (which happens in most other cases.)</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>