[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: matt-nb5-mips64 and FP emulation
I don't know why fp.S is even still around. Taking it away (building
with NOFLOAT) and using the -msoft-float in GCC is a much cleaner
> -----Original Message-----
> From: port-mips-owner%NetBSD.org@localhost
> Behalf Of Manuel Bouyer
> Sent: Friday, May 07, 2010 12:03 PM
> To: port-mips%netbsd.org@localhost
> Subject: matt-nb5-mips64 and FP emulation
> while working with the matt-nb5-mips64 on a platform without FPU,
> I found that the mips/fp.S assembly code still use t8 as a general
> purpose register, while it's now the curlwp register.
> Of course bad things happens because of this.
> A quick and dirty hack around this is saving/restoring s8 and using it
> instead of t8 (see attached patch); maybe there is a better way.
> I couldln't find a way to use one less register but I didn't try much
> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |