mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Fix assembling of xchg %eax, %eax to not use the NOP encoding of 0x90. This was done by creating a new register group that excludes AX registers. Fixes PR10345. Also added aliases for flipping the order of the operands of xchg <reg>, %eax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -256,12 +256,15 @@ static int X86TypeFromOpName(LiteralConstantEmitter *type,
|
||||
REG("GR8");
|
||||
REG("GR8_NOREX");
|
||||
REG("GR16");
|
||||
REG("GR16_NOAX");
|
||||
REG("GR32");
|
||||
REG("GR32_NOAX");
|
||||
REG("GR32_NOREX");
|
||||
REG("GR32_TC");
|
||||
REG("FR32");
|
||||
REG("RFP32");
|
||||
REG("GR64");
|
||||
REG("GR64_NOAX");
|
||||
REG("GR64_TC");
|
||||
REG("FR64");
|
||||
REG("VR64");
|
||||
|
||||
Reference in New Issue
Block a user