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

Issue 1804243003: Fix conversion to float32, typing issue, split apart asm-wasm tests. (Closed)

Created:
4 years, 9 months ago by bradnelson
Modified:
4 years, 9 months ago
Reviewers:
titzer, bradn, rossberg
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

Fix conversion to float32, typing issue, split apart asm-wasm tests. Add missing conversions from other types to f32 in fround. Restrict fround() to only float, double, signed, unsigned (no unions / intish). Restrict Bitwise operations to intish, particularly |0, when not applied to a foreign function. Adding more exhaustive tests of stdlib Math, move to a separate file. Adding tests of interesting values for the stdlib asm.js functions. BUG= https://bugs.chromium.org/p/v8/issues/detail?id=4203 TEST=test-asm-validator,asm-wasm R=titzer@chromium.org,rossberg@chromium.org LOG=N Committed: https://crrev.com/cca5c3f630df67b80f96c59ba4c9369428ba8000 Cr-Commit-Position: refs/heads/master@{#34967}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Total comments: 4

Patch Set 4 : fix #

Patch Set 5 : fix #

Patch Set 6 : fix #

Patch Set 7 : fix #

Patch Set 8 : merge #

Patch Set 9 : fix #

Patch Set 10 : fix #

Patch Set 11 : fix #

Total comments: 4

Patch Set 12 : fix #

Patch Set 13 : fix #

Patch Set 14 : fix #

Patch Set 15 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+532 lines, -221 lines) Patch
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M src/typing-asm.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M src/typing-asm.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +60 lines, -31 lines 0 comments Download
M src/wasm/asm-wasm-builder.cc View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
M test/cctest/test-asm-validator.cc View 1 2 3 4 5 6 7 6 chunks +91 lines, -4 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M test/mjsunit/wasm/asm-wasm.js View 1 chunk +0 lines, -186 lines 0 comments Download
A test/mjsunit/wasm/asm-wasm-stdlib.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +358 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
bradn
4 years, 9 months ago (2016-03-16 01:27:34 UTC) #2
bradnelson
Sorry, sent out too soon, not quite ready for review, float checking issue. (You have ...
4 years, 9 months ago (2016-03-16 05:09:45 UTC) #3
titzer
https://codereview.chromium.org/1804243003/diff/40001/test/mjsunit/wasm/asm-wasm-stdlib.js File test/mjsunit/wasm/asm-wasm-stdlib.js (right): https://codereview.chromium.org/1804243003/diff/40001/test/mjsunit/wasm/asm-wasm-stdlib.js#newcode275 test/mjsunit/wasm/asm-wasm-stdlib.js:275: 0, -0, 1, -1, 0.9, -0.9, 1.414, 0x7F, -0x80, ...
4 years, 9 months ago (2016-03-16 09:44:05 UTC) #4
bradnelson
PTAL https://codereview.chromium.org/1804243003/diff/40001/test/mjsunit/wasm/asm-wasm-stdlib.js File test/mjsunit/wasm/asm-wasm-stdlib.js (right): https://codereview.chromium.org/1804243003/diff/40001/test/mjsunit/wasm/asm-wasm-stdlib.js#newcode275 test/mjsunit/wasm/asm-wasm-stdlib.js:275: 0, -0, 1, -1, 0.9, -0.9, 1.414, 0x7F, ...
4 years, 9 months ago (2016-03-19 03:48:48 UTC) #9
titzer
lgtm other than small comments https://codereview.chromium.org/1804243003/diff/220001/src/typing-asm.cc File src/typing-asm.cc (right): https://codereview.chromium.org/1804243003/diff/220001/src/typing-asm.cc#newcode992 src/typing-asm.cc:992: if (!args->at(0)->bounds().upper->Is(cache_.kAsmFloat) && Cache ...
4 years, 9 months ago (2016-03-21 07:59:44 UTC) #10
bradn
https://codereview.chromium.org/1804243003/diff/220001/src/typing-asm.cc File src/typing-asm.cc (right): https://codereview.chromium.org/1804243003/diff/220001/src/typing-asm.cc#newcode992 src/typing-asm.cc:992: if (!args->at(0)->bounds().upper->Is(cache_.kAsmFloat) && On 2016/03/21 07:59:44, titzer wrote: > ...
4 years, 9 months ago (2016-03-21 20:31:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804243003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804243003/300001
4 years, 9 months ago (2016-03-21 20:31:24 UTC) #14
commit-bot: I haz the power
Committed patchset #15 (id:300001)
4 years, 9 months ago (2016-03-21 20:33:58 UTC) #16
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 20:34:50 UTC) #18
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/cca5c3f630df67b80f96c59ba4c9369428ba8000
Cr-Commit-Position: refs/heads/master@{#34967}

Powered by Google App Engine
This is Rietveld 408576698