mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
implement the 'c' inline asm modifier character
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31325 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
edc28277cc
commit
0d92499455
@ -399,6 +399,9 @@ bool X86ATTAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
|
|||||||
|
|
||||||
switch (ExtraCode[0]) {
|
switch (ExtraCode[0]) {
|
||||||
default: return true; // Unknown modifier.
|
default: return true; // Unknown modifier.
|
||||||
|
case 'c': // Don't print "$" before a global var name.
|
||||||
|
printOperand(MI, OpNo, "mem");
|
||||||
|
return false;
|
||||||
case 'b': // Print QImode register
|
case 'b': // Print QImode register
|
||||||
case 'h': // Print QImode high register
|
case 'h': // Print QImode high register
|
||||||
case 'w': // Print HImode register
|
case 'w': // Print HImode register
|
||||||
|
Loading…
Reference in New Issue
Block a user