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

Issue 6331005: ARM: Implement fast code for ModI. (Closed)

Created:
9 years, 11 months ago by Karl Klose
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Implement fast code for the common cases of left hand sides that are less than three times larger as the right hand side and and right hand sides that are powers of two up and including 32. In the covered special cases the result is computed directly, else the generic stub is called. The implementation deoptimizes only for mod 0 and if the result may be a negative zero. BUG=none TEST=none

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix negative case and power of two case. #

Patch Set 3 : Correct bug and add comment. #

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

Messages

Total messages: 4 (0 generated)
Karl Klose
9 years, 11 months ago (2011-01-18 14:33:51 UTC) #1
Søren Thygesen Gjesse
http://codereview.chromium.org/6331005/diff/1/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (right): http://codereview.chromium.org/6331005/diff/1/src/arm/lithium-codegen-arm.cc#newcode1041 src/arm/lithium-codegen-arm.cc:1041: // Try a few common cases before using the ...
9 years, 11 months ago (2011-01-18 15:58:38 UTC) #2
Karl Klose
http://codereview.chromium.org/6331005/diff/1/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (right): http://codereview.chromium.org/6331005/diff/1/src/arm/lithium-codegen-arm.cc#newcode1041 src/arm/lithium-codegen-arm.cc:1041: // Try a few common cases before using the ...
9 years, 11 months ago (2011-01-20 02:12:12 UTC) #3
Søren Thygesen Gjesse
9 years, 11 months ago (2011-01-20 07:17:57 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698