Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Issue 1116073002: MIPS: Do not use the 64-bit floor and truncate instructions in fp32 mode. (Closed)

Created:
5 years, 7 months ago by akos.palfi.imgtec
Modified:
5 years, 7 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

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 Committed: https://crrev.com/900bc7937c28219b39fcc5776ce945cf6fda367e Cr-Commit-Position: refs/heads/master@{#28194}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use IsFp64Mode(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/compiler/mips/instruction-selector-mips.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (4 generated)
dusmil.imgtec
https://codereview.chromium.org/1116073002/diff/1/src/compiler/mips/instruction-selector-mips.cc File src/compiler/mips/instruction-selector-mips.cc (right): https://codereview.chromium.org/1116073002/diff/1/src/compiler/mips/instruction-selector-mips.cc#newcode984 src/compiler/mips/instruction-selector-mips.cc:984: kFpuMode == kFP64) { You should use IsFp64Mode() instead.
5 years, 7 months ago (2015-04-30 14:35:38 UTC) #2
akos.palfi.imgtec
Thanks, Dusan. I've uploaded a new patchset. https://codereview.chromium.org/1116073002/diff/1/src/compiler/mips/instruction-selector-mips.cc File src/compiler/mips/instruction-selector-mips.cc (right): https://codereview.chromium.org/1116073002/diff/1/src/compiler/mips/instruction-selector-mips.cc#newcode984 src/compiler/mips/instruction-selector-mips.cc:984: kFpuMode == ...
5 years, 7 months ago (2015-04-30 14:45:49 UTC) #3
paul.l...
nit: let's change the subject/commit message to say 'fp32' mode, so that we are consistent ...
5 years, 7 months ago (2015-05-04 05:08:59 UTC) #5
akos.palfi.imgtec
On 2015/05/04 05:08:59, paul.l... wrote: > nit: let's change the subject/commit message to say 'fp32' ...
5 years, 7 months ago (2015-05-04 09:38:09 UTC) #6
dusmil.imgtec
LGTM.
5 years, 7 months ago (2015-05-04 10:27:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1116073002/20001
5 years, 7 months ago (2015-05-04 11:13:20 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-04 12:06:03 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-05-04 12:06:20 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/900bc7937c28219b39fcc5776ce945cf6fda367e
Cr-Commit-Position: refs/heads/master@{#28194}

Powered by Google App Engine
This is Rietveld 408576698