[x264-devel] x86inc: Turn 'movsxd' into 'movifnidn' on x86-32

Henrik Gramner git at videolan.org
Tue Mar 12 19:32:05 CET 2019


x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Thu Jan 31 20:11:01 2019 +0100| [b7e9935c3f08055a67a0fdea498499c675d00054] | committer: Anton Mitrofanov

x86inc: Turn 'movsxd' into 'movifnidn' on x86-32

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=b7e9935c3f08055a67a0fdea498499c675d00054
---

 common/x86/x86inc.asm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/x86/x86inc.asm b/common/x86/x86inc.asm
index 479dad9c..2ffa6f2d 100644
--- a/common/x86/x86inc.asm
+++ b/common/x86/x86inc.asm
@@ -281,6 +281,10 @@ DECLARE_REG_TMP_SIZE 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14
     %endif
 %endmacro
 
+%if ARCH_X86_64 == 0
+    %define movsxd movifnidn
+%endif
+
 %macro movsxdifnidn 2
     %ifnidn %1, %2
         movsxd %1, %2



More information about the x264-devel mailing list