[x265] [PATCH] weight_pp avx2 asm code: mova replaced with vpbroadcastd

chen chenm003 at 163.com
Fri Oct 24 17:49:01 CEST 2014


 

At 2014-10-24 16:46:04,praveen at multicorewareinc.com wrote:
># HG changeset patch
># User Praveen Tiwari
># Date 1414140356 -19800
># Node ID f7bff89ea659516988fc8f73506f80fc1bbeeeb1
># Parent  583552ec1c83ef91584597ef40e61ee696a8a6a9
>weight_pp avx2 asm code: mova replaced with vpbroadcastd
>
>diff -r 583552ec1c83 -r f7bff89ea659 source/common/x86/pixel-util8.asm
>--- a/source/common/x86/pixel-util8.asm	Fri Oct 24 13:52:45 2014 +0530
>+++ b/source/common/x86/pixel-util8.asm	Fri Oct 24 14:15:56 2014 +0530
>@@ -1378,7 +1378,7 @@
> 
>     movd         xm1, r7m
>     vpbroadcastd m2, r8m
>-    mova         m5, [pw_1]
>+    vpbroadcastd m5, [pw_1]

vpbroadcasti128 is less uops and latency
>     sub          r2d, r3d
>     shr          r3d, 4
> 
>_______________________________________________
>x265-devel mailing list
>x265-devel at videolan.org
>https://mailman.videolan.org/listinfo/x265-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20141024/b83f9b6d/attachment.html>


More information about the x265-devel mailing list