<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Clang] Implement missing elementwise & reduction builtins."
   href="https://bugs.llvm.org/show_bug.cgi?id=52444">52444</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Clang] Implement missing elementwise & reduction builtins.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>florian_hahn@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Clang recently specified a set of builtins for elementwise operations and
reductions on vectors:

<a href="https://clang.llvm.org/docs/LanguageExtensions.html#vector-builtins">https://clang.llvm.org/docs/LanguageExtensions.html#vector-builtins</a>


At the moment, the following builtins are implemented:

* _builtin_elementwise_abs <a href="https://reviews.llvm.org/rG01870d51b848">https://reviews.llvm.org/rG01870d51b848</a>
* _builtin_elementwise_max, _builtin_elementwise_min
<a href="https://reviews.llvm.org/rG1ef25d28c19e">https://reviews.llvm.org/rG1ef25d28c19e</a>
* _builtin_reduce_max, _builtin_reduce_min
<a href="https://reviews.llvm.org/rG7999355106fb">https://reviews.llvm.org/rG7999355106fb</a>


The patches above can serve as blueprint for adding other builtin.

I am more than happy to help with reviews and new contributors, if anybody is
interested.</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>