Commit a20e9fc7 authored by lorenm's avatar lorenm

sync yasm macros to x264


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20293 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eb7bebf7
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
; PROLOGUE can also be invoked by adding the same options to cglobal ; PROLOGUE can also be invoked by adding the same options to cglobal
; e.g. ; 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) ; 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 ; 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 + stack_offset + 28] ...@@ -438,6 +438,7 @@ DECLARE_REG 6, ebp, ebp, bp, null, [esp + stack_offset + 28]
%ifdef PREFIX %ifdef PREFIX
%xdefine %1 _ %+ %1 %xdefine %1 _ %+ %1
%endif %endif
%xdefine %1.skip_prologue %1 %+ .skip_prologue
%ifidn __OUTPUT_FORMAT__,elf %ifidn __OUTPUT_FORMAT__,elf
global %1:function hidden global %1:function hidden
%else %else
...@@ -599,9 +600,6 @@ INIT_MMX ...@@ -599,9 +600,6 @@ INIT_MMX
%endmacro %endmacro
;Substitutions that reduce instruction size but are functionally equivalent ;Substitutions that reduce instruction size but are functionally equivalent
%define movdqa movaps
%define movdqu movups
%macro add 2 %macro add 2
%ifnum %2 %ifnum %2
%if %2==128 %if %2==128
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment