[FFmpeg-cvslog] x86: mpeg4qpel: Make movsxifnidn do the right thing

Daniel Kang git at videolan.org
Tue Feb 12 13:34:35 CET 2013


ffmpeg | branch: master | Daniel Kang <daniel.d.kang at gmail.com> | Mon Feb 11 13:45:10 2013 -0500| [b3f2a3fe3fe4e2a752fa2ef26d1e39d51f30cc52] | committer: Diego Biurrun

x86: mpeg4qpel: Make movsxifnidn do the right thing

Fixes an instruction that does nothing by changing the
source to dword.

Signed-off-by: Diego Biurrun <diego at biurrun.de>

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

 libavcodec/x86/mpeg4qpel.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/mpeg4qpel.asm b/libavcodec/x86/mpeg4qpel.asm
index 6b5d203..df20ea9 100644
--- a/libavcodec/x86/mpeg4qpel.asm
+++ b/libavcodec/x86/mpeg4qpel.asm
@@ -100,7 +100,7 @@ PUT_NO_RND_PIXELS8_L2
 ; put_no_rnd_pixels16_l2(uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
 %macro PUT_NO_RND_PIXELS16_l2 0
 cglobal put_no_rnd_pixels16_l2, 6,6
-    movsxdifnidn r3, r3
+    movsxdifnidn r3, r3d
     movsxdifnidn r4, r4d
     pcmpeqb      m6, m6
     test        r5d, 1



More information about the ffmpeg-cvslog mailing list