<div class="gmail_quote">On 20 June 2012 00:41, deadalnix <span dir="ltr"><<a href="mailto:deadalnix@gmail.com" target="_blank">deadalnix@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 19/06/2012 23:22, Manu a écrit :<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you had the register alias feature I described above, would you be<br>
ale to write such low-level manipulations using intrinsics?<br>
I think I would be able to rewrite all x86 asm blocks I've ever written<br>
using that feature.<br>
<br>
</blockquote>
<br></div>
No, I couldn't. Such code involved stack manipulations that cannot be emulated by such a feature.</blockquote><div><br></div><div>Really?</div><div>Can you elaborate? Give me an example that couldn't be done with register aliasing and intrinsics?</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote>
<div class="im">Even if it is true, you don't address the actual interrogation. The discussion was about the naked functionality, and some advanced that naked can be useful on ARM, but not on x86. The specificities of ARM you mention here don't explain that point. (I don't want to pronounce myself on PPC as I have no experience on it). <br>
</div></div></blockquote><div><br></div><div>It seemed to me your comment was about inline assembly, not about naked functions:</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><div class="im">It don't see what make ARM that different on regard to inline assembly capabilities.<br></div></div></blockquote></div><div><br></div><div>I was just listing some reasons I think the inline assembler is more useful to ARM + PPC code than it is to x86 code.</div>
<div>Naked is what it is... and it's occasionally useful in very low level situations.</div>