case MachineOperand::MO_MachineRegister:
if (MO.getReg() < MRegisterInfo::FirstVirtualRegister) {
// Bug Workaround: See note in Printer::doInitialization about %.
- if (!EmitCygwin) O << "%";
O << RI.get(MO.getReg()).Name;
} else
O << "%reg" << MO.getReg();
if (Desc.TSFlags & X86II::PrintImplUses) {
for (const unsigned *p = Desc.ImplicitUses; *p; ++p) {
// Bug Workaround: See note in Printer::doInitialization about %.
- O << ", " << (EmitCygwin ? "" : "%") << RI.get(*p).Name;
+ O << ", %" << RI.get(*p).Name;
}
}
}
//
// Cygwin presumably doesn't have this problem, so drop the %'s.
//
- O << "\t.intel_syntax";
- if (EmitCygwin) O << " noprefix";
- O << "\n";
+ O << "\t.intel_syntax\n";
Mang = new Mangler(M, EmitCygwin);
return false; // success
}
case MachineOperand::MO_MachineRegister:
if (MO.getReg() < MRegisterInfo::FirstVirtualRegister) {
// Bug Workaround: See note in Printer::doInitialization about %.
- if (!EmitCygwin) O << "%";
O << RI.get(MO.getReg()).Name;
} else
O << "%reg" << MO.getReg();
if (Desc.TSFlags & X86II::PrintImplUses) {
for (const unsigned *p = Desc.ImplicitUses; *p; ++p) {
// Bug Workaround: See note in Printer::doInitialization about %.
- O << ", " << (EmitCygwin ? "" : "%") << RI.get(*p).Name;
+ O << ", %" << RI.get(*p).Name;
}
}
}
//
// Cygwin presumably doesn't have this problem, so drop the %'s.
//
- O << "\t.intel_syntax";
- if (EmitCygwin) O << " noprefix";
- O << "\n";
+ O << "\t.intel_syntax\n";
Mang = new Mangler(M, EmitCygwin);
return false; // success
}