[MPlayer-dev-eng] [PATCH] x86_64 mmx/sse/3dnow optimisation support

Aurelien Jacobs aurel at gnuage.org
Wed Oct 13 02:06:26 CEST 2004


On Wed, 13 Oct 2004 00:00:17 +0200
Michael Niedermayer <michaelni at gmx.at> wrote:

> > > What are the changes in libvo/osd_template.c for?
> >
> > In 64 bits mode, x86_64 can't access to upper halves (ah, ch...)
> 
> this is wrong, it can (at least the docs claim so, i dont have a
> x86-64 system), but there are some exceptions, like none of the new 8
> registers may be used in the same instruction, anyway see the docs for
> details

Hum... nice catch ! I didn't see that this is forbien only combined with
the new 8 GPR. I thought it couldn't be used in combination with any
64 bits register.
This allows me to simplify the osd_template.c modification, simply
forcing %0 to be a legacy register.
Updated patch.

Thanks,
Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MPlayer-x86_64.diff.bz2
Type: application/octet-stream
Size: 18245 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041013/e3212501/attachment.obj>


More information about the MPlayer-dev-eng mailing list