aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386
diff options
context:
space:
mode:
authorGuillaume Poirier <gpoirier@mplayerhq.hu>2005-12-10 22:53:44 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2005-12-10 22:53:44 +0000
commitf6d1338cb5ca056021a3628e2f15b9b68e70301d (patch)
treed1e3150c9b914fbbb1fab868b01a93325e44af2e /libavcodec/i386
parent5a872801d5e5e287525adfd33bcefa94b185988e (diff)
downloadffmpeg-f6d1338cb5ca056021a3628e2f15b9b68e70301d.tar.gz
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
Diffstat (limited to 'libavcodec/i386')
-rw-r--r--libavcodec/i386/mmx.h10
1 files changed, 10 insertions, 0 deletions
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
/*