1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Don't have a cow with new pseudo instructions

llvm-svn: 6009
This commit is contained in:
Chris Lattner 2003-05-06 21:31:47 +00:00
parent e4c33a0ca0
commit b6fab2a875
2 changed files with 6 additions and 4 deletions

View File

@ -259,7 +259,8 @@ void Emitter::emitInstruction(MachineInstr &MI) {
switch (Desc.TSFlags & X86II::FormMask) {
default: assert(0 && "Unknown FormMask value in X86 MachineCodeEmitter!");
case X86II::Pseudo:
std::cerr << "X86 Machine Code Emitter: No 'form', not emitting: " << MI;
if (Opcode != X86::IMPLICIT_DEF && Opcode != X86::IMPLICIT_USE)
std::cerr << "X86 Machine Code Emitter: No 'form', not emitting: " << MI;
break;
case X86II::RawFrm:
@ -307,7 +308,7 @@ void Emitter::emitInstruction(MachineInstr &MI) {
emitRegModRMByte(MI.getOperand(0).getReg(), getX86RegNum(SrcOp.getReg()));
if (MI.getNumOperands() == 4)
emitConstant(MI.getOperand(3).getImmedValue(), sizeOfPtr(Desc));
break;
break;
}
case X86II::MRMDestMem:
MCE.emitByte(BaseOpcode);

View File

@ -259,7 +259,8 @@ void Emitter::emitInstruction(MachineInstr &MI) {
switch (Desc.TSFlags & X86II::FormMask) {
default: assert(0 && "Unknown FormMask value in X86 MachineCodeEmitter!");
case X86II::Pseudo:
std::cerr << "X86 Machine Code Emitter: No 'form', not emitting: " << MI;
if (Opcode != X86::IMPLICIT_DEF && Opcode != X86::IMPLICIT_USE)
std::cerr << "X86 Machine Code Emitter: No 'form', not emitting: " << MI;
break;
case X86II::RawFrm:
@ -307,7 +308,7 @@ void Emitter::emitInstruction(MachineInstr &MI) {
emitRegModRMByte(MI.getOperand(0).getReg(), getX86RegNum(SrcOp.getReg()));
if (MI.getNumOperands() == 4)
emitConstant(MI.getOperand(3).getImmedValue(), sizeOfPtr(Desc));
break;
break;
}
case X86II::MRMDestMem:
MCE.emitByte(BaseOpcode);