[llvm-bugs] [Bug 38655] New: sparc membar instruction not supported

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 20 19:12:36 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38655

            Bug ID: 38655
           Summary: sparc membar instruction not supported
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: Sparc
          Assignee: unassignedbugs at nondot.org
          Reporter: brad at comstyle.com
                CC: llvm-bugs at lists.llvm.org

The Sparc backend for SPARCv9 does not support the membar instruction.


/usr/local/include/c++/4.9.4/sparc64-unknown-openbsd6.2/bits/atomic_word.h:38:21:
\
note: expanded from macro '_GLIBCXX_READ_MEM_BARRIER'  __asm __volatile
("membar \
#LoadLoad":::"memory")  ^
<inline asm>:1:9: note: instantiated into assembly here
        membar #LoadLoad
               ^

/usr/local/include/c++/4.9.4/sparc64-unknown-openbsd6.2/bits/atomic_word.h:40:21:
\
note: expanded from macro '_GLIBCXX_WRITE_MEM_BARRIER'                         
      \
  __asm __volatile ("membar #StoreStore":::"memory")
                    ^
<inline asm>:1:9: note: instantiated into assembly here
        membar #StoreStore
               ^

-- 
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/20180821/63300627/attachment.html>


More information about the llvm-bugs mailing list