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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs