[cairo] [PATCH] Fixes for ARM features runtime autodetection support

Koen Kooi k.kooi at student.utwente.nl
Wed Jun 24 01:06:37 PDT 2009


On 24-06-09 01:09, Siarhei Siamashka wrote:
> NEON support is not enabled unless -mfloat-abi option is set. This
> patch enables 'softfp' float-abi and requires EABI. Regarding
> EABI floating point calling conventions, there is a choice between
> 'soft', 'softfp' and 'hard'. Of these three, 'soft' and 'softfp'
> are binary compatible. 'hard' is not yet supported by gcc, but it
> should not introduce any problems as long as pixman NEON optimized
> functions don't use floating point function arguments.

There's a gcc 4.4.0 branch that supports 'hardfp' (finally!) and if 
you're in the to harry potter thing, CSL 2009q1 also supports it. And I 
still think people should be passing their preferred float-abi using 
cflags and cairo should stay out of abi-munging.
Maybe I'm tainted by working with mozilla code which hardcoded FPA 
behaviour and we had to wait 4 years for patches to land upstream since 
the mozilla people kept saying that there was no problem...

regards,

Koen



More information about the cairo mailing list