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

Issue 2773583003: MIPS[64]: Port `[deoptimizer] Fill the single precision registers in the deoptimizer entry stub.` (Closed)

Created:
3 years, 9 months ago by ivica.bogosavljevic
Modified:
3 years, 9 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS[64]: Port `[deoptimizer] Fill the single precision registers in the deoptimizer entry stub.` Port 798ffc9d67e25a0aa9b0be145892c27f2ac5391f TEST=mjsunit/compiler/regress-v8-6077 BUG= Review-Url: https://codereview.chromium.org/2773583003 Cr-Commit-Position: refs/heads/master@{#44086} Committed: https://chromium.googlesource.com/v8/v8/+/2458683f5542aeaa6ff0b32dc4d376c48dde4509

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -5 lines) Patch
M src/mips/deoptimizer-mips.cc View 1 4 chunks +23 lines, -2 lines 0 comments Download
M src/mips64/deoptimizer-mips64.cc View 4 chunks +25 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
ivica.bogosavljevic
PTAL
3 years, 9 months ago (2017-03-23 11:01:03 UTC) #2
ivica.bogosavljevic
3 years, 9 months ago (2017-03-23 11:01:27 UTC) #3
Jarin
lgtm, thanks! https://codereview.chromium.org/2773583003/diff/1/src/mips/deoptimizer-mips.cc File src/mips/deoptimizer-mips.cc (right): https://codereview.chromium.org/2773583003/diff/1/src/mips/deoptimizer-mips.cc#newcode217 src/mips/deoptimizer-mips.cc:217: // float_registers_[FloarRegister::kNumAllocatableRegisters] Floar -> Float?
3 years, 9 months ago (2017-03-23 12:31:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2773583003/20001
3 years, 9 months ago (2017-03-24 08:20:11 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/v8/v8/+/2458683f5542aeaa6ff0b32dc4d376c48dde4509
3 years, 9 months ago (2017-03-24 08:21:32 UTC) #14
ivica.bogosavljevic
3 years, 9 months ago (2017-03-24 12:03:30 UTC) #15
Message was sent while issue was closed.
On 2017/03/23 12:31:32, Jarin wrote:
> lgtm, thanks!
> 
> https://codereview.chromium.org/2773583003/diff/1/src/mips/deoptimizer-mips.cc
> File src/mips/deoptimizer-mips.cc (right):
> 
>
https://codereview.chromium.org/2773583003/diff/1/src/mips/deoptimizer-mips.c...
> src/mips/deoptimizer-mips.cc:217: //
> float_registers_[FloarRegister::kNumAllocatableRegisters]
> Floar -> Float?

Jarin, I just realized I missed something. The single and double registers on
MIPS are overlayed i.e. 
float f0 and f1 are same as double f0, float f2 and f3 are same as double f2.
I don't understand completely the motivation for this change and if it's needed,
but without it the newly introduced test fails. Do you think we could lower the
deoptimization
costs by taking advantage of the fact that single and double registers are
overlayed for MIPS?

Powered by Google App Engine
This is Rietveld 408576698