Stefan,
So, implementing the Cpu_lazy_state in cpu.h in the core spec for the Cortex A9 into cpu.h for the Cortex A8 spec is all that is required?
Bob
Sent from my android device.
-----Original Message-----
From: robjsstewart@...196...
To: genode-main@lists.sourceforge.net
Sent: Tue, 06 Oct 2015 7:23 AM
Subject: Re: Using ARM/Neon fp hardware with libc
Thanks, Stefan, I'll take a look at the context switching implementation for the Cortex A9.
Bob
Sent from my android device.
-----Original Message-----
From: Stefan Kalkowski <stefan.kalkowski@...1...>
To: genode-main@lists.sourceforge.net
Sent: Tue, 06 Oct 2015 2:35 AM
Subject: Re: Using ARM/Neon fp hardware with libc
Hi Bob,
On 09/30/2015 09:14 PM, robjsstewart@...9... wrote:
> Hi all,
> I'm exploring compiling a couple of targets in my Genode, base-hw system to use the hardware fp in the Neon coprocessor on an ARM Cortex A8 SOC, to get some performance improvement. I can add the CC_OPT line containing -mfloat-abi=hard and -mfu=neon-vfpv4 to appropreate target.mk. That should result in the Neon fp unit being called to perform the calculations. If I want use libc math functions I assume I must recompile libc with the same compile options added. Are there build variables that allow me to do that to the libc library?
I just wanted to add that currently FPU context switching is implemented
in base-hw for Cortex A9 only. It might be no big deal to enable it for
Cortex A8 by looking at the other implementation. As long as more than
one of your components uses the FPU this has to be done first.
Regards
Stefan
>
> I'm currently building on Genode 15.02.
>
> Thanks for any info.
>
> Bob Stewart
>
> Sent from my android device.
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> genode-main mailing list
> genode-main@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
--
Stefan Kalkowski
Genode Labs
http://www.genode-labs.com/ · http://genode.org/
------------------------------------------------------------------------------
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main