MIPS: Do not use the 64-bit floor and truncate instructions in fp32 mode.
authorakos.palfi <akos.palfi@imgtec.com>
Mon, 4 May 2015 12:05:58 +0000 (05:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 4 May 2015 12:06:03 +0000 (12:06 +0000)
commit900bc7937c28219b39fcc5776ce945cf6fda367e
tree1f175c02cac4e1ab5bc97b19021a0f7811824572
parent72ab42172979b60a1b784ea0c6a495d7ee2bba67
MIPS: Do not use the 64-bit floor and truncate instructions in fp32 mode.

These instructions have unpredictable result when the processor is in fp32 mode.

BUG=

TEST=mjsunit/math-floor-global,math-floor-local,math-floor-part1

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

Cr-Commit-Position: refs/heads/master@{#28194}
src/compiler/mips/instruction-selector-mips.cc