OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96c9cc1
)
x86inc: clip num_args to 7 on x86-32.
author
Loren Merritt
<lorenm@u.washington.edu>
Fri, 27 Jul 2012 16:33:41 +0000
(09:33 -0700)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Sat, 28 Jul 2012 15:29:45 +0000
(08:29 -0700)
This allows us to unconditionally set the cglobal num_args
parameter to a bigger value, thus making writing yasm code
even easier than before.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavutil/x86/x86inc.asm
patch
|
blob
|
history
diff --git
a/libavutil/x86/x86inc.asm
b/libavutil/x86/x86inc.asm
index
1030f10
..
7a75951
100644
(file)
--- a/
libavutil/x86/x86inc.asm
+++ b/
libavutil/x86/x86inc.asm
@@
-441,6
+441,9
@@
DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
%macro PROLOGUE 2-4+ ; #args, #regs, #xmm_regs, arg_names...
%assign num_args %1
%assign regs_used %2
+ %if num_args > 7
+ %assign num_args 7
+ %endif
%if regs_used > 7
%assign regs_used 7
%endif