[theora-dev] Theora MMX and Mac OS X Intel
Felipe Portavales Goldstein
portavales at gmail.com
Wed Jun 21 13:10:17 PDT 2006
Maybe , instead a MOV, you could do an ADD with a Zero immediate
something like that:
ADD di, edi, 0
I dont know MMX assembly code, so I dont know if it is possible.
just an idea...
On 6/21/06, j at v2v.cc <j at v2v.cc> wrote:
> 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.
> theora-dev mailing list
> theora-dev at xiph.org
Felipe Portavales <portavales at gmail.com>
Undergraduate Student - IC-UNICAMP
Computer Systems Laboratory
More information about the theora-dev