<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">The LLVM maybe optimize and reorder float operators, it give us different output with GCC/MSVC.<br><div></div><div id="divNeteaseMailCard"></div><br>At 2016-02-11 15:57:02,"Pradeep Ramachandran" <pradeep@multicorewareinc.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">Why is this necessary?<div class="gmail_extra">Pradeep.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 11, 2016 at 1:04 PM, <span dir="ltr"><<a href="mailto:ramya@multicorewareinc.com" target="_blank">ramya@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 Ramya Sriraman <<a href="mailto:ramya@multicorewareinc.com" target="_blank">ramya@multicorewareinc.com</a>><br>
# Date 1455173784 -19800<br>
# Thu Feb 11 12:26:24 2016 +0530<br>
# Node ID b22558e286d95befb2730bcfd8b3613c981ff9d2<br>
# Parent 822782933427f19e76b34f340a3c52fb4bc95424<br>
testbench: Change error range in check_ssim_end4 from 0.0001 to 0.001<br>
<br>
diff -r 822782933427 -r b22558e286d9 source/test/pixelharness.cpp<br>
--- a/source/test/pixelharness.cpp Tue Feb 09 12:05:42 2016 +0530<br>
+++ b/source/test/pixelharness.cpp Thu Feb 11 12:26:24 2016 +0530<br>
@@ -858,7 +858,7 @@<br>
int width = (rand() % 4) + 1; // range[1-4]<br>
float cres = ref(sum0, sum1, width);<br>
float vres = checked_float(opt, sum0, sum1, width);<br>
- if (fabs(vres - cres) > 0.0001)<br>
+ if (fabs(vres - cres) > 0.001)<br>
return false;<br>
<br>
reportfail();<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br></div></div>
</blockquote></div>