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

Issue 2054007: ARM: Optimize shifts by constant integers, especially... (Closed)

Created:
10 years, 7 months ago by Erik Corry
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM: Optimize shifts by constant integers, especially shifts by zero or arithmetic shifts. Updated to also eliminate ASR followed by LSL as per part two of http://codereview.chromium.org/1987008/show Committed: http://code.google.com/p/v8/source/detail?r=4641

Patch Set 1 #

Patch Set 2 : '' #

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

Messages

Total messages: 2 (0 generated)
Erik Corry
10 years, 7 months ago (2010-05-10 13:44:35 UTC) #1
Søren Thygesen Gjesse
10 years, 7 months ago (2010-05-11 07:57:11 UTC) #2
LGTM

http://codereview.chromium.org/2054007/diff/5001/1003
File src/arm/codegen-arm.cc (right):

http://codereview.chromium.org/2054007/diff/5001/1003#newcode1179
src/arm/codegen-arm.cc:1179: if (shift_value < 2) {
With the test above this is shift_value == 1.

Powered by Google App Engine
This is Rietveld 408576698