Mercurial > libavcodec.hg
changeset 2958:e04773e8b253 libavcodec
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.
author | gpoirier |
---|---|
date | Sat, 10 Dec 2005 22:53:44 +0000 |
parents | 96f1186aa4c5 |
children | 24805f4d1b84 |
files | i386/mmx.h |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/mmx.h Sat Dec 10 17:14:24 2005 +0000 +++ b/i386/mmx.h Sat Dec 10 22:53:44 2005 +0000 @@ -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 /*