We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ 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)
The text was updated successfully, but these errors were encountered:
Hi, I checked this issue with the current trunk: everythig works perfectly:
atischenko@ip-172-31-21-62:~/workspaces/trunk/build/bin$ cat test.s xrelease lock subq $1,4(%rip);
atischenko@ip-172-31-21-62:~/workspaces/trunk/build/bin$ llvm-mc -show-encoding test.s .text xrelease # encoding: [0xf3] lock subq $1, 4(%rip) # encoding: [0xf0,0x48,0x83,0x2d,0x03,0x00,0x00,0x00,0x01]
atischenko@ip-172-31-21-62:~/workspaces/trunk/build/bin$ cat test.txt 0xf3, 0xf0,0x48,0x83,0x2d,0x03,0x00,0x00,0x00,0x01
atischenko@ip-172-31-21-62:~/workspaces/trunk/build/bin$ llvm-mc -disassemble test.txt .text xrelease lock subq $1, 3(%rip)
As you see both assembler and dissassembler produce correct results. It seems we should close the bug, right?
Sorry, something went wrong.
No branches or pull requests
Extended Description
gcc accepts this fine. For now treating is as a separate instruction with
;
works,but seems a little wrong.
The text was updated successfully, but these errors were encountered: