<div dir="ltr">Please ignore this patch</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 25, 2013 at 4:08 PM, <span dir="ltr"><<a href="mailto:nabajit@multicorewareinc.com" target="_blank">nabajit@multicorewareinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Nabajit Deka<br>
# Date 1385375804 -19800<br>
# Mon Nov 25 16:06:44 2013 +0530<br>
# Node ID 21d87345c83d732137d6319023ead387a442377a<br>
# Parent 4a5ad44661863551a57ab5a2d38f9e91e4297b7c<br>
Test bench modifications for weight_sp() asm routine<br>
<br>
diff -r 4a5ad4466186 -r 21d87345c83d source/test/pixelharness.cpp<br>
--- a/source/test/pixelharness.cpp Mon Nov 25 16:04:53 2013 +0530<br>
+++ b/source/test/pixelharness.cpp Mon Nov 25 16:06:44 2013 +0530<br>
@@ -287,10 +287,10 @@<br>
memset(ref_dest, 0, 64 * 64 * sizeof(pixel));<br>
memset(opt_dest, 0, 64 * 64 * sizeof(pixel));<br>
int j = 0;<br>
- int width = (2 * rand()) % 64;<br>
+ int width = (2 * (rand() + 1)) % 64;<br>
int height = 8;<br>
- int w0 = rand() % 256;<br>
- int shift = rand() % 12;<br>
+ int w0 = rand() % 128;<br>
+ int shift = rand() % 15;<br>
int round = shift ? (1 << (shift - 1)) : 0;<br>
int offset = (rand() % 256) - 128;<br>
for (int i = 0; i < ITERS; i++)<br>
</blockquote></div><br></div>