[Theora-dev] patch to build theora-mmx on AMD64

j at v2v.cc j at v2v.cc
Wed May 3 14:07:15 PDT 2006


On Wed, 2006-05-03 at 11:37 -0400, Dan Lenski wrote:
> I think the old mmx code is needed for x86_32 processors such as
> Pentium MMX, P2, K62, K63 etc., where there is MMX support but no SSE
> support.

its more that if mmx is supported mmx functions are used and
if mmxext is supported too, some, but not all, functions are replaced
with faster mmxext functions.

attached is a version of your patch with ralph's buildsystem changes
and the missing mmx functions. 
im able to build it with 

 ./configure --disable-shared

otherwise getting an error right now:
/usr/bin/ld: .libs/libtheora_la-dsp_mmx.o: relocation R_X86_64_32S
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
.libs/libtheora_la-dsp_mmx.o: could not read symbols: Bad value

will look into that and apply the patch once i figured that out.
could you test the patch and see if its otherwise ok.

thanks, j
-------------- next part --------------
A non-text attachment was scrubbed...
Name: theora-mmx_64bit.patch.gz
Type: application/x-gzip
Size: 9281 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20060503/89ef3a2b/theora-mmx_64bit.patch.bin


More information about the Theora-dev mailing list