[llvm-bugs] [Bug 31080] New: xacquire/xrelease parsed improperly

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 20 16:08:02 PST 2016


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

            Bug ID: 31080
           Summary: xacquire/xrelease parsed improperly
           Product: libraries
           Version: 3.9
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: kfischer at college.harvard.edu
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

```
$ llvm-mc
xrelease lock subq $1,4(%rip)
    .text
<stdin>:1:15: error: unexpected token in argument list
xrelease lock subq $1,4(%rip)
              ^
```
gcc accepts this fine. For now treating is as a separate instruction with `;`
works,
but seems a little wrong.
```
xrelease; lock subq $1,4(%rip)
```

-- 
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/20161121/a9f61ba0/attachment.html>


More information about the llvm-bugs mailing list