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

    <tr>
        <th>Summary</th>
        <td>
            [compiler-rt] Implement __mulbitint3 and __divmodbitint4
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            compiler-rt:builtins
      </td>
    </tr>

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

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

<pre>
    We should implement these for parity with libgcc, and to allow LLVM to lower to efficient builtins for multiplication and division of large _BitInts.


See https://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html#Bit-precise-integer-arithmetic-functions for the libgcc docs.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckk-L5CwQxj-NuUiC0WQ6OeQw8w4NA_OeFnaPjTGVpHaNBi276W-_mO79w4KgpfJUPfUrHSMuDmBg7Rtr3wudaPVhcPgDTTH66T58Ax5Xn-zEcdstbOCI0woR-OwD33VAuvMb0sotjosxTP7HtZs4ea6t9Tf--fn1_xxZf4OQDzDPaDDrjAktoYuH1JYs4W7RaELvDo0Jrxhz4GdudViAX96QPhzFionXx_oCwFeiPTL1yuSZyfNiTLW4VPmwMHn2zqKDyZv4eEJHTJ4_HMECobQ4Bh3uZfCJ0EGsVtosk-oNqdwDGIxQ4vNvtrpuQGjKOTmTq3xUTis8zfOcpyqmQU296nUBQ31SvWjqU6eKdai7vqnnuhVaNHAypp7mzigx6rFVopNtgYMUshVSdHUv-kZV4qWBqXtpoWk7OHXAGgGbRltZe92ywwJjTDDU8kV1TWH1CDYeMKU0ftvRQigDMfX6q9dMygw6DFmhHNMSWSMsRop_NAnJHiPxt0T7zj9-T8DlsiU7IqEjdaC6XCa8bn563DVFCnb4BwvSmsbK-I3Jc0713Mo9-O9gMpXDS-b0tHMd5M8AAAD___qs4yk">