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

Issue 10963032: Avoid wrong imul deopt on ia32 and x64 (fixes v8 bug 2339). (Closed)

Created:
8 years, 3 months ago by Massi
Modified:
8 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Avoid wrong imul deopt on ia32 and x64 (fixes v8 bug 2339). BUG=v8:2339 Committed: https://code.google.com/p/v8/source/detail?r=12614

Patch Set 1 #

Patch Set 2 : Added test. #

Total comments: 1

Patch Set 3 : Addressed review comments. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -12 lines) Patch
M src/ia32/lithium-codegen-ia32.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 1 chunk +4 lines, -1 line 1 comment Download
M test/mjsunit/regress/regress-1117.js View 1 2 2 chunks +9 lines, -0 lines 1 comment Download
A + test/mjsunit/regress/regress-2339.js View 1 2 chunks +11 lines, -10 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
Massi
I know that this is just partially reverting r6681, but the way I read the ...
8 years, 3 months ago (2012-09-21 16:19:31 UTC) #1
Vyacheslav Egorov (Google)
https://chromiumcodereview.appspot.com/10963032/diff/2001/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): https://chromiumcodereview.appspot.com/10963032/diff/2001/src/ia32/lithium-codegen-ia32.cc#newcode1237 src/ia32/lithium-codegen-ia32.cc:1237: if (ToInteger32(LConstantOperand::cast(right)) < 0) { If right is 0 ...
8 years, 3 months ago (2012-09-21 16:51:20 UTC) #2
Massi
This works also with the rewritten regression test.
8 years, 2 months ago (2012-09-26 09:20:06 UTC) #3
Jakob Kummerow
Code changes LGTM, but I have suggestions how to improve the tests. https://chromiumcodereview.appspot.com/10963032/diff/7001/test/mjsunit/regress/regress-1117.js File test/mjsunit/regress/regress-1117.js ...
8 years, 2 months ago (2012-09-26 09:26:41 UTC) #4
Vyacheslav Egorov (Google)
8 years, 2 months ago (2012-09-26 10:07:36 UTC) #5
dbc

https://chromiumcodereview.appspot.com/10963032/diff/7001/src/x64/lithium-cod...
File src/x64/lithium-codegen-x64.cc (right):

https://chromiumcodereview.appspot.com/10963032/diff/7001/src/x64/lithium-cod...
src/x64/lithium-codegen-x64.cc:1126: __ j(not_zero, &done, Label::kNear);
This code is redundant if right is 0. (left is always zero).

Powered by Google App Engine
This is Rietveld 408576698