Add the rest of missing Reg_* macros to support both AMD-64 style regs and IA32 regs.
authorGuillaume Poirier <gpoirier@mplayerhq.hu>
Sat, 10 Dec 2005 22:53:44 +0000 (22:53 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Sat, 10 Dec 2005 22:53:44 +0000 (22:53 +0000)
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

index f0ef1b79e0e185de5717b564f2459c69aa111405..96360ab16ae36f98dbc14e8c84c6956a8eb224a3 100644 (file)
@@ -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
 
 /*