Summary: Unsigned rotate standard function in Phobos
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos

--- Comment #0 from 2011-10-18 15:10:25 PDT ---
I think Phobos needs one or two functions to rotate the bits of a unsigned
integral value, because DMD is now able to optimize a specific coding pattern
to use specific CPU instructions, but it's easy to write the operation in a way
that doesn't allow the pattern to be recognized. 

A Phobos template function (with a constraint that lets it accept only the
right input types) will allow to explicitly ask for this operation to every
present and future D compiler, with no risk of mistakes from the programmer.

See also:

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to