- Subject: [PATCH] m68k: add ColdFire FPU support for the V4e ColdFire CPU's
- From: <gerg@xxxxxxxxxxxx>
- Date: Thu, 3 Nov 2011 15:54:04 +1000
Hi All,
Here is an improved patch set for FPU support on the ColdFire V4e.
Much cleaner than the ifdefery for this in the ColdFire/MMU patch
set I sent recently. (So of course this replaces that patch).
Does anyone know why some of the code for using fsave/frestore is
surrounded by ".chip" directives and others are not? For example
in arch/m68k/kernel/process_mm.c you will find this:
__asm__ volatile (".chip 68k/68881\n\t"
"frestore %0\n\t"
".chip 68k" : : "m" (*sc->sc_fpstate));
and you will also find this:
asm volatile ("frestore %0" : : "m" (p->thread.fpstate[0]));
I can use the second form directly on ColdFire, but not the first...
Regards
Greg
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Video for Linux]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Video Projectors]
[Linux Kernel]
[Linux SCSI]
[XFree86]