[x265] [PATCH] pixel_add_pp_4x4, merged movd and pmovzxbw

praveen at multicorewareinc.com praveen at multicorewareinc.com
Wed Nov 20 14:11:09 CET 2013


# HG changeset patch
# User Praveen Tiwari
# Date 1384953059 -19800
# Node ID 1044e71e42ad08d9961e3c3106609eda58f099f4
# Parent  ded2852c6b9af78ec2f9a4754a6d7743c3c7233c
pixel_add_pp_4x4, merged movd and pmovzxbw

diff -r ded2852c6b9a -r 1044e71e42ad source/common/x86/pixeladd8.asm
--- a/source/common/x86/pixeladd8.asm	Wed Nov 20 18:36:02 2013 +0530
+++ b/source/common/x86/pixeladd8.asm	Wed Nov 20 18:40:59 2013 +0530
@@ -63,8 +63,7 @@
 
 add         r5,            r5
 
-movd        m0,            [r2]
-pmovzxbw    m0,            m0
+pmovzxbw    m0,            [r2]
 movh        m1,            [r3]
 
 paddw       m0,            m1
@@ -72,8 +71,7 @@
 
 movd        [r0],          m0
 
-movd        m0,            [r2 + r4]
-pmovzxbw    m0,            m0
+pmovzxbw    m0,            [r2 + r4]
 movh        m1,            [r3 + r5]
 
 paddw       m0,            m1
@@ -81,8 +79,7 @@
 
 movd        [r0 + r1],     m0
 
-movd        m0,            [r2 + 2 * r4]
-pmovzxbw    m0,            m0
+pmovzxbw    m0,            [r2 + 2 * r4]
 movh        m1,            [r3 + 2 * r5]
 
 paddw       m0,            m1
@@ -94,8 +91,7 @@
 lea         r2,            [r2 + 2 * r4]
 lea         r3,            [r3 + 2 * r5]
 
-movd        m0,            [r2 + r4]
-pmovzxbw    m0,            m0
+pmovzxbw    m0,            [r2 + r4]
 movh        m1,            [r3 + r5]
 
 paddw       m0,            m1


More information about the x265-devel mailing list