Mercurial > libavcodec.hg
diff i386/mmx.h @ 2293:15cfba1b97b5 libavcodec
adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64 patch by (Aurelien Jacobs <aurel at gnuage dot org>)
author | michael |
---|---|
date | Mon, 11 Oct 2004 02:19:29 +0000 |
parents | 39f2ba94e09b |
children | e04773e8b253 |
line wrap: on
line diff
--- a/i386/mmx.h Sat Oct 09 12:02:19 2004 +0000 +++ b/i386/mmx.h Mon Oct 11 02:19:29 2004 +0000 @@ -5,6 +5,12 @@ #ifndef AVCODEC_I386MMX_H #define AVCODEC_I386MMX_H +#ifdef ARCH_X86_64 +# define REG_a "rax" +#else +# define REG_a "eax" +#endif + /* * The type of an value that fits in an MMX register (note that long * long constant values MUST be suffixed by LL and unsigned long long