<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div>On Mar 12, 2013, at 12:48, Renato Golin <<a href="mailto:renato.golin@linaro.org">renato.golin@linaro.org</a>> wrote:<br>
<br></div><blockquote type="cite"><div><div dir="ltr">On 12 March 2013 19:21, Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><span style="color:rgb(34,34,34)">+1</span><br></div>
<br>
There are a couple of example implementations here which are only a few lines long:<br>
<a href="http://wiki.osdev.org/Random_Number_Generator" target="_blank">http://wiki.osdev.org/Random_Number_Generator</a></blockquote><div><br></div><div style>I was going to rant about the quality of simple LCGs but it seems that *all* standard implementations rely on that, so the argument of using a standard library against a one-liner is void. ;)</div>

<div style><br></div><div style>Now, on to the practical issues: is there a place where this can be added once and used everywhere in the LNT, or should we just add that function to all tests that use it?</div></div></div>
</div></div></blockquote><div><br></div>No, not currently. This is what I was alluding to in the commit message I mentioned earlier.<div><br></div><div>However, for the time being I think we should just drop the code into each benchmark that needs it and update the reference outputs as appropriate.</div>
<div><br></div><div> - Daniel</div><div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div style>
<br></div><div style>cheers,</div><div style>--renato</div></div></div></div>
</div></blockquote></div></body></html>