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 4c1c832e2e
commit f1e0b6cdf7
1 changed files with 1 additions and 1 deletions

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) {