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

Issue 16398008: Implements checks for 53-bit overflow for x64. (Closed)

Created:
7 years, 6 months ago by zra
Modified:
7 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Implements checks for 53-bit overflow for x64. R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=23721

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -12 lines) Patch
M runtime/vm/intermediate_language.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 10 chunks +25 lines, -0 lines 1 comment Download
M runtime/vm/intrinsifier.cc View 1 4 chunks +7 lines, -6 lines 0 comments Download
M runtime/vm/object.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M tests/standalone/standalone.status View 1 1 chunk +0 lines, -4 lines 1 comment Download

Messages

Total messages: 10 (0 generated)
zra
7 years, 6 months ago (2013-06-06 21:15:24 UTC) #1
srdjan
LGTM https://codereview.chromium.org/16398008/diff/1/runtime/vm/intermediate_language_x64.cc File runtime/vm/intermediate_language_x64.cc (right): https://codereview.chromium.org/16398008/diff/1/runtime/vm/intermediate_language_x64.cc#newcode2136 runtime/vm/intermediate_language_x64.cc:2136: if (FLAG_throw_on_javascript_int_overflow) { I think that it should ...
7 years, 6 months ago (2013-06-06 21:59:02 UTC) #2
zra
On 2013/06/06 21:59:02, srdjan wrote: > LGTM > > https://codereview.chromium.org/16398008/diff/1/runtime/vm/intermediate_language_x64.cc > File runtime/vm/intermediate_language_x64.cc (right): > ...
7 years, 6 months ago (2013-06-06 22:08:51 UTC) #3
Ivan Posva
https://codereview.chromium.org/16398008/diff/1/runtime/vm/intermediate_language_x64.cc File runtime/vm/intermediate_language_x64.cc (right): https://codereview.chromium.org/16398008/diff/1/runtime/vm/intermediate_language_x64.cc#newcode2136 runtime/vm/intermediate_language_x64.cc:2136: if (FLAG_throw_on_javascript_int_overflow) { On 2013/06/06 21:59:02, srdjan wrote: > ...
7 years, 6 months ago (2013-06-06 22:10:18 UTC) #4
zra
Oh, okay. I was confused. I was assuming that if CanDeoptimize() was false, then there ...
7 years, 6 months ago (2013-06-06 22:17:21 UTC) #5
srdjan
On 2013/06/06 22:08:51, zra wrote: > On 2013/06/06 21:59:02, srdjan wrote: > > LGTM > ...
7 years, 6 months ago (2013-06-06 22:18:21 UTC) #6
zra
On 2013/06/06 22:18:21, srdjan wrote: > The simplest solution is to change the appropriate CanDeoptimize ...
7 years, 6 months ago (2013-06-06 22:32:20 UTC) #7
srdjan
lgtm
7 years, 6 months ago (2013-06-06 22:46:31 UTC) #8
zra
Committed patchset #2 manually as r23721 (presubmit successful).
7 years, 6 months ago (2013-06-06 22:48:25 UTC) #9
Florian Schneider
7 years, 6 months ago (2013-06-07 07:33:15 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/16398008/diff/10001/runtime/vm/intermediate_l...
File runtime/vm/intermediate_language_x64.cc (right):

https://codereview.chromium.org/16398008/diff/10001/runtime/vm/intermediate_l...
runtime/vm/intermediate_language_x64.cc:3699: __ j(OVERFLOW, deopt);
What about this operation?

https://codereview.chromium.org/16398008/diff/10001/tests/standalone/standalo...
File tests/standalone/standalone.status (left):

https://codereview.chromium.org/16398008/diff/10001/tests/standalone/standalo...
tests/standalone/standalone.status:161: 53bit_overflow_test: Fail
This test does not cover the generated code for smi-ops because it never
triggers optimization for the test functions (like integer_add).

Powered by Google App Engine
This is Rietveld 408576698