[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/i386 mmx.h,1.5,1.6

Guillaume Poirier CVS gpoirier
Sat Dec 10 23:53:46 CET 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec/i386
In directory mail:/var2/tmp/cvs-serv2181/libavcodec/i386

Modified Files:
	mmx.h 
Log Message:
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.


Index: mmx.h
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/i386/mmx.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- mmx.h	11 Oct 2004 02:19:29 -0000	1.5
+++ mmx.h	10 Dec 2005 22:53:44 -0000	1.6
@@ -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
 
 /*





More information about the ffmpeg-cvslog mailing list