Le 19/06/2012 23:54, Manu a écrit :
On 20 June 2012 00:41, deadalnix <[email protected]
<mailto:[email protected]>> 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?
Walter gave you examples. You'll find many others in druntime.
Here is something I wrote recently that use this again :
http://www.deadalnix.me/2012/03/24/get-an-exception-from-a-segfault-on-linux-x86-and-x86_64-using-some-black-magic/