<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/160281>160281</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang][x86][bytecode] Replace BMI interp__builtin_ia32 callbacks with static bool interp__builtin_elementwise_int_binop callbacks
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            good first issue,
            clang,
            clang:bytecode
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          RKSimon
      </td>
    </tr>
</table>

<pre>
    The BMI intrinsic wrappers can all be replaced with callbacks that feed interp__builtin_elementwise_int_binop
```
interp__builtin_ia32_bextr
interp__builtin_ia32_bzhi
interp__builtin_ia32_pdep
interp__builtin_ia32_pext
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyMkkGP2yAQhX8NvqCN8BC89oFDtlGkqupl27sFeGzTEmPBeJPtr6_ipN3VVpEqIQGaefPQ-zA5-2FC1Ew9MbUvzEJjTPr5yzd_jFNhY_eqv4_In75-5n6i5KfsHT8lM8-YMndm4iYEbpEnnINx2PGTp5E7E4I17mfmNBriPWJ30WOa29YuPpCfWgx4xIlOPmPrJ2qtn-LMxI5V4rbE7qPGGwmtxTOlu8Vfo79Xmzuc79bwTO_Ni07LrpGNKVCXj6quoIayKkZdoYBayb7usVJGWiWdbEp0fdn1zbZ0hdcgQIkGZFkqUVabRoqmeuwbUZdyW8OWbQUejQ-bEF6Om5iGwue8oC4rAXVZBGMx5JUIwBBjx3ufMvG1iQEw-MQAXDDT8OEmd_aV0MVubVP7IumLxYNdhsy2IvhM-c2UPIUV_FWs9kw9nevqevg7SO358xXtn0_wT3bvaK_wMxnyjtsYw_9BfxtQLCnokWjOTO4YHBgcBk_jYjcuHhkcLo-_bQ9zij_QEYPDmkxmcLgl-KLhdwAAAP__Eufzsw">