[x264-devel] x86inc: Sync minor changes from ffmpeg/libav
Henrik Gramner
git at videolan.org
Wed Aug 19 21:16:14 CEST 2015
x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Mon Aug 3 21:05:11 2015 +0200| [e1a55bbbff2b4460ceb843f163e349fed7d32969] | committer: Anton Mitrofanov
x86inc: Sync minor changes from ffmpeg/libav
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=e1a55bbbff2b4460ceb843f163e349fed7d32969
---
common/x86/x86inc.asm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/common/x86/x86inc.asm b/common/x86/x86inc.asm
index c0fa723..a0076ac 100644
--- a/common/x86/x86inc.asm
+++ b/common/x86/x86inc.asm
@@ -146,6 +146,7 @@
%define r%1w %2w
%define r%1b %2b
%define r%1h %2h
+ %define %2q %2
%if %0 == 2
%define r%1m %2d
%define r%1mp %2
@@ -997,13 +998,13 @@ INIT_XMM
; Append cpuflags to the callee's name iff the appended name is known and the plain name isn't
%macro call 1
- call_internal %1, %1 %+ SUFFIX
+ call_internal %1 %+ SUFFIX, %1
%endmacro
%macro call_internal 2
- %xdefine %%i %1
- %ifndef cglobaled_%1
- %ifdef cglobaled_%2
- %xdefine %%i %2
+ %xdefine %%i %2
+ %ifndef cglobaled_%2
+ %ifdef cglobaled_%1
+ %xdefine %%i %1
%endif
%endif
call %%i
More information about the x264-devel
mailing list