WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
264488
Use SIMD in HasConstantValue() in BiquadDSPKernel
https://bugs.webkit.org/show_bug.cgi?id=264488
Summary
Use SIMD in HasConstantValue() in BiquadDSPKernel
Ho Cheung
Reported
2023-11-09 07:46:48 PST
Use SIMD to optimize this. This would speed up processing by a factor of 4 because we can process 4 floats at a time.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2023-11-09 08:07:29 PST
Pull request:
https://github.com/WebKit/WebKit/pull/20233
Ho Cheung
Comment 2
2023-11-09 08:14:57 PST
(In reply to Chris Dumez from
comment #1
)
> Pull request:
https://github.com/WebKit/WebKit/pull/20233
Thank you for taking my patch from Blink. I originally wanted to implement it in Webkit myself, but you have done it for me, so I won't submit a new PR on this issue for the time being lol
Chris Dumez
Comment 3
2023-11-09 08:17:09 PST
(In reply to Ho Cheung from
comment #2
)
> (In reply to Chris Dumez from
comment #1
) > > Pull request:
https://github.com/WebKit/WebKit/pull/20233
> > Thank you for taking my patch from Blink. I originally wanted to implement > it in Webkit myself, but you have done it for me, so I won't submit a new PR > on this issue for the time being lol
Sorry, I realized too late you were the patch author on Blink side. It wasn't clear when you filed the bug that you intended on actually making the code change yourself. If you end up making more contributions to WebKit (and I hope you do), I encourage you to make it clearer in the bug description that a patch is incoming.
Ho Cheung
Comment 4
2023-11-09 08:21:39 PST
(In reply to Chris Dumez from
comment #3
)
> (In reply to Ho Cheung from
comment #2
) > > (In reply to Chris Dumez from
comment #1
) > > > Pull request:
https://github.com/WebKit/WebKit/pull/20233
> > > > Thank you for taking my patch from Blink. I originally wanted to implement > > it in Webkit myself, but you have done it for me, so I won't submit a new PR > > on this issue for the time being lol > > Sorry, I realized too late you were the patch author on Blink side. It > wasn't clear when you filed the bug that you intended on actually making the > code change yourself. > > If you end up making more contributions to WebKit (and I hope you do), I > encourage you to make it clearer in the bug description that a patch is > incoming.
This is my first time submitting a bug report to WebKit. Thank you for your suggestions and help. Another question I would like to ask is that on the Blink side, I wrote a unit test for this modification. Does this also apply to WebKit?
https://chromium-review.googlesource.com/c/chromium/src/+/4622707
Chris Dumez
Comment 5
2023-11-09 08:31:33 PST
(In reply to Ho Cheung from
comment #4
)
> (In reply to Chris Dumez from
comment #3
) > > (In reply to Ho Cheung from
comment #2
) > > > (In reply to Chris Dumez from
comment #1
) > > > > Pull request:
https://github.com/WebKit/WebKit/pull/20233
> > > > > > Thank you for taking my patch from Blink. I originally wanted to implement > > > it in Webkit myself, but you have done it for me, so I won't submit a new PR > > > on this issue for the time being lol > > > > Sorry, I realized too late you were the patch author on Blink side. It > > wasn't clear when you filed the bug that you intended on actually making the > > code change yourself. > > > > If you end up making more contributions to WebKit (and I hope you do), I > > encourage you to make it clearer in the bug description that a patch is > > incoming. > > This is my first time submitting a bug report to WebKit. Thank you for your > suggestions and help. > > Another question I would like to ask is that on the Blink side, I wrote a > unit test for this modification. Does this also apply to WebKit? > >
https://chromium-review.googlesource.com/c/chromium/src/+/4622707
Oh, I missed that. In general, yes but API tests are located in a different place in WebKit: - Tools/TestWebKitAPI/Tests/ or Tools/TestWebKitAPI/Tests/WebCore in this case. I'll look into updating my PR to include your test soon.
EWS
Comment 6
2023-11-13 13:59:54 PST
Committed
270669@main
(0a313d9769ba): <
https://commits.webkit.org/270669@main
> Reviewed commits have been landed. Closing PR #20233 and removing active labels.
Radar WebKit Bug Importer
Comment 7
2023-11-13 14:00:16 PST
<
rdar://problem/118354762
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug