[Pixman] [PATCH] iOS Runtime Detection Support For ARM NEON

Bobby Salazar bobby8934 at gmail.com
Thu Jan 26 15:40:43 PST 2012


I did manage to get the ARM NEON assembly code to compile, sort of.
But not from the .S source file. I spent many hours and basically gave
up on that. The macros used in the .S sources are just completely
incompatible with the Apple version of gcc and all scripts I've tried
to preprocess them failed too.

The way I was able to make it work was to follow the advice here:
http://lists.freedesktop.org/archives/pixman/2011-March/001110.html

Basically, what I did was compile the ARM NEON code using the Android
NDK and then decompiled it back into assembly code. That expanded all
the macros for me and gave me usable code for Apple gcc (along with
the other steps described in that link above).

On 1/26/12, Søren Sandmann <sandmann at cs.au.dk> wrote:
> Bobby Salazar <bobby8934 at gmail.com> writes:
>
>> This patch adds runtime detection support for the ARM NEON fast paths
>> for code compiled with the iOS SDK.
>>
>> Please send comments to me directly as I am not subscribed to the
>> list.
>
> The patch looks fine to me; if noone objects, I'll merge it in a couple
> of days.
>
> Did you manage to get pixman and the NEON assembly to actually compile
> on iOS? If so, if you can write up a bit of information on how you did
> it, would be really helpful.
>
>
> Thanks,
> Soren
>


More information about the Pixman mailing list