[x265] [PATCH] asm: replace mova by movu to avoid crashing x265_denoise_dct_sse4() 32-bit version

praveen at multicorewareinc.com praveen at multicorewareinc.com
Tue Aug 23 13:45:48 CEST 2016


# HG changeset patch
# User Praveen Tiwari <praveen at multicorewareinc.com>
# Date 1471952630 -19800
#      Tue Aug 23 17:13:50 2016 +0530
# Node ID 1c646739b6628a3a8e308a22c948a4495a157140
# Parent  49a0d1176aef5bc6330fcfd39b4589616c174f0a
asm: replace mova by movu to avoid crashing x265_denoise_dct_sse4() 32-bit version

diff -r 49a0d1176aef -r 1c646739b662 source/common/x86/dct8.asm
--- a/source/common/x86/dct8.asm	Wed Jul 27 21:47:20 2016 +0200
+++ b/source/common/x86/dct8.asm	Tue Aug 23 17:13:50 2016 +0530
@@ -2112,7 +2112,7 @@
     pxor     m5,  m5
     shr      r3d, 3
 .loop:
-    mova     m0, [r0]
+    movu     m0, [r0]
     pabsw    m1, m0
 
     movu     m2, [r1]
@@ -2130,7 +2130,7 @@
     pcmpgtw  m4, m1, m5
     pand     m1, m4
     psignw   m1, m0
-    mova     [r0], m1
+    movu     [r0], m1
     add      r0, 16
     add      r1, 32
     add      r2, 16


More information about the x265-devel mailing list