[x265] [PATCH] sse_pp8: Replaced 'vpbroadcastd' with cheaper 'pxor' instruction

praveen at multicorewareinc.com praveen at multicorewareinc.com
Thu Aug 8 12:41:36 CEST 2013


# HG changeset patch
# User praveentiwari
# Date 1375958486 -19800
# Node ID e2684493138f138c0f1c14bb01d41152bad3878e
# Parent  5f97f9ddd0780efb7d679b6be0659ab872d7c707
sse_pp8: Replaced 'vpbroadcastd' with cheaper 'pxor' instruction

diff -r 5f97f9ddd078 -r e2684493138f source/common/vec/sse.inc
--- a/source/common/vec/sse.inc	Thu Aug 08 15:58:20 2013 +0530
+++ b/source/common/vec/sse.inc	Thu Aug 08 16:11:26 2013 +0530
@@ -51,7 +51,7 @@
 int sse_pp8(pixel* Org, intptr_t strideOrg, pixel* Cur, intptr_t strideCur)
 {
     int rows = ly;
-    __m128i sum = _mm_set1_epi32(0);
+    __m128i sum = _mm_setzero_si128();
 
     for (; rows != 0; rows--)
     {


More information about the x265-devel mailing list