[Issue 9860] New: Shifting a vector by a scalar value should be allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 2 09:09:32 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9860

           Summary: Shifting a vector by a scalar value should be allowed
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: kai at redstar.de


--- Comment #0 from kai at redstar.de 2013-04-02 09:09:30 PDT ---
SSE2 has the PSLLW, PSRLW and PSRAW instruction family. Thus the shift
operators <<, >> and >>> can be implemented for vectors in terms of these
instructions.

This is an useful extension because cryptographic algorithm require a shift
operation very often (e.g. see the vectorized version of SHA1).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list