<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Dec 6, 2017 8:58 AM, "Sebastian Huber" <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On 06/12/17 14:38, Joel Sherrill wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I spoke with someone yesterday at the FSW who pointed out that Linux has an assembly version of memcpy() for SPARC. Obviously this code is pure GPL so we can't use it. <br>
</blockquote>
<br></div>
Is this assembly version faster, better, whatever?</blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">The person said it was faster especially on unaligned data. Supposed to present this week so maybe will have more details.</div><div dir="auto"><br></div><div dir="auto">He showed me the code and it looked more or less like the optimized ARM version recently added to newlib. Set things up for sequences of ldd/std.</div><div dir="auto"><br></div><div dir="auto">Of course, the key to all these optimized version is to get to a tight loop moving as much data per iteration with some balance between register pressure and cache size.</div><div dir="auto"><br></div><div dir="auto">Just hoping we could find optimized versions from other sources and merge it to newlib. Otherwise, it is tedious work.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font color="#888888"><br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Addr<a href="https://maps.google.com/?q=ess+:+Dornier&entry=gmail&source=g">ess : Dornier</a>str. 4, D-82178 Puchheim, Germany<br>
Phone   : <a href="tel:%2B49%2089%20189%2047%2041-16" value="+4989189474116" target="_blank">+49 89 189 47 41-16</a><br>
Fax     : <a href="tel:%2B49%2089%20189%2047%2041-09" value="+4989189474109" target="_blank">+49 89 189 47 41-09</a><br>
E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>
PGP     : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
</font></blockquote></div><br></div></div></div>