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

Issue 324403003: Fixed flooring division by a power of 2, once again... (Closed)

Created:
6 years, 6 months ago by Sven Panne
Modified:
6 years, 6 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Fixed flooring division by a power of 2, once again... Avoid right shifts by zero bits: On ARM it actually means shifting by 32 bits (correctness issue) and on other platforms they are useless (performance issue). This is fix for the fix in r20544. BUG=v8:3259 LOG=y R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21769

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -30 lines) Patch
M src/arm/lithium-codegen-arm.cc View 1 chunk +9 lines, -7 lines 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 chunk +9 lines, -7 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +8 lines, -5 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +8 lines, -7 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Sven Panne
6 years, 6 months ago (2014-06-11 13:10:34 UTC) #1
Yang
On 2014/06/11 13:10:34, Sven Panne wrote: lgtm!
6 years, 6 months ago (2014-06-11 13:14:01 UTC) #2
Sven Panne
6 years, 6 months ago (2014-06-11 13:29:42 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r21769 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698