[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [user42@zip.com.au: Bug#186789: libgmp3: m68k maybe as m68020]



On Tue, Apr 15, 2003 at 08:12:20AM +1000, Kevin Ryde wrote:
> Richard Zidlicky <rz@linux-m68k.org> writes:
> >
> > it would run faster on 68020-40 CPU´s, the problem is it would
> > also run *much* slower on 68060 CPU´s..
> 
> Oh, you mean 68881 emulated on 060?  If that applies to all packages
> then I guess gmp is the least of anyone's worries on an 060.  For what
> it's worth the gmp asm code doesn't use any float, so addressing just
> the CFLAGS would do the trick no doubt.

no. gmp uses 32x32->64 bit integer mutliply and divide instructions
which are not implemented on the 68060. Emulating these by software
results in a 10x slowdown for some gmp apps.

Richard



Reply to: