[llvm-bugs] [Bug 31075] New: clang doesn't seem to unroll loops for SHA1

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Nov 19 17:25:41 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=31075

            Bug ID: 31075
           Summary: clang doesn't seem to unroll loops for SHA1
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ruiu at google.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org,
                    mehdi.amini at apple.com
    Classification: Unclassified

Currently, lib/Support/SHA1.cpp contains unrolled loops. If I reroll them, the
performance of SHA1 computation worsens from 180 MB/sec to 130 MB/sec.

To see it yourself, please apply this patch. This patch contains llvm-sha1
command for your convenience.

https://reviews.llvm.org/D26891

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161120/a12db0e5/attachment.html>


More information about the llvm-bugs mailing list