[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH 6 of 6] arm: Enable VFP at boot
On Fri, 2012-06-01 at 10:29 +0100, Tim Deegan wrote:
> At 10:20 +0100 on 01 Jun (1338546010), Ian Campbell wrote:
> > > -CFLAGS += -march=armv7-a -mcpu=cortex-a15
> > > +CFLAGS += -march=armv7-a -mcpu=cortex-a15 -mfpu=vfpv3 -mfloat-abi=softfp
> > This might have been worthy of a comment...
> Ah, yes it might. Would you like me to add one and resubmit?
I've already committed. If you feel like it then an incremental patch
might be nice...
> If I get time next week I'm going to look at VFP context switching; at
> that point I might move all the VFP code into its own .c or .S file and
> enable the fpu instructions just there, to be sure that gcc doesn't
> start using the VFP registers in normal Xen code -- it will do that for
> integer arithmetic with -mfpu=neon, for example. OTOH it might be
> OK to do that as long as there are no caller-save VFP registers; I'll
> have a look at the calling conventions and see what can be done.
Xen-devel mailing list