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

Issue 10581014: BoundsCheck should be extended to support array_bounds_checks_elimination (Closed)

Created:
8 years, 6 months ago by Zheng Liu
Modified:
8 years ago
Reviewers:
fschneider, Massi
CC:
v8-dev
Visibility:
Public.

Description

BoundsCheck should be extended to support --array_bounds_checks_elimination TEST=mjsunit/array-bounds-check-removal.js BoundsCheck LIR implementation supposes op2=length belong to [0,int32_max], so "sub length, upper_offset" is not correct. Moved lower/upper offset handling to LIR because I feel it is simpler. Only fixed x86/x64 port. array_bounds_checks_elimination remains disabled, because I have no permission to check bug in http://code.google.com/p/v8/source/detail?r=11775 Zheng Liu zheng.z.liu@intel.com

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -89 lines) Patch
M src/arm/lithium-arm.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 4 chunks +5 lines, -57 lines 0 comments Download
M src/hydrogen-instructions.h View 2 chunks +13 lines, -1 line 0 comments Download
M src/hydrogen-instructions.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +26 lines, -4 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 chunk +10 lines, -3 lines 0 comments Download
M src/mips/lithium-mips.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +49 lines, -16 lines 0 comments Download
M src/x64/lithium-x64.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 chunk +10 lines, -3 lines 0 comments Download
M test/mjsunit/array-bounds-check-removal.js View 2 chunks +24 lines, -1 line 0 comments Download

Messages

Total messages: 1 (0 generated)
Zheng Liu
8 years, 6 months ago (2012-06-19 10:25:11 UTC) #1
Also array_bounds_checks_elimination now seems to slight gain in kraken in my
measurement (Nehalem 2.8G, both ia32 and x64). As desaturate doesn't regress and
guassian-blur remains a little faster.

Zheng Liu
zheng.z.liu@intel.com

Powered by Google App Engine
This is Rietveld 408576698