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

Reply via email to