yank '>>>'?
Adam D. Ruppe
destructionator at gmail.com
Sun Dec 6 10:07:29 PST 2009
On Sun, Dec 06, 2009 at 05:36:49PM +0000, dsimcha wrote:
> In a close to the metal language, there needs to be a straightforward, efficient
> way to access it.
You could always do what I did in my D SHA implementations:
uint something = whatever;
asm { rol something, 5; }
something += stuff;
We have inline asm, so I say just go ahead and use it.
Though, if you did want a D function for it (SafeD could use it then I guess),
std.intrinsic is where I'd expect it to be.
--
Adam D. Ruppe
http://arsdnet.net
More information about the Digitalmars-d
mailing list