Using ARM/Neon fp hardware with libc

Christian Helmuth christian.helmuth at ...1...
Thu Oct 1 11:10:38 CEST 2015

Hello Bob,

On Wed, Sep 30, 2015 at 03:14:26PM -0400, robjsstewart at ...9... wrote:
> 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 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? 

With 15.02, you may try to patch repos/libports/lib/mk/arm/
accordingly. There is not way to just "configure" compilation options
for libc that I know of.

Christian Helmuth
Genode Labs · · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth

More information about the users mailing list