mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 00:28:54 +02:00
It was only GCC 10 that fixed a MIPS64r6 code generation issue with a
`__multi3' libcall inefficiently produced to perform 64-bit widening
multiplication while suitable machine instructions exist to do such a
calculation. The fix went in with GCC commit 48b2123f6336 ("re PR
target/82981 (unnecessary __multi3 call for mips64r6 linux kernel)").
Adjust our code accordingly, removing build failures such as:
mips64-linux-ld: lib/math/div64.o: in function `mul_u64_add_u64_div_u64':
div64.c:(.text+0x84): undefined reference to `__multi3'
with the GCC versions affected.
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| bitops.c | ||
| bswapdi.c | ||
| bswapsi.c | ||
| csum_partial.S | ||
| delay.c | ||
| dump_tlb.c | ||
| iomap_copy.c | ||
| iomap-pci.c | ||
| libgcc.h | ||
| Makefile | ||
| memcpy.S | ||
| memset.S | ||
| mips-atomic.c | ||
| multi3.c | ||
| r3k_dump_tlb.c | ||
| strncpy_user.S | ||
| strnlen_user.S | ||
| uncached.c | ||