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

Issue 15735005: Collect type feedback for power-of-2 right operands in BinaryOps. (Closed)

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

Description

Collect type feedback for power-of-2 right operands in BinaryOps. Improved --trace-ic output for unary/binary ops a bit on the way. Moved int32_t/uint32_t conversion helpers around. R=jkummerow@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=14928

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Handle INT32. Avoid transition interference. Cleanup. Rebased. #

Total comments: 5

Patch Set 4 : Platform ports. #

Patch Set 5 : Fixed x64 part #

Patch Set 6 : Rebased. Improved comment #

Patch Set 7 : Thread information through to code generation #

Patch Set 8 : Rebased #

Patch Set 9 : Fixed merge error #

Patch Set 10 : Rebased. #

Total comments: 4

Patch Set 11 : Rebased. Removed debugging code. Refactored integer conversions. #

Patch Set 12 : ARM INT32 stub #

Total comments: 4

Patch Set 13 : Rebased #

Patch Set 14 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -122 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +15 lines, -1 line 0 comments Download
M src/ast.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M src/ast.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +47 lines, -5 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +4 lines, -54 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +8 lines, -2 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +17 lines, -3 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +11 lines, -3 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 8 chunks +19 lines, -18 lines 0 comments Download
M src/ic.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +61 lines, -30 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +35 lines, -0 lines 0 comments Download
M src/type-info.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M src/type-info.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +10 lines, -3 lines 0 comments Download
src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Sven Panne
Still incomplete (collecting the right thing on ia32 only), just to see if things are ...
7 years, 7 months ago (2013-05-22 14:03:47 UTC) #1
Sven Panne
New shiny version, collecting type feedback on ia32 should be OK now. PTAL...
7 years, 7 months ago (2013-05-23 11:37:06 UTC) #2
Jakob Kummerow
https://chromiumcodereview.appspot.com/15735005/diff/4001/src/code-stubs.h File src/code-stubs.h (right): https://chromiumcodereview.appspot.com/15735005/diff/4001/src/code-stubs.h#newcode959 src/code-stubs.h:959: // Minor key encoding in 19 bits TTTRRRLLLSOOOOOOOMM. Please ...
7 years, 7 months ago (2013-05-23 12:05:43 UTC) #3
Sven Panne
Comments addressed. Platform ports done, one part is missing on ARM (see TODO), but I'll ...
7 years, 7 months ago (2013-05-23 14:39:20 UTC) #4
Jakob Kummerow
ia32 and x64 look good, but what's with the TODO comment on ARM?
7 years, 7 months ago (2013-05-23 16:55:15 UTC) #5
Jakob Kummerow
From our offline discussion: https://chromiumcodereview.appspot.com/15735005/diff/26001/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): https://chromiumcodereview.appspot.com/15735005/diff/26001/src/ia32/lithium-codegen-ia32.cc#newcode1272 src/ia32/lithium-codegen-ia32.cc:1272: Comment(";;; modi has_fixed_right_arg:%d fixed_right_arg_value:%d", This ...
7 years, 6 months ago (2013-06-03 09:49:30 UTC) #6
Sven Panne
Addressed feedback so far, working on the last missing ARM piece... https://codereview.chromium.org/15735005/diff/26001/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): ...
7 years, 6 months ago (2013-06-03 12:37:02 UTC) #7
Sven Panne
PTAL again: Addressed feedback and offline discussions so far, so this CL is ready for ...
7 years, 6 months ago (2013-06-03 14:07:44 UTC) #8
Jakob Kummerow
LGTM with a suggestion. https://codereview.chromium.org/15735005/diff/35001/src/code-stubs.h File src/code-stubs.h (right): https://codereview.chromium.org/15735005/diff/35001/src/code-stubs.h#newcode942 src/code-stubs.h:942: FixedRightArgValueBits::is_valid(WhichPowerOf2(value)); nit: It would be ...
7 years, 6 months ago (2013-06-03 15:12:05 UTC) #9
Rodolph Perfetta
drive by comments https://codereview.chromium.org/15735005/diff/35001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/15735005/diff/35001/src/arm/code-stubs-arm.cc#newcode2230 src/arm/code-stubs-arm.cc:2230: __ VFPCompareAndSetFlags(d1, d8); Wouldn't it be ...
7 years, 6 months ago (2013-06-03 16:33:17 UTC) #10
Sven Panne
Landing... https://codereview.chromium.org/15735005/diff/35001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/15735005/diff/35001/src/arm/code-stubs-arm.cc#newcode2230 src/arm/code-stubs-arm.cc:2230: __ VFPCompareAndSetFlags(d1, d8); On 2013/06/03 16:33:17, Rodolph Perfetta ...
7 years, 6 months ago (2013-06-04 07:48:09 UTC) #11
Sven Panne
7 years, 6 months ago (2013-06-04 07:49:57 UTC) #12
Message was sent while issue was closed.
Committed patchset #14 manually as r14928 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698