[XviD-devel] Altivec Port Broken on OS X 10.4?
Christoph Nägeli
chn at kbw.ch
Tue May 10 21:25:54 CEST 2005
Hi all,
I recently upgraded to 10.4 and I think the Altivec Port is broken on
Mac OS X 10.4 with gcc-4.0.
In addition to the fact, that gcc-4.0 does no more recognize -freduce-
all-givs...
And one more: There are plenty of compiler warnings compiling the
library.
switching to gcc-3.3, everything works as expected (though I'm no
expert in compilers and I'm not
sure if it is a good idea to link to xvidcore compiled with gcc-3.3
in an app build with gcc-4.0)
Can someone confirm?
For example:
=== test transfer ===
PLAINC - 8to16 10.177 usec crc32=0x11281bf1 | ERROR
PLAINC - 16to8 -18.917 usec crc32=0xee7ccbb4
PLAINC - 8to8 -6.091 usec crc32=0xd37b3295
PLAINC - 16to8add 6.124 usec crc32=0xdd817bf4
PLAINC - 8to16sub 8.655 usec crc32(1)=0xbb460614 crc32(2)
=0xd86c5d23 | ERROR1
PLAINC - 8to16sub2 19.119 usec crc32=0xf67b1b57 | ERROR
---
ALTIVEC - 8to16 8.994 usec crc32=0x7c911837 | ERROR
ALTIVEC - 16to8 -5.531 usec crc32=0x7fcee9f9 | ERROR
ALTIVEC - 8to8 11.026 usec crc32=0xb006f4d8 | ERROR
ALTIVEC - 16to8add 15.829 usec crc32=0x24e0cfc9 | ERROR
ALTIVEC - 8to16sub 21.129 usec crc32(1)=0xdc75ff6a crc32(2)
=0xd86c5d23 | ERROR1
The error in the c-routine is caused through endianess.
--
Christoph
More information about the XviD-devel
mailing list