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

Issue 12223039: Add missing type feedback collection to ia32 BinaryOpStubs for bitwise operations (Closed)

Created:
7 years, 10 months ago by Jakob Kummerow
Modified:
7 years, 10 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Add missing type feedback collection to ia32 BinaryOpStubs for bitwise operations Committed: http://code.google.com/p/v8/source/detail?r=13624

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -57 lines) Patch
M src/ia32/code-stubs-ia32.cc View 14 chunks +67 lines, -57 lines 5 comments Download

Messages

Total messages: 2 (0 generated)
Jakob Kummerow
Fix for the second problem that CryptoJS exposed. Please take a look. https://codereview.chromium.org/12223039/diff/1/src/ia32/code-stubs-ia32.cc File src/ia32/code-stubs-ia32.cc ...
7 years, 10 months ago (2013-02-07 15:28:35 UTC) #1
Yang
7 years, 10 months ago (2013-02-07 15:49:45 UTC) #2
On 2013/02/07 15:28:35, Jakob wrote:
> Fix for the second problem that CryptoJS exposed. Please take a look.
> 
> https://codereview.chromium.org/12223039/diff/1/src/ia32/code-stubs-ia32.cc
> File src/ia32/code-stubs-ia32.cc (left):
> 
>
https://codereview.chromium.org/12223039/diff/1/src/ia32/code-stubs-ia32.cc#o...
> src/ia32/code-stubs-ia32.cc:1856: // right optimized code, int32 type feedback
> is just right.
> Yeah, well, turns out it's not quite right after all :-)
> 
>
https://codereview.chromium.org/12223039/diff/1/src/ia32/code-stubs-ia32.cc#o...
> src/ia32/code-stubs-ia32.cc:2802: return;
> Who are we kidding?
> 
>
https://codereview.chromium.org/12223039/diff/1/src/ia32/code-stubs-ia32.cc#o...
> src/ia32/code-stubs-ia32.cc:3001: void
> FloatingPointHelper::CheckFloatOperandsAreInt32(MacroAssembler* masm,
> This seems rather similar in functionality to
> FloatingPointHelper::CheckLoadedIntegersWereInt32, maybe the two should be
> refactored and combined?
> 
> https://codereview.chromium.org/12223039/diff/1/src/ia32/code-stubs-ia32.cc
> File src/ia32/code-stubs-ia32.cc (right):
> 
>
https://codereview.chromium.org/12223039/diff/1/src/ia32/code-stubs-ia32.cc#n...
> src/ia32/code-stubs-ia32.cc:920: static void
> ConvertHeapNumberToInt32(MacroAssembler* masm,
> Basically a drop-in replacement for IntegerConvert() above, except that it
jumps
> to |conversion_failure| when the heap number did not have an int32 value.
> We use SSE2 xmm-to-register conversions all over the place, I don't think it
> hurts here performance-wise.
> 
> ...I'll update the method's comment before landing.
> 
>
https://codereview.chromium.org/12223039/diff/1/src/ia32/code-stubs-ia32.cc#n...
> src/ia32/code-stubs-ia32.cc:2254: BinaryOpIC::GENERIC,
> Strictly speaking, this is inconsistent, but it doesn't seem to hurt
currently.
> Postponing the cleanup to when we hydrogen-generate this stub.

LGTM

Powered by Google App Engine
This is Rietveld 408576698