implement the 'c' inline asm modifier character

llvm-svn: 31325
This commit is contained in:
Chris Lattner 2006-10-31 20:12:30 +00:00
parent 13d62d5efa
commit 60ce558aaa
1 changed files with 3 additions and 0 deletions

View File

@ -399,6 +399,9 @@ bool X86ATTAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
switch (ExtraCode[0]) {
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 'h': // Print QImode high register
case 'w': // Print HImode register