Port support for SSE4a extrq/insertq to the old jit code emitter.

llvm-svn: 157685
This commit is contained in:
Benjamin Kramer 2012-05-30 09:13:55 +00:00
parent 43f299647a
commit 11fa8a91e7

View File

@ -1433,7 +1433,7 @@ void Emitter<CodeEmitter>::emitInstruction(MachineInstr &MI,
break;
}
if (CurOp != NumOps) {
while (CurOp != NumOps && NumOps - CurOp <= 2) {
// The last source register of a 4 operand instruction in AVX is encoded
// in bits[7:4] of a immediate byte.
if ((TSFlags >> X86II::VEXShift) & X86II::VEX_I8IMM) {