[x265] [PATCH 279 of 307] x86: Fix primitive names displayed in testharness for measuring speed

mythreyi at multicorewareinc.com mythreyi at multicorewareinc.com
Sat Apr 7 04:34:37 CEST 2018


# HG changeset patch
# User Vignesh Vijayakumar<vignesh at multicorewareinc.com>
# Date 1515057707 -19800
#      Thu Jan 04 14:51:47 2018 +0530
# Node ID b192baa7583385b4715f07f481aae959d1777a74
# Parent  c225f79142184cb78ded05ba791edc9b3a40b3da
x86: Fix primitive names displayed in testharness for measuring speed

diff -r c225f7914218 -r b192baa75833 source/test/pixelharness.cpp
--- a/source/test/pixelharness.cpp	Thu Jan 04 12:07:45 2018 +0530
+++ b/source/test/pixelharness.cpp	Thu Jan 04 14:51:47 2018 +0530
@@ -3178,7 +3178,7 @@
         }
         if (opt.cu[part].add_ps[ALIGNED])
         {
-            HEADER("add_ps[%s]", lumaPartStr[part]);
+            HEADER("add_ps_aligned[%s]", lumaPartStr[part]);
             REPORT_SPEEDUP(opt.cu[part].add_ps[ALIGNED], ref.cu[part].add_ps[ALIGNED], pbuf1, FENC_STRIDE, pbuf2, sbuf1, STRIDE, STRIDE);
         }
         if (opt.cu[part].copy_ss)
@@ -3310,7 +3310,7 @@
         }
         if ((i <= BLOCK_32x32) && opt.cu[i].ssd_s[ALIGNED])
         {
-            HEADER("ssd_s[%dx%d]", 4 << i, 4 << i);
+            HEADER("ssd_s_aligned[%dx%d]", 4 << i, 4 << i);
             REPORT_SPEEDUP(opt.cu[i].ssd_s[ALIGNED], ref.cu[i].ssd_s[ALIGNED], sbuf1, STRIDE);
         }
         if (opt.cu[i].sa8d)
@@ -3323,22 +3323,19 @@
             HEADER("residual[%dx%d]", 4 << i, 4 << i);
             REPORT_SPEEDUP(opt.cu[i].calcresidual[NONALIGNED], ref.cu[i].calcresidual[NONALIGNED], pbuf1, pbuf2, sbuf1, 64);
         }
-
         if (opt.cu[i].calcresidual[ALIGNED])
         {
-            HEADER("residual[%dx%d]", 4 << i, 4 << i);
+            HEADER("residual_aligned[%dx%d]", 4 << i, 4 << i);
             REPORT_SPEEDUP(opt.cu[i].calcresidual[ALIGNED], ref.cu[i].calcresidual[ALIGNED], pbuf1, pbuf2, sbuf1, 64);
         }
-
         if (opt.cu[i].blockfill_s[NONALIGNED])
         {
             HEADER("blkfill[%dx%d]", 4 << i, 4 << i);
             REPORT_SPEEDUP(opt.cu[i].blockfill_s[NONALIGNED], ref.cu[i].blockfill_s[NONALIGNED], sbuf1, 64, SHORT_MAX);
         }
-
         if (opt.cu[i].blockfill_s[ALIGNED])
         {
-            HEADER("blkfill[%dx%d]", 4 << i, 4 << i);
+            HEADER("blkfill_aligned[%dx%d]", 4 << i, 4 << i);
             REPORT_SPEEDUP(opt.cu[i].blockfill_s[ALIGNED], ref.cu[i].blockfill_s[ALIGNED], sbuf1, 64, SHORT_MAX);
         }
 


More information about the x265-devel mailing list