Description[X87] [Crankshaft] Fix DoMathFloor and DoMathRound code generation bug.
The CL #35067 (https://codereview.chromium.org/1830703003) exposed one hidden bug in x87 crankshaft code generation for DoMathFloor and DoMathRound.
The current DoMathFloor will change the default round mode of x87 FPU and then deoptimized into FC code before the default x87 FPU's round mode was restored.
This behavior caused several test cases fail as the FC code expected to run under the default x87 FPU's round mode.
This CL fixed this bug.
BUG=
Committed: https://crrev.com/da477bc7e284f2eb07f9f79a5214525c482d3c55
Cr-Commit-Position: refs/heads/master@{#35250}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|