[RISCV-V] Provide muldi3 builtin assembly implementation
authorkamlesh kumar <kamleshbhalui@gmail.com>
Tue, 2 Jun 2020 19:48:30 +0000 (20:48 +0100)
committerLuís Marques <luismarques@lowrisc.org>
Tue, 2 Jun 2020 20:04:55 +0000 (21:04 +0100)
commite31ccee1b01acf703889312ee86023ff87bd39fe
tree89d46bdd7773cb539e177dcb75430a4e77138da3
parent237be3404b448637ec3b36f8992434193c5bc64c
[RISCV-V] Provide muldi3 builtin assembly implementation

Provides an assembly implementation of muldi3 for RISC-V, to solve bug 43388.
Since the implementation is the same as for mulsi3, that code was moved to
`riscv/int_mul_impl.inc` and is now reused by both `mulsi3.S` and `muldi3.S`.

Differential Revision: https://reviews.llvm.org/D80465
compiler-rt/lib/builtins/riscv/int_mul_impl.inc [new file with mode: 0644]
compiler-rt/lib/builtins/riscv/muldi3.S [new file with mode: 0644]
compiler-rt/lib/builtins/riscv/mulsi3.S