From f6d1338cb5ca056021a3628e2f15b9b68e70301d Mon Sep 17 00:00:00 2001 From: Guillaume Poirier Date: Sat, 10 Dec 2005 22:53:44 +0000 Subject: [PATCH] Add the rest of missing Reg_* macros to support both AMD-64 style regs and IA32 regs. Not used yet, but should be once the SIMD code to accelerate Snow decoding is merged. Originally committed as revision 4731 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/i386/mmx.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libavcodec/i386/mmx.h b/libavcodec/i386/mmx.h index f0ef1b79e0..96360ab16a 100644 --- a/libavcodec/i386/mmx.h +++ b/libavcodec/i386/mmx.h @@ -7,8 +7,18 @@ #ifdef ARCH_X86_64 # define REG_a "rax" +# define REG_b "rbx" +# define REG_c "rcx" +# define REG_d "rdx" +# define REG_D "rdi" +# define REG_S "rsi" #else # define REG_a "eax" +# define REG_b "ebx" +# define REG_c "ecx" +# define REG_d "edx" +# define REG_D "edi" +# define REG_S "esi" #endif /*