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

Issue 2726453003: [wasm]implement simd lowering for simple F32x4 and I32x4 unops (Closed)

Created:
3 years, 9 months ago by aseemgarg
Modified:
3 years, 9 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix arm64 #

Total comments: 6

Patch Set 3 : comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -11 lines) Patch
M src/compiler/simd-scalar-lowering.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/simd-scalar-lowering.cc View 1 2 7 chunks +68 lines, -6 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 1 chunk +2 lines, -0 lines 1 comment Download
M test/cctest/wasm/test-run-wasm-simd.cc View 1 5 chunks +14 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (12 generated)
aseemgarg
3 years, 9 months ago (2017-02-28 09:10:57 UTC) #1
gdeepti
https://codereview.chromium.org/2726453003/diff/1/test/cctest/wasm/test-run-wasm-simd.cc File test/cctest/wasm/test-run-wasm-simd.cc (right): https://codereview.chromium.org/2726453003/diff/1/test/cctest/wasm/test-run-wasm-simd.cc#newcode5 test/cctest/wasm/test-run-wasm-simd.cc:5: #include <cmath> Header not needed here, already included in ...
3 years, 9 months ago (2017-02-28 09:50:49 UTC) #6
aseemgarg
https://codereview.chromium.org/2726453003/diff/1/test/cctest/wasm/test-run-wasm-simd.cc File test/cctest/wasm/test-run-wasm-simd.cc (right): https://codereview.chromium.org/2726453003/diff/1/test/cctest/wasm/test-run-wasm-simd.cc#newcode5 test/cctest/wasm/test-run-wasm-simd.cc:5: #include <cmath> On 2017/02/28 09:50:49, gdeepti wrote: > Header ...
3 years, 9 months ago (2017-02-28 12:54:08 UTC) #7
titzer
lgtm https://codereview.chromium.org/2726453003/diff/20001/src/compiler/simd-scalar-lowering.cc File src/compiler/simd-scalar-lowering.cc (right): https://codereview.chromium.org/2726453003/diff/20001/src/compiler/simd-scalar-lowering.cc#newcode431 src/compiler/simd-scalar-lowering.cc:431: machine()->Int32Sub(), graph()->NewNode(common()->Int32Constant(0)), Can you pull the common()->Int32Constant() out ...
3 years, 9 months ago (2017-03-01 09:57:58 UTC) #12
aseemgarg
https://codereview.chromium.org/2726453003/diff/20001/src/compiler/simd-scalar-lowering.cc File src/compiler/simd-scalar-lowering.cc (right): https://codereview.chromium.org/2726453003/diff/20001/src/compiler/simd-scalar-lowering.cc#newcode431 src/compiler/simd-scalar-lowering.cc:431: machine()->Int32Sub(), graph()->NewNode(common()->Int32Constant(0)), On 2017/03/01 09:57:58, titzer wrote: > Can ...
3 years, 9 months ago (2017-03-01 10:35:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2726453003/40001
3 years, 9 months ago (2017-03-01 10:35:59 UTC) #16
titzer
https://codereview.chromium.org/2726453003/diff/20001/src/compiler/simd-scalar-lowering.cc File src/compiler/simd-scalar-lowering.cc (right): https://codereview.chromium.org/2726453003/diff/20001/src/compiler/simd-scalar-lowering.cc#newcode431 src/compiler/simd-scalar-lowering.cc:431: machine()->Int32Sub(), graph()->NewNode(common()->Int32Constant(0)), On 2017/03/01 10:35:46, aseemgarg wrote: > On ...
3 years, 9 months ago (2017-03-01 10:58:08 UTC) #17
aseemgarg
https://codereview.chromium.org/2726453003/diff/20001/src/compiler/simd-scalar-lowering.cc File src/compiler/simd-scalar-lowering.cc (right): https://codereview.chromium.org/2726453003/diff/20001/src/compiler/simd-scalar-lowering.cc#newcode431 src/compiler/simd-scalar-lowering.cc:431: machine()->Int32Sub(), graph()->NewNode(common()->Int32Constant(0)), On 2017/03/01 10:58:07, titzer wrote: > On ...
3 years, 9 months ago (2017-03-01 11:03:09 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/a727f9e8c0c8c9984961e1a755a6921122907034
3 years, 9 months ago (2017-03-01 11:13:06 UTC) #21
ahaas
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2721223003/ by ahaas@chromium.org. ...
3 years, 9 months ago (2017-03-01 12:32:57 UTC) #22
bbudge
3 years, 9 months ago (2017-03-01 17:36:42 UTC) #23
Message was sent while issue was closed.
https://codereview.chromium.org/2726453003/diff/40001/src/compiler/wasm-compi...
File src/compiler/wasm-compiler.cc (right):

https://codereview.chromium.org/2726453003/diff/40001/src/compiler/wasm-compi...
src/compiler/wasm-compiler.cc:3387: return
graph()->NewNode(jsgraph()->machine()->Float32x4Sqrt(), inputs[0]);
We're rethinking sqrt support. On some platforms (ARM32) this has to be
simulated by a very slow sequence of scalar square root instructions which can't
be rescheduled. Users would be much better off using the recip and rsqrt
approximation and refinement operations instead, since they can schedule those
to avoid stalls.

Powered by Google App Engine
This is Rietveld 408576698