Commit fa987955 authored by zhengxing.li's avatar zhengxing.li Committed by Commit bot

X87: [TurboFan] Increase SP Delta when the operand of kX87Push is in double register.

  As the operand in double register is put into stack, the SP delta should be increased too similar to
  the operand of kX87Push is in double slot of stack.

BUG=

Review URL: https://codereview.chromium.org/1549133002

Cr-Commit-Position: refs/heads/master@{#33045}
parent 97def807
......@@ -1267,6 +1267,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
__ sub(esp, Immediate(kDoubleSize));
__ fst_d(Operand(esp, 0));
}
frame_access_state()->IncreaseSPDelta(kDoubleSize / kPointerSize);
} else if (instr->InputAt(0)->IsDoubleStackSlot()) {
auto allocated = AllocatedOperand::cast(*instr->InputAt(0));
if (allocated.representation() == MachineRepresentation::kFloat32) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment