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

Issue 2340583003: Add MSA (MIPS SIMD Arch) optimized VectorMath functions (Closed)

Created:
4 years, 3 months ago by Prashant.Patil
Modified:
4 years, 2 months ago
CC:
chromium-reviews, blink-reviews, hongchan, raghu.gandham_imgtec.com, gordana.cmiljanovic_imgtec.com, manojkumar.bhosale, parag.salasakar_imgtec.com, kaustubh.raste_imgtec.com
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add MSA (MIPS SIMD Arch) optimized VectorMath functions We add following MSA optimized VectorMath functions: - vsma - vsmul - vadd - vmul - vmaxmgv - vclip R=kbr@chromium.org BUG=642653 Committed: https://crrev.com/95d7e1276aed8f2d2687de388d83919b813c78dc Cr-Commit-Position: refs/heads/master@{#424977}

Patch Set 1 #

Patch Set 2 : Removing zvmul and vsvesq #

Total comments: 25

Patch Set 3 : Incorporate review comments #

Total comments: 1

Patch Set 4 : Rebase #

Patch Set 5 : Incorporate review comments #

Total comments: 4

Patch Set 6 : Incorporate review comments #

Patch Set 7 : Add MSA (MIPS SIMD Arch) optimized VectorMath functions #

Patch Set 8 : coding consistency changes #

Total comments: 2

Patch Set 9 : Incorporated review comments #

Patch Set 10 : formatting changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -2 lines) Patch
M third_party/WebKit/Source/platform/audio/VectorMath.cpp View 1 2 3 4 5 6 7 8 9 7 chunks +127 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/cpu/mips/CommonMacrosMSA.h View 1 2 3 4 5 6 7 8 9 6 chunks +111 lines, -2 lines 0 comments Download

Messages

Total messages: 61 (17 generated)
Prashant.Patil
4 years, 3 months ago (2016-09-14 12:40:07 UTC) #1
Prashant.Patil
4 years, 3 months ago (2016-09-14 12:44:01 UTC) #4
Raymond Toy
It will take me some time to review this. Can you please run the webaudio ...
4 years, 3 months ago (2016-09-14 17:14:11 UTC) #7
Prashant.Patil
On 2016/09/14 17:14:11, Raymond Toy wrote: > It will take me some time to review ...
4 years, 3 months ago (2016-09-16 07:56:01 UTC) #8
Raymond Toy
On 2016/09/16 07:56:01, Prashant.Patil wrote: > On 2016/09/14 17:14:11, Raymond Toy wrote: > > It ...
4 years, 3 months ago (2016-09-16 15:17:35 UTC) #9
Prashant.Patil
On 2016/09/16 15:17:35, Raymond Toy wrote: > On 2016/09/16 07:56:01, Prashant.Patil wrote: > > On ...
4 years, 3 months ago (2016-09-19 06:55:11 UTC) #10
Raymond Toy
On 2016/09/19 06:55:11, Prashant.Patil wrote: > On 2016/09/16 15:17:35, Raymond Toy wrote: > > On ...
4 years, 3 months ago (2016-09-19 15:37:31 UTC) #11
Prashant.Patil
On 2016/09/19 15:37:31, Raymond Toy-OOO TPAC Sep20-24 wrote: > On 2016/09/19 06:55:11, Prashant.Patil wrote: > ...
4 years, 3 months ago (2016-09-21 12:14:20 UTC) #12
Ken Russell (switch to Gerrit)
On 2016/09/21 12:14:20, Prashant.Patil wrote: > On 2016/09/19 15:37:31, Raymond Toy-OOO TPAC Sep20-24 wrote: > ...
4 years, 3 months ago (2016-09-22 00:46:04 UTC) #13
Prashant.Patil
On 2016/09/22 00:46:04, Ken Russell wrote: > On 2016/09/21 12:14:20, Prashant.Patil wrote: > > On ...
4 years, 2 months ago (2016-09-28 09:18:07 UTC) #14
Raymond Toy
On 2016/09/28 09:18:07, Prashant.Patil wrote: > On 2016/09/22 00:46:04, Ken Russell wrote: > > On ...
4 years, 2 months ago (2016-09-28 16:01:23 UTC) #15
Prashant.Patil
On 2016/09/28 16:01:23, Raymond Toy wrote: > On 2016/09/28 09:18:07, Prashant.Patil wrote: > > On ...
4 years, 2 months ago (2016-09-29 13:25:00 UTC) #16
Raymond Toy
On 2016/09/29 13:25:00, Prashant.Patil wrote: > On 2016/09/28 16:01:23, Raymond Toy wrote: > > On ...
4 years, 2 months ago (2016-09-29 18:12:24 UTC) #17
Prashant.Patil
On 2016/09/29 18:12:24, Raymond Toy wrote: > On 2016/09/29 13:25:00, Prashant.Patil wrote: > > On ...
4 years, 2 months ago (2016-09-30 09:01:42 UTC) #18
Prashant.Patil
On 2016/09/30 09:01:42, Prashant.Patil wrote: > On 2016/09/29 18:12:24, Raymond Toy wrote: > > On ...
4 years, 2 months ago (2016-09-30 09:09:28 UTC) #19
Raymond Toy
https://codereview.chromium.org/2340583003/diff/20001/third_party/WebKit/Source/platform/audio/VectorMath.cpp File third_party/WebKit/Source/platform/audio/VectorMath.cpp (right): https://codereview.chromium.org/2340583003/diff/20001/third_party/WebKit/Source/platform/audio/VectorMath.cpp#newcode197 third_party/WebKit/Source/platform/audio/VectorMath.cpp:197: LD_SP8(sourceP, 4, vSrc0, vSrc1, vSrc2, vSrc3, vSrc4, vSrc5, vSrc6, ...
4 years, 2 months ago (2016-10-03 16:47:07 UTC) #20
Prashant.Patil
https://codereview.chromium.org/2340583003/diff/20001/third_party/WebKit/Source/platform/audio/VectorMath.cpp File third_party/WebKit/Source/platform/audio/VectorMath.cpp (right): https://codereview.chromium.org/2340583003/diff/20001/third_party/WebKit/Source/platform/audio/VectorMath.cpp#newcode197 third_party/WebKit/Source/platform/audio/VectorMath.cpp:197: LD_SP8(sourceP, 4, vSrc0, vSrc1, vSrc2, vSrc3, vSrc4, vSrc5, vSrc6, ...
4 years, 2 months ago (2016-10-04 11:47:28 UTC) #21
Raymond Toy
https://codereview.chromium.org/2340583003/diff/20001/third_party/WebKit/Source/platform/audio/VectorMath.cpp File third_party/WebKit/Source/platform/audio/VectorMath.cpp (right): https://codereview.chromium.org/2340583003/diff/20001/third_party/WebKit/Source/platform/audio/VectorMath.cpp#newcode333 third_party/WebKit/Source/platform/audio/VectorMath.cpp:333: for (; n >= 40; n -= 40) { ...
4 years, 2 months ago (2016-10-04 15:37:44 UTC) #23
Raymond Toy
https://codereview.chromium.org/2340583003/diff/40001/third_party/WebKit/Source/platform/audio/VectorMath.cpp File third_party/WebKit/Source/platform/audio/VectorMath.cpp (right): https://codereview.chromium.org/2340583003/diff/40001/third_party/WebKit/Source/platform/audio/VectorMath.cpp#newcode859 third_party/WebKit/Source/platform/audio/VectorMath.cpp:859: const v4f32 vHighThr = (v4f32)__msa_fill_w(*((int32_t*)highThresholdP)); Use C++ casting here ...
4 years, 2 months ago (2016-10-04 15:48:07 UTC) #24
Prashant.Patil
On 2016/10/04 15:37:44, Raymond Toy wrote: > https://codereview.chromium.org/2340583003/diff/20001/third_party/WebKit/Source/platform/audio/VectorMath.cpp > File third_party/WebKit/Source/platform/audio/VectorMath.cpp (right): > > https://codereview.chromium.org/2340583003/diff/20001/third_party/WebKit/Source/platform/audio/VectorMath.cpp#newcode333 ...
4 years, 2 months ago (2016-10-05 12:45:27 UTC) #25
Prashant.Patil
On 2016/10/04 15:48:07, Raymond Toy wrote: > https://codereview.chromium.org/2340583003/diff/40001/third_party/WebKit/Source/platform/audio/VectorMath.cpp > File third_party/WebKit/Source/platform/audio/VectorMath.cpp (right): > > https://codereview.chromium.org/2340583003/diff/40001/third_party/WebKit/Source/platform/audio/VectorMath.cpp#newcode859 ...
4 years, 2 months ago (2016-10-05 12:46:48 UTC) #26
Prashant.Patil
Incorporated review comments
4 years, 2 months ago (2016-10-05 12:48:58 UTC) #27
Raymond Toy
https://codereview.chromium.org/2340583003/diff/80001/third_party/WebKit/Source/platform/audio/VectorMath.cpp File third_party/WebKit/Source/platform/audio/VectorMath.cpp (right): https://codereview.chromium.org/2340583003/diff/80001/third_party/WebKit/Source/platform/audio/VectorMath.cpp#newcode858 third_party/WebKit/Source/platform/audio/VectorMath.cpp:858: const v4f32 vLowThr = (v4f32)__msa_fill_w(FLOAT2INT(lowThreshold)); Isn't this some kind ...
4 years, 2 months ago (2016-10-05 17:26:53 UTC) #28
Prashant.Patil
https://codereview.chromium.org/2340583003/diff/80001/third_party/WebKit/Source/platform/audio/VectorMath.cpp File third_party/WebKit/Source/platform/audio/VectorMath.cpp (right): https://codereview.chromium.org/2340583003/diff/80001/third_party/WebKit/Source/platform/audio/VectorMath.cpp#newcode858 third_party/WebKit/Source/platform/audio/VectorMath.cpp:858: const v4f32 vLowThr = (v4f32)__msa_fill_w(FLOAT2INT(lowThreshold)); On 2016/10/05 17:26:53, Raymond ...
4 years, 2 months ago (2016-10-06 08:27:35 UTC) #29
Prashant.Patil
incorporated review comments
4 years, 2 months ago (2016-10-06 09:45:59 UTC) #30
Raymond Toy
Thanks for your patience in this! It's great to have these nice speedups for the ...
4 years, 2 months ago (2016-10-06 15:42:48 UTC) #31
Prashant.Patil
https://codereview.chromium.org/2340583003/diff/140001/third_party/WebKit/Source/platform/cpu/mips/CommonMacrosMSA.h File third_party/WebKit/Source/platform/cpu/mips/CommonMacrosMSA.h (right): https://codereview.chromium.org/2340583003/diff/140001/third_party/WebKit/Source/platform/cpu/mips/CommonMacrosMSA.h#newcode19 third_party/WebKit/Source/platform/cpu/mips/CommonMacrosMSA.h:19: }FloatInt; On 2016/10/06 15:42:48, Raymond Toy wrote: > Nit: ...
4 years, 2 months ago (2016-10-07 08:08:06 UTC) #32
Prashant.Patil
Incorporated review comments
4 years, 2 months ago (2016-10-07 08:09:32 UTC) #33
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/2340583003/160001
4 years, 2 months ago (2016-10-07 08:10:15 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/276217)
4 years, 2 months ago (2016-10-07 08:20:45 UTC) #38
Prashant.Patil
On 2016/10/07 08:20:45, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 2 months ago (2016-10-07 13:00:37 UTC) #39
Raymond Toy
On 2016/10/07 13:00:37, Prashant.Patil wrote: > On 2016/10/07 08:20:45, commit-bot: I haz the power wrote: ...
4 years, 2 months ago (2016-10-07 15:07:52 UTC) #40
Ken Russell (switch to Gerrit)
lgtm based on rtoy's review.
4 years, 2 months ago (2016-10-07 20:02:42 UTC) #42
Raymond Toy
Prashant: This CL should be ready to land; all approvals have been granted, I think.
4 years, 2 months ago (2016-10-10 16:37:11 UTC) #43
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/2340583003/160001
4 years, 2 months ago (2016-10-12 07:13:34 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/279100)
4 years, 2 months ago (2016-10-12 07:23:00 UTC) #47
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/2340583003/160001
4 years, 2 months ago (2016-10-12 08:42:13 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/279142)
4 years, 2 months ago (2016-10-12 08:47:18 UTC) #51
Prashant.Patil
On 2016/10/12 08:47:18, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 2 months ago (2016-10-12 15:05:21 UTC) #52
Raymond Toy
On 2016/10/12 15:05:21, Prashant.Patil wrote: > On 2016/10/12 08:47:18, commit-bot: I haz the power wrote: ...
4 years, 2 months ago (2016-10-12 15:09:24 UTC) #53
Prashant.Patil
Done formatting changes (git cl format)
4 years, 2 months ago (2016-10-13 06:26:06 UTC) #54
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/2340583003/180001
4 years, 2 months ago (2016-10-13 06:26:38 UTC) #57
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 2 months ago (2016-10-13 07:43:25 UTC) #59
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 07:45:23 UTC) #61
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/95d7e1276aed8f2d2687de388d83919b813c78dc
Cr-Commit-Position: refs/heads/master@{#424977}

Powered by Google App Engine
This is Rietveld 408576698