Skip to content
Commit 5aebebe1 authored by Craig Topper's avatar Craig Topper
Browse files

Revert part of r141274. Only need to change encoding for xchg %eax, %eax in...

Revert part of r141274. Only need to change encoding for xchg %eax, %eax in 64-bit mode. This is because in 64-bit mode xchg %eax, %eax implies zeroing the upper 32-bits of RAX which makes it not a NOP. In 32-bit mode using NOP encoding is fine.

llvm-svn: 141353
parent c26e4454
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment