Skip to content

Commit

Permalink
[compiler-rt][RISCV] Use muldi3 builtin assembly implementation
Browse files Browse the repository at this point in the history
D80465 added an assembly implementation of muldi3 for RISC-V but it didn't
add it to the cmake `*_SOURCES` list, so the C implementation was being used
instead. This patch fixes that.

Differential Revision: https://reviews.llvm.org/D86036
  • Loading branch information
luismarques committed Aug 21, 2020
1 parent aa456a6 commit 57903cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion compiler-rt/lib/builtins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,10 @@ set(riscv32_SOURCES
riscv/mulsi3.S
${riscv_SOURCES}
)
set(riscv64_SOURCES ${riscv_SOURCES})
set(riscv64_SOURCES
riscv/muldi3.S
${riscv_SOURCES}
)

set(sparc_SOURCES ${GENERIC_SOURCES} ${GENERIC_TF_SOURCES})
set(sparcv9_SOURCES ${GENERIC_SOURCES} ${GENERIC_TF_SOURCES})
Expand Down

0 comments on commit 57903cf

Please sign in to comment.