[MPlayer-dev-eng] [PATCH] x86_64 mmx/sse/3dnow optimisation support
Jan Killius
jkillius at arcor.de
Sat Oct 16 20:19:50 CEST 2004
On Saturday 16 October 2004 14:44, Aurelien Jacobs wrote:
> On Wed, 13 Oct 2004 02:06:26 +0200
>
> Aurelien Jacobs <aurel at gnuage.org> wrote:
> > 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.
>
> Any more comments/complain about this ?
> If not, I will commit in a few days.
>
> Aurel
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
Hello,
the patch don't work on my machine.
Compiler version: gcc version 3.4.3 20041015 (prerelease)
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/include/SDL
-D_REENTRANT -I/usr/X11R6/include -I/usr/include/ -o cpudetect.o
cpudetect.c
{standard input}: Assembler messages:
{standard input}:2492: Error: suffix or operands invalid for `pop'
{standard input}:2495: Error: suffix or operands invalid for `push'
{standard input}:2498: Error: suffix or operands invalid for `pop'
make: *** [cpudetect.o] Error 1
--
Jan
More information about the MPlayer-dev-eng
mailing list