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

Issue 1471073003: Make typing-asm match spec more closely around load/store, add more tests. (Closed)

Created:
5 years, 1 month ago by bradn
Modified:
5 years ago
Reviewers:
titzer, aseemgarg
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Make typing-asm match spec more closely around load/store, add more tests. Shifts of integer values are in some contexts collapsed by the parser into single literal AST nodes, rather than a direct representation of the parse tree. Confirming this behavior in tests. Integer TypedArrays are assumed to load and store "intish" values rather than more fine-grained type information. Reducing the precision of the typing information to match the spec and simplify the wasm generator. The asm spec requires load and store values of various "float?", "floatish", "double?" and "intish" types to ensure undefined values are not visible and that float32 rounding occurs at the right time. More closely matching this. Adding additional testing around unsigned / signed comparisons, loads and stores. Adding addition debug mode printing when asserting about types fail. BUG= https://code.google.com/p/v8/issues/detail?id=4203 TEST=test-asm-validator, wasm side tests R=titzer@chromium.org,aseemgarg@chromium.org LOG=N Committed: https://crrev.com/cf5546baadc2f15a1a2db638d0a96c0a4137e102 Cr-Commit-Position: refs/heads/master@{#32419}

Patch Set 1 : fix #

Total comments: 2

Patch Set 2 : more test #

Patch Set 3 : revised #

Unified diffs Side-by-side diffs Delta from patch set Stats (+409 lines, -25 lines) Patch
M src/type-cache.h View 1 3 chunks +14 lines, -0 lines 0 comments Download
M src/typing-asm.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/typing-asm.cc View 1 2 12 chunks +76 lines, -20 lines 0 comments Download
M test/cctest/expression-type-collector-macros.h View 1 chunk +20 lines, -1 line 0 comments Download
M test/cctest/test-asm-validator.cc View 1 2 7 chunks +297 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
bradn
5 years, 1 month ago (2015-11-24 07:06:48 UTC) #5
titzer
https://codereview.chromium.org/1471073003/diff/40001/src/typing-asm.cc File src/typing-asm.cc (right): https://codereview.chromium.org/1471073003/diff/40001/src/typing-asm.cc#newcode613 src/typing-asm.cc:613: assigning_ = true; At first glance this follow a ...
5 years, 1 month ago (2015-11-24 07:32:32 UTC) #6
bradn
ptal https://codereview.chromium.org/1471073003/diff/40001/src/typing-asm.cc File src/typing-asm.cc (right): https://codereview.chromium.org/1471073003/diff/40001/src/typing-asm.cc#newcode613 src/typing-asm.cc:613: assigning_ = true; On 2015/11/24 07:32:32, titzer wrote: ...
5 years ago (2015-11-30 20:34:44 UTC) #7
titzer
lgtm
5 years ago (2015-11-30 20:45:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471073003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471073003/80001
5 years ago (2015-11-30 20:45:59 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years ago (2015-11-30 21:11:42 UTC) #12
commit-bot: I haz the power
5 years ago (2015-11-30 21:11:54 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cf5546baadc2f15a1a2db638d0a96c0a4137e102
Cr-Commit-Position: refs/heads/master@{#32419}

Powered by Google App Engine
This is Rietveld 408576698