<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>264488</bug_id>
          
          <creation_ts>2023-11-09 07:46:48 -0800</creation_ts>
          <short_desc>Use SIMD in HasConstantValue() in BiquadDSPKernel</short_desc>
          <delta_ts>2023-11-13 14:00:16 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Audio</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ho Cheung">uioptt24</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>uioptt24</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1991154</commentid>
    <comment_count>0</comment_count>
    <who name="Ho Cheung">uioptt24</who>
    <bug_when>2023-11-09 07:46:48 -0800</bug_when>
    <thetext>Use SIMD to optimize this. This would speed up processing by a factor of 4 because we can process 4 floats at a time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991165</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-11-09 08:07:29 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20233</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991166</commentid>
    <comment_count>2</comment_count>
    <who name="Ho Cheung">uioptt24</who>
    <bug_when>2023-11-09 08:14:57 -0800</bug_when>
    <thetext>(In reply to Chris Dumez from comment #1)
&gt; 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&apos;t submit a new PR on this issue for the time being lol</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991170</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-11-09 08:17:09 -0800</bug_when>
    <thetext>(In reply to Ho Cheung from comment #2)
&gt; (In reply to Chris Dumez from comment #1)
&gt; &gt; Pull request: https://github.com/WebKit/WebKit/pull/20233
&gt; 
&gt; Thank you for taking my patch from Blink. I originally wanted to implement
&gt; it in Webkit myself, but you have done it for me, so I won&apos;t submit a new PR
&gt; on this issue for the time being lol

Sorry, I realized too late you were the patch author on Blink side. It wasn&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991173</commentid>
    <comment_count>4</comment_count>
    <who name="Ho Cheung">uioptt24</who>
    <bug_when>2023-11-09 08:21:39 -0800</bug_when>
    <thetext>(In reply to Chris Dumez from comment #3)
&gt; (In reply to Ho Cheung from comment #2)
&gt; &gt; (In reply to Chris Dumez from comment #1)
&gt; &gt; &gt; Pull request: https://github.com/WebKit/WebKit/pull/20233
&gt; &gt; 
&gt; &gt; Thank you for taking my patch from Blink. I originally wanted to implement
&gt; &gt; it in Webkit myself, but you have done it for me, so I won&apos;t submit a new PR
&gt; &gt; on this issue for the time being lol
&gt; 
&gt; Sorry, I realized too late you were the patch author on Blink side. It
&gt; wasn&apos;t clear when you filed the bug that you intended on actually making the
&gt; code change yourself.
&gt; 
&gt; If you end up making more contributions to WebKit (and I hope you do), I
&gt; encourage you to make it clearer in the bug description that a patch is
&gt; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991181</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-11-09 08:31:33 -0800</bug_when>
    <thetext>(In reply to Ho Cheung from comment #4)
&gt; (In reply to Chris Dumez from comment #3)
&gt; &gt; (In reply to Ho Cheung from comment #2)
&gt; &gt; &gt; (In reply to Chris Dumez from comment #1)
&gt; &gt; &gt; &gt; Pull request: https://github.com/WebKit/WebKit/pull/20233
&gt; &gt; &gt; 
&gt; &gt; &gt; Thank you for taking my patch from Blink. I originally wanted to implement
&gt; &gt; &gt; it in Webkit myself, but you have done it for me, so I won&apos;t submit a new PR
&gt; &gt; &gt; on this issue for the time being lol
&gt; &gt; 
&gt; &gt; Sorry, I realized too late you were the patch author on Blink side. It
&gt; &gt; wasn&apos;t clear when you filed the bug that you intended on actually making the
&gt; &gt; code change yourself.
&gt; &gt; 
&gt; &gt; If you end up making more contributions to WebKit (and I hope you do), I
&gt; &gt; encourage you to make it clearer in the bug description that a patch is
&gt; &gt; incoming.
&gt; 
&gt; This is my first time submitting a bug report to WebKit. Thank you for your
&gt; suggestions and help.
&gt; 
&gt; Another question I would like to ask is that on the Blink side, I wrote a
&gt; unit test for this modification. Does this also apply to WebKit?
&gt; 
&gt; 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&apos;ll look into updating my PR to include your test soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992259</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-13 13:59:54 -0800</bug_when>
    <thetext>Committed 270669@main (0a313d9769ba): &lt;https://commits.webkit.org/270669@main&gt;

Reviewed commits have been landed. Closing PR #20233 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992260</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-13 14:00:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/118354762&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>