-
zhengxing.li authored
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= Review URL: https://codereview.chromium.org/1856303002 Cr-Commit-Position: refs/heads/master@{#35250}
da477bc7