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

Issue 2163963003: MIPS: Fix infinite loop in Math.pow(2,-2147483648) (Closed)

Created:
4 years, 5 months ago by ivica.bogosavljevic
Modified:
4 years, 5 months ago
CC:
v8-mips-ports_googlegroups.com, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS: Fix infinite loop in Math.pow(2,-2147483648) BUG=v8:5213 Committed: https://crrev.com/eaa86cbf0612366b4e69006e2410e8d2d8bbafa7 Cr-Commit-Position: refs/heads/master@{#37955}

Patch Set 1 #

Patch Set 2 : MIPS: Fix infinite loop in Math.pow(2,-2147483648) #

Total comments: 10

Patch Set 3 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M src/mips/code-stubs-mips.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
A + test/mjsunit/regress/regress-5213.js View 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
ivica.bogosavljevic
PTAL
4 years, 5 months ago (2016-07-20 15:58:35 UTC) #3
akos.palfi.imgtec
LGTM with nits. @Andreas, @Benedikt: PTAL. https://codereview.chromium.org/2163963003/diff/20001/src/mips/code-stubs-mips.cc File src/mips/code-stubs-mips.cc (right): https://codereview.chromium.org/2163963003/diff/20001/src/mips/code-stubs-mips.cc#newcode830 src/mips/code-stubs-mips.cc:830: // (happens only ...
4 years, 5 months ago (2016-07-21 11:23:27 UTC) #5
ahaas
lgtm
4 years, 5 months ago (2016-07-21 11:37:25 UTC) #6
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/2163963003/20001
4 years, 5 months ago (2016-07-21 13:22:31 UTC) #8
Benedikt Meurer
LGTM.
4 years, 5 months ago (2016-07-21 17:29:11 UTC) #14
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/2163963003/40001
4 years, 5 months ago (2016-07-21 19:32:45 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-21 19:34:26 UTC) #19
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/eaa86cbf0612366b4e69006e2410e8d2d8bbafa7 Cr-Commit-Position: refs/heads/master@{#37955}
4 years, 5 months ago (2016-07-21 19:38:17 UTC) #21
ivica.bogosavljevic
4 years, 5 months ago (2016-07-22 14:45:08 UTC) #22
Message was sent while issue was closed.
https://codereview.chromium.org/2163963003/diff/20001/src/mips/code-stubs-mip...
File src/mips/code-stubs-mips.cc (right):

https://codereview.chromium.org/2163963003/diff/20001/src/mips/code-stubs-mip...
src/mips/code-stubs-mips.cc:830: // (happens only when input is MIN_INT)
On 2016/07/21 11:23:27, akos.palfi.imgtec wrote:
> Nit: please put period at the end of the sentence.

Acknowledged.

https://codereview.chromium.org/2163963003/diff/20001/src/mips/code-stubs-mip...
src/mips/code-stubs-mips.cc:831: __ BranchShort(&bail_out, gt, zero_reg,
Operand(scratch));
On 2016/07/21 11:23:27, akos.palfi.imgtec wrote:
> You should use Branch() instead of BranchShort().

Acknowledged.

https://codereview.chromium.org/2163963003/diff/20001/src/mips64/code-stubs-m...
File src/mips64/code-stubs-mips64.cc (right):

https://codereview.chromium.org/2163963003/diff/20001/src/mips64/code-stubs-m...
src/mips64/code-stubs-mips64.cc:826: // Check when Subu overflows and we get
negative result
On 2016/07/21 11:23:27, akos.palfi.imgtec wrote:
> Nit: s/Subu/Dsubu

Acknowledged.

https://codereview.chromium.org/2163963003/diff/20001/src/mips64/code-stubs-m...
src/mips64/code-stubs-mips64.cc:827: // (happens only when input is MIN_INT)
On 2016/07/21 11:23:27, akos.palfi.imgtec wrote:
> Nit: please put period at the end of the sentence.

Acknowledged.

https://codereview.chromium.org/2163963003/diff/20001/src/mips64/code-stubs-m...
src/mips64/code-stubs-mips64.cc:828: __ BranchShort(&bail_out, gt, zero_reg,
Operand(scratch));
On 2016/07/21 11:23:27, akos.palfi.imgtec wrote:
> You should use Branch() instead of BranchShort().

Acknowledged.

Powered by Google App Engine
This is Rietveld 408576698