Skip to content

Incorrect assembly of "xchg %eax, %eax" on x86-64 #10717

New issue

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

Closed
efriedma-quic opened this issue Jul 13, 2011 · 3 comments
Closed

Incorrect assembly of "xchg %eax, %eax" on x86-64 #10717

efriedma-quic opened this issue Jul 13, 2011 · 3 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla

Comments

@efriedma-quic
Copy link
Collaborator

Bugzilla Link 10345
Resolution FIXED
Resolved on Oct 06, 2011 10:17
Version unspecified
OS All
Blocks llvm/llvm-bugzilla-archive#10988
CC @topperc

Extended Description

$ echo "xchg %eax, %eax" | llvm-mc -show-encoding
xchgl %eax, %eax ## encoding: [0x90]

The correct encoding is "0x87 0xc0"; the given encoding, "0x90", is a nop.

@efriedma-quic
Copy link
Collaborator Author

assigned to @topperc

@topperc
Copy link
Collaborator

topperc commented Oct 6, 2011

Fixed in r141274.

@bcardosolopes
Copy link
Member

mentioned in issue llvm/llvm-bugzilla-archive#10988

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

3 participants