[Pixman] iOS support for ARM NEON

Bobby Salazar bobby8934 at gmail.com
Tue Dec 13 12:01:07 PST 2011


>Try
>
>https://github.com/yuvi/gas-preprocessor
>
>It is used to build libav since a long time and is usually up to date.
>
>It should work for pixman as well.


I have given this a try. It greatly reduces the number of errors, but
it seems pixman still uses some macros and directives not supported.
It might be that I am trying to compile this using the wrong command
line or something. Does everything look okay on my command line below?

BTW - please copy me directly also as I am not subscribed to this mailing list.

Here are the commands I ran and the errors produced:

gas-preprocessor.pl
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7
-mfpu=neon pixman-arm-neon-asm.S
Too many arguments to macro pixld_a at
gas-preprocessor.pl line 317,
<ASMFILE> line 1128.


gas-preprocessor.pl
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7
-mfpu=neon pixman-arm-simd-asm.S
pixman-arm-simd-asm.S:37:Unknown pseudo-op: .altmacro
pixman-arm-simd-asm.S:150:FATAL:Symbol fname already defined.



gas-preprocessor.pl
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7
-mfpu=neon pixman-arm-neon-asm-bilinear.S
pixman-arm-neon-asm-bilinear.S:61:Unknown pseudo-op: .eabi_attribute
pixman-arm-neon-asm-bilinear.S:61:Rest of line ignored. 1st junk character
valued 49 (1).
pixman-arm-neon-asm-bilinear.S:62:Unknown pseudo-op: .eabi_attribute
pixman-arm-neon-asm-bilinear.S:62:Rest of line ignored. 1st junk character
valued 49 (1).
pixman-arm-neon-asm-bilinear.S:64:Unknown pseudo-op: .altmacro
pixman-arm-neon-asm-bilinear.S:629:Unknown pseudo-op: .error
pixman-arm-neon-asm-bilinear.S:629:Rest of line ignored. 1st junk
character valued 117 (u).
pixman-arm-neon-asm-bilinear.S:673:Can't relocate expression. Absolute 0
assumed.
pixman-arm-neon-asm-bilinear.S:677:bad instruction
`bilinear_process_last_pixel'
pixman-arm-neon-asm-bilinear.S:686:Can't relocate expression. Absolute 0
assumed.
pixman-arm-neon-asm-bilinear.S:688:bad instruction
`bilinear_process_two_pixels'
pixman-arm-neon-asm-bilinear.S:694:bad instruction
`bilinear_process_pixblock_head'
pixman-arm-neon-asm-bilinear.S:698:bad instruction
`bilinear_process_pixblock_tail_head'
pixman-arm-neon-asm-bilinear.S:702:bad instruction
`bilinear_process_pixblock_tail'
pixman-arm-neon-asm-bilinear.S:707:bad instruction
`bilinear_process_two_pixels'
pixman-arm-neon-asm-bilinear.S:711:bad instruction
`bilinear_process_last_pixel'
pixman-arm-neon-asm-bilinear.S:628:FATAL:Symbol fname already defined.


More information about the Pixman mailing list