Five years ago, Walter said rotate intrinsic functions would be added (see http://www.digitalmars.com/d/archives/7593.html)
Please add left and right rotate operator/functions to std.intrinsic.
Comment #1 by bugzilla — 2007-04-10T20:51:51Z
Changed to enhancement request.
Comment #2 by kai — 2009-10-11T07:14:55Z
Created attachment 472
Implementation of rol() and ror() intrinsics.
Comment #3 by kai — 2009-10-11T07:34:34Z
I also like to get the rol() and ror() intrinsics. They are extremly useful in message digest computation and other cryptographic functions.
The attached patch is a implementation of both instrinsics. It's against dmd1.048. Since this is my first modification of dmd, I expect that there are still some errors in it. I tested it with severel message digest implementations and found no problem.
Comment #4 by hsteoh — 2013-08-13T09:42:49Z
Related issue #6829.
Comment #5 by code — 2013-11-01T19:06:39Z
*** This issue has been marked as a duplicate of issue 6829 ***