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

Issue 294022: Add optimized ICs for new CanvasArray types. This is a follow-on CL to... (Closed)

Created:
11 years, 2 months ago by Ken Russell (switch to Gerrit)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add optimized ICs for new CanvasArray types introduced in WebGL specification under development. This is a follow-on CL to http://codereview.chromium.org/293023 . Based on review feedback, defined the behavior of storing NaN and +/-Infinity into external arrays of integer types as storing 0. Added test cases. Added fucomi instruction to assembler. Fixed bug in KeyedLoadIC::GenerateExternalArray when allocation of HeapNumber failed. Fixed bug in encoding of 16-bit immediate arithmetic instructions in 64-bit port. Removed raising of exceptions for negative array indices passed to external arrays and associated tests. Based on current discussion in WebGL working group, will probably end up removing the exception throwing altogether. Committed: http://code.google.com/p/v8/source/detail?r=3113

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 23

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+707 lines, -57 lines) Patch
M src/ia32/assembler-ia32.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/ia32/ic-ia32.cc View 1 2 3 4 5 2 chunks +346 lines, -2 lines 0 comments Download
M src/objects.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/runtime.cc View 2 chunks +0 lines, -24 lines 0 comments Download
M src/x64/assembler-x64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/assembler-x64.cc View 3 chunks +11 lines, -3 lines 0 comments Download
M src/x64/ic-x64.cc View 1 2 3 4 5 2 chunks +305 lines, -2 lines 0 comments Download
M test/cctest/test-api.cc View 4 chunks +33 lines, -24 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ken Russell (switch to Gerrit)
Please review. Thanks.
11 years, 2 months ago (2009-10-20 15:49:54 UTC) #1
William Hesse
LGTM. http://codereview.chromium.org/294022/diff/1002/10 File src/ia32/ic-ia32.cc (right): http://codereview.chromium.org/294022/diff/1002/10#newcode394 Line 394: __ j(above_equal, &slow); // go to slow ...
11 years, 2 months ago (2009-10-21 08:55:20 UTC) #2
Christian Plesner Hansen
Most comments from ic-ia32 also apply to ic-x64. http://codereview.chromium.org/294022/diff/1002/10 File src/ia32/ic-ia32.cc (right): http://codereview.chromium.org/294022/diff/1002/10#newcode371 Line 371: ...
11 years, 2 months ago (2009-10-21 09:18:40 UTC) #3
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/294022/diff/1002/10 File src/ia32/ic-ia32.cc (right): http://codereview.chromium.org/294022/diff/1002/10#newcode394 Line 394: __ j(above_equal, &slow); On 2009/10/21 08:55:20, William Hesse ...
11 years, 2 months ago (2009-10-21 11:10:28 UTC) #4
Christian Plesner Hansen
http://codereview.chromium.org/294022/diff/5001/5002 File src/ia32/ic-ia32.cc (right): http://codereview.chromium.org/294022/diff/5001/5002#newcode731 Line 731: // essentially store as unspecified values. Does that ...
11 years, 2 months ago (2009-10-21 11:49:57 UTC) #5
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/294022/diff/5001/5002 File src/ia32/ic-ia32.cc (right): http://codereview.chromium.org/294022/diff/5001/5002#newcode731 Line 731: // essentially store as unspecified values. On 2009/10/21 ...
11 years, 2 months ago (2009-10-22 13:45:42 UTC) #6
Christian Plesner Hansen
Stv!
11 years, 2 months ago (2009-10-22 14:14:29 UTC) #7
William Hesse
11 years, 2 months ago (2009-10-22 14:45:39 UTC) #8
LGTM.  I will add fucomi to the disassembler.

Powered by Google App Engine
This is Rietveld 408576698