<div class="gmail_quote">On 8 January 2012 19:56, Peter Alexander <span dir="ltr"><<a href="mailto:peter.alexander.au@gmail.com">peter.alexander.au@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">These don't make a lot of sense to return as value, e.g.</div></div>
<br>
__v128 a, b;<br>
a = simdop(movhlps, b); // ???<br>
<br>
movhlps moves the top 64-bits of b into the bottom 64-bits of a. Can't be done as an expression like this.<br></blockquote><div><br></div><div>The conventional way is to write it like this:</div><div>  r = simdop(movhlps, a, b);</div>
<div><br></div><div>This allows you to chain the functions together, ie. passing the result as an arg..</div></div>