Inline ASM in D

Sascha Katzner sorry.no at spam.invalid
Sun Apr 27 10:02:34 PDT 2008


Frits van Bommel wrote:
> That would be why both Phobos and Tango have "uint bswap(uint)" (Phobos 
> in std.intrinsic, Tango in tango.core.BitManip). It's a compiler 
> intrinsic, meaning it should compile down to the 'bswap' asm instruction 
> on x86.

Nice, I've completely overlooked this module until now, thanks! :-)

...but nevertheless I'm missing a way to build inline asm functions by 
myself. There are *A LOT* intrinsics that I'm missing.

LLAP,
Sascha



More information about the Digitalmars-d mailing list