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

Issue 172086: Fix regression caused by the generation of a shift stub during... (Closed)

Created:
11 years, 4 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
Reviewers:
Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Fix regression caused by the generation of a shift stub during snapshot creation in a better way. Encode whether or not the stub should use sse3 instructions in the minor key of the stub. The stubs generated during snapshot creation will have sse3 disabled, but they will not be found when sse3 is enabled. Therefore they will only affect the code generated as part of the snapshot. Committed: http://code.google.com/p/v8/source/detail?r=2705

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -16 lines) Patch
M src/ia32/codegen-ia32.h View 4 chunks +7 lines, -3 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M src/v8natives.js View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/codegen-x64.h View 3 chunks +8 lines, -4 lines 0 comments Download
M src/x64/codegen-x64.cc View 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mads Ager (chromium)
11 years, 4 months ago (2009-08-18 09:29:38 UTC) #1
Kasper Lund
LGTM, but I noticed similar code on x64. Apparently, it is possible (yet unlikely) to ...
11 years, 4 months ago (2009-08-18 09:34:56 UTC) #2
Mads Ager (chromium)
11 years, 4 months ago (2009-08-18 09:46:20 UTC) #3
On 2009/08/18 09:34:56, Kasper Lund wrote:
> LGTM, but I noticed similar code on x64. Apparently, it is possible (yet
> unlikely) to have an x64 chip with no SSE3 support, so you need to fix that
too.

Good point, done.

> Maybe while you're at it, you should double check that
> CpuFeatures::IsSupported(CpuFeatures::SSE3) returns what you expect on x64
> platforms?

Double checked.  The x64 probing code looks fine.  The regression is there and
it is fixed by these changes.

Thanks!

Powered by Google App Engine
This is Rietveld 408576698