[FFmpeg-cvslog] r20293 - trunk/libavcodec/x86/x86inc.asm

lorenm subversion
Sun Oct 18 23:42:28 CEST 2009


Author: lorenm
Date: Sun Oct 18 23:42:28 2009
New Revision: 20293

Log:
sync yasm macros to x264

Modified:
   trunk/libavcodec/x86/x86inc.asm

Modified: trunk/libavcodec/x86/x86inc.asm
==============================================================================
--- trunk/libavcodec/x86/x86inc.asm	Sun Oct 18 23:41:03 2009	(r20292)
+++ trunk/libavcodec/x86/x86inc.asm	Sun Oct 18 23:42:28 2009	(r20293)
@@ -53,7 +53,7 @@
 ; in memory) must use an address mode that does fit.
 ; So all accesses to global variables must use this macro, e.g.
 ;     mov eax, [foo GLOBAL]
-;   instead of
+; instead of
 ;     mov eax, [foo]
 ;
 ; x86_32 doesn't require PIC.
@@ -84,7 +84,7 @@
 ; PROLOGUE can also be invoked by adding the same options to cglobal
 
 ; e.g.
-; cglobal foo, 2,3, dst, src, tmp
+; cglobal foo, 2,3,0, dst, src, tmp
 ; declares a function (foo), taking two args (dst and src) and one local variable (tmp)
 
 ; TODO Some functions can use some args directly from the stack. If they're the
@@ -438,6 +438,7 @@ DECLARE_REG 6, ebp, ebp, bp, null, [esp 
     %ifdef PREFIX
         %xdefine %1 _ %+ %1
     %endif
+    %xdefine %1.skip_prologue %1 %+ .skip_prologue
     %ifidn __OUTPUT_FORMAT__,elf
         global %1:function hidden
     %else
@@ -599,9 +600,6 @@ INIT_MMX
 %endmacro
 
 ;Substitutions that reduce instruction size but are functionally equivalent
-%define movdqa movaps
-%define movdqu movups
-
 %macro add 2
     %ifnum %2
         %if %2==128



More information about the ffmpeg-cvslog mailing list