Currently, if an opcode gets its first operand in eax and its second operand in edx, the read from eax will kill the last result register. Instead, if there is an opportunity for optimization for the second operand we should move eax to edx and then read the first operand from memory into eax.
Created attachment 25142 [details] Proposed patch
Comment on attachment 25142 [details] Proposed patch r=me
Landed in r38379.