On 20 June 2012 00:41, deadalnix <deadalnix@gmail.com> wrote:
Le 19/06/2012 23:22, Manu a écrit :

If you had the register alias feature I described above, would you be
ale to write such low-level manipulations using intrinsics?
I think I would be able to rewrite all x86 asm blocks I've ever written
using that feature.


No, I couldn't. Such code involved stack manipulations that cannot be emulated by such a feature.

Really?
Can you elaborate? Give me an example that couldn't be done with register aliasing and intrinsics?

 
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). 

It seemed to me your comment was about inline assembly, not about naked functions:

It don't see what make ARM that different on regard to inline assembly capabilities.

I was just listing some reasons I think the inline assembler is more useful to ARM + PPC code than it is to x86 code.
Naked is what it is... and it's occasionally useful in very low level situations.