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

Issue 1965443003: [simdjs] Implement error raising semantics as per spec for integers. (Closed)

Created:
4 years, 7 months ago by gdeepti
Modified:
4 years, 7 months ago
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

[simdjs] Update SIMD runtime functions as per spec - Lane indices are no longer required to be integers. Add index coersion for loads/stores - Give shift operators masking shift count semantics - Throw type/range errors instead of runtime asserts. BUG=v8:4963 LOG=N R=bbudge@chromium.org, bmeurer@chromium.org Committed: https://crrev.com/4001d55e69162e40d1706ff479ac4db62fec6d90 Cr-Commit-Position: refs/heads/master@{#36402}

Patch Set 1 #

Patch Set 2 : update to newer ecmascript_simd repository #

Total comments: 6

Patch Set 3 : Updating to new ecmascript_simd, fix tests #

Patch Set 4 : Fix sign #

Total comments: 10

Patch Set 5 : Bill's review #

Total comments: 4

Patch Set 6 : Review changes #

Total comments: 2

Patch Set 7 : Review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -39 lines) Patch
M DEPS View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/messages.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime/runtime-simd.cc View 1 2 3 4 5 11 chunks +70 lines, -38 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
Benedikt Meurer
Looks like testsuite needs adjustment?
4 years, 7 months ago (2016-05-10 04:02:21 UTC) #2
bbudge
https://codereview.chromium.org/1965443003/diff/20001/src/runtime/runtime-simd.cc File src/runtime/runtime-simd.cc (right): https://codereview.chromium.org/1965443003/diff/20001/src/runtime/runtime-simd.cc#newcode175 src/runtime/runtime-simd.cc:175: if (!name_object->IsNumber()) { \ Can't you assume name_object is ...
4 years, 7 months ago (2016-05-11 18:33:16 UTC) #3
gdeepti
https://codereview.chromium.org/1965443003/diff/20001/src/runtime/runtime-simd.cc File src/runtime/runtime-simd.cc (right): https://codereview.chromium.org/1965443003/diff/20001/src/runtime/runtime-simd.cc#newcode175 src/runtime/runtime-simd.cc:175: if (!name_object->IsNumber()) { \ On 2016/05/11 18:33:16, bbudge wrote: ...
4 years, 7 months ago (2016-05-17 14:59:42 UTC) #6
bbudge
https://codereview.chromium.org/1965443003/diff/60001/src/runtime/runtime-simd.cc File src/runtime/runtime-simd.cc (right): https://codereview.chromium.org/1965443003/diff/60001/src/runtime/runtime-simd.cc#newcode173 src/runtime/runtime-simd.cc:173: if (!name_object->IsNumber() || !IsInt32Double(name_object->Number())) { \ IsInt32Double rejects -0. ...
4 years, 7 months ago (2016-05-18 09:31:13 UTC) #7
gdeepti
https://codereview.chromium.org/1965443003/diff/60001/src/runtime/runtime-simd.cc File src/runtime/runtime-simd.cc (right): https://codereview.chromium.org/1965443003/diff/60001/src/runtime/runtime-simd.cc#newcode173 src/runtime/runtime-simd.cc:173: if (!name_object->IsNumber() || !IsInt32Double(name_object->Number())) { \ On 2016/05/18 09:31:13, ...
4 years, 7 months ago (2016-05-19 12:11:56 UTC) #8
bbudge
https://codereview.chromium.org/1965443003/diff/80001/src/runtime/runtime-simd.cc File src/runtime/runtime-simd.cc (right): https://codereview.chromium.org/1965443003/diff/80001/src/runtime/runtime-simd.cc#newcode178 src/runtime/runtime-simd.cc:178: uint32_t name = name_object->Number(); \ It would be better ...
4 years, 7 months ago (2016-05-19 14:14:44 UTC) #9
gdeepti
https://codereview.chromium.org/1965443003/diff/80001/src/runtime/runtime-simd.cc File src/runtime/runtime-simd.cc (right): https://codereview.chromium.org/1965443003/diff/80001/src/runtime/runtime-simd.cc#newcode178 src/runtime/runtime-simd.cc:178: uint32_t name = name_object->Number(); \ On 2016/05/19 14:14:44, bbudge ...
4 years, 7 months ago (2016-05-20 09:30:40 UTC) #10
bbudge
LGTM Thanks for fixing this! https://codereview.chromium.org/1965443003/diff/100001/src/messages.h File src/messages.h (right): https://codereview.chromium.org/1965443003/diff/100001/src/messages.h#newcode343 src/messages.h:343: T(InvalidSimdLaneValue, "SIMD lane value ...
4 years, 7 months ago (2016-05-20 09:36:01 UTC) #11
gdeepti
https://codereview.chromium.org/1965443003/diff/100001/src/messages.h File src/messages.h (right): https://codereview.chromium.org/1965443003/diff/100001/src/messages.h#newcode343 src/messages.h:343: T(InvalidSimdLaneValue, "SIMD lane value out of bounds for SIMD ...
4 years, 7 months ago (2016-05-20 09:42:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1965443003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1965443003/120001
4 years, 7 months ago (2016-05-20 09:42:28 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/15640)
4 years, 7 months ago (2016-05-20 09:45:39 UTC) #17
gdeepti
4 years, 7 months ago (2016-05-20 09:51:01 UTC) #19
Dan Ehrenberg
lgtm
4 years, 7 months ago (2016-05-20 09:52:43 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1965443003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1965443003/120001
4 years, 7 months ago (2016-05-20 09:53:28 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-05-20 10:15:40 UTC) #24
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 10:18:21 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4001d55e69162e40d1706ff479ac4db62fec6d90
Cr-Commit-Position: refs/heads/master@{#36402}

Powered by Google App Engine
This is Rietveld 408576698