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

Issue 2873001: ARM: Special case for modulus of two smis in the generic binary opration stub... (Closed)

Created:
10 years, 6 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

ARM: Special case for modulus of two smis in the generic binary opration stub When lhs and rhs are positive smis and rhs is a power of two perform modulus by masking. Committed: http://code.google.com/p/v8/source/detail?r=4884

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M src/arm/codegen-arm.cc View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Søren Thygesen Gjesse
10 years, 6 months ago (2010-06-16 14:55:05 UTC) #1
Erik Corry
LGTM http://codereview.chromium.org/2873001/diff/1/2 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/2873001/diff/1/2#newcode8172 src/arm/codegen-arm.cc:8172: // support for modulus checking for smis makes ...
10 years, 6 months ago (2010-06-16 15:20:27 UTC) #2
Søren Thygesen Gjesse
10 years, 6 months ago (2010-06-16 20:02:41 UTC) #3
http://codereview.chromium.org/2873001/diff/1/2
File src/arm/codegen-arm.cc (right):

http://codereview.chromium.org/2873001/diff/1/2#newcode8172
src/arm/codegen-arm.cc:8172: // support for modulus checking for smis makes
sense.
On 2010/06/16 15:20:27, Erik Corry wrote:
> 'even though the default is not to do it' doesn't make sense to me here.

Well I was trying to explain

  ASSERT(!ShouldGenerateSmiCode());

but failed. Rephrased the comment.

Powered by Google App Engine
This is Rietveld 408576698