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

Dan Lenski dlenski at gmail.com
Wed May 3 08:37:43 PDT 2006

On 5/3/06, j at kein.org <j at kein.org> wrote:
> On Wed, 2006-05-03 at 00:48 -0400, Dan Lenski wrote:
> > * I didn't patch dsp_mmx.c, since all x86_64 processors have SSE, thus
> > there's no need for the old mmx version
> there might be no need for the old versions if there is one in mmxext,
> looking at dsp_i386_mmx_init and dsp_i386_mmxext_init this is not the
> case for
>   funcs->restore_fpu = restore_fpu;
>   funcs->sub8x8 = sub8x8__mmx;
>   funcs->sub8x8_128 = sub8x8_128__mmx;
>   funcs->sub8x8avg2 = sub8x8avg2__mmx;
>   funcs->intra8x8_err = intra8x8_err__mmx;
>   funcs->inter8x8_err = inter8x8_err__mmx;

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


More information about the Theora-dev mailing list