kernel-ark/arch/m68k/lib
Greg Ungerer 84f3fb7a2a m68k: handle presence of 64bit mul/div instructions cleanly
The traditional 68000 processors and the newer reduced instruction set
ColdFire processors do not support the 32*32->64 multiply or the 64/32->32
divide instructions. This is not a difference based on the presence of
a hardware MMU or not.

Create a new config symbol to mark that a CPU type doesn't support the
longer multiply/divide instructions. Use this then as a basis for using
the fast 64bit based divide (in div64.h) and for linking in the extra
libgcc functions that may be required (mulsi3, divsi3, etc).

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
2011-12-24 21:47:57 +10:00
..
ashldi3.c
ashrdi3.c
checksum.c m68k: simpler m68k and ColdFire CPU's can use generic csum code 2011-12-24 21:47:57 +10:00
divsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
lshrdi3.c
Makefile m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
memcpy.c m68k: fix memcpy to unmatched/unaligned source and dest on 68000 2011-10-18 14:22:24 +10:00
memmove.c m68k: remove duplicate memmove() implementation 2011-05-24 10:03:49 +10:00
memset.c m68k: use kernel processor defines for conditional optimizations 2011-06-14 11:42:29 +10:00
modsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
muldi3.c m68k: use kernel processor defines for conditional optimizations 2011-06-14 11:42:29 +10:00
mulsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
string.c m68k: remove duplicate memcpy() implementation 2011-05-24 10:03:49 +10:00
uaccess.c
udivsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
umodsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00