<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Poor use of SIMD reduction"
   href="https://bugs.llvm.org/show_bug.cgi?id=44781">bug 44781</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Fixed By Commit(s)</td>
           <td>
                
           </td>
           <td>82de01895455
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Poor use of SIMD reduction"
   href="https://bugs.llvm.org/show_bug.cgi?id=44781#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Poor use of SIMD reduction"
   href="https://bugs.llvm.org/show_bug.cgi?id=44781">bug 44781</a>
              from <span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span></b>
        <pre>(In reply to Simon Pilgrim from <a href="show_bug.cgi?id=44781#c3">comment #3</a>)
<span class="quote">> We can use ptest for this much more efficiently: <a href="https://godbolt.org/z/wDH426">https://godbolt.org/z/wDH426</a>

> .LCPI0_0:
>   .quad 1095216660735 # 0xff000000ff
>   .quad 1095216660735 # 0xff000000ff
> _Z5checkRK3Box: # @_Z5checkRK3Box
>   vmovdqu (%rdi), %xmm0
>   vptest .LCPI0_0(%rip), %xmm0
>   sete %al
>   retq</span >

Resolving - we use PTEST since 82de01895455</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>