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

Issue 246423005: Improve code generation for bounds checks. (Closed)

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

Description

Improve code generation for bounds checks. R=svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=20872

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -126 lines) Patch
M src/arm/lithium-arm.cc View 1 chunk +10 lines, -3 lines 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 chunk +15 lines, -24 lines 0 comments Download
M src/arm64/lithium-arm64.cc View 1 chunk +10 lines, -3 lines 0 comments Download
M src/arm64/lithium-codegen-arm64.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 chunk +14 lines, -25 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +16 lines, -23 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 chunk +10 lines, -3 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +37 lines, -38 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 chunk +10 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Benedikt Meurer
PTAL
6 years, 8 months ago (2014-04-22 08:16:09 UTC) #1
Sven Panne
lgtm
6 years, 8 months ago (2014-04-22 08:25:34 UTC) #2
Benedikt Meurer
Committed patchset #1 manually as r20872 (presubmit successful).
6 years, 8 months ago (2014-04-22 08:28:27 UTC) #3
jbramley
Interesting! I had been looking at this too, but I'd been been distracted by an ...
6 years, 8 months ago (2014-04-22 08:43:56 UTC) #4
Benedikt Meurer
6 years, 8 months ago (2014-04-22 08:45:02 UTC) #5
Message was sent while issue was closed.
On 2014/04/22 08:43:56, jbramley wrote:
> Interesting! I had been looking at this too, but I'd been been distracted by
an
> interesting corner-case: Sometimes, HBoundsChecks have two constant operands.
Is
> that intentional? I would have thought that the check would be folded out
before
> it gets to Lithium, but apparently it doesn't.

Yeah, ideally, this should be done at the Hydrogen level, but currently, we
don't get this right in bounds check elimination.

Powered by Google App Engine
This is Rietveld 408576698