[llvm-bugs] [Bug 30471] New: Power 128bit atomics support

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 21 06:44:16 PDT 2016


            Bug ID: 30471
           Summary: Power 128bit atomics support
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: v.churavy at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Right now a 
    atomicrmw xchg i128* %2, i128 13 acq_rel 
get's lowered to 

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.)

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160921/c645028d/attachment.html>

More information about the llvm-bugs mailing list