[theora-dev] Theora MMX and Mac OS X Intel

j at v2v.cc j at v2v.cc
Wed Jun 21 12:26:27 PDT 2006


hi,

i was trying to enable the mmx code on mac os x.
to get to that point one has to replace some inline assembler code:
.balign 16  ->  .p2align 4
and replace .rept .. .endr with #defines.

but to makes things more complicated apple's GAS does not support
movsx instructions and thus the following line does not work:
"  movsx       %%di, %%edi      \n\t"
[ more details at https://trac.xiph.org/browser/trunk/theora/lib/ 
x86_32/dsp_mmx.c#L443 ]

if anyone has an idea how that could be replaced or written in a way  
that it works
on OS X, please let me know. making asm optimization available for os  
x intel would be nice.

j

-------------- next part --------------
A non-text attachment was scrubbed...
Name: theora_mactel.patch
Type: application/octet-stream
Size: 25170 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20060621/8c7543fe/theora_mactel.obj


More information about the theora-dev mailing list