[llvm-bugs] [Bug 33480] New: __ARM_FEATURE_CRC32 is not defined for armv8.1-a

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 16 07:11:31 PDT 2017


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

            Bug ID: 33480
           Summary: __ARM_FEATURE_CRC32 is not defined for armv8.1-a
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: yyc1992 at gmail.com
                CC: llvm-bugs at lists.llvm.org

crc32c is a required feature on armv8.1-a but when clang is passed
`-march=armv8.1-a`, it does not define the `__ARM_FEATURE_CRC32` which is used
to check if crc32c extension is available.

GCC does define it in this case.

Tested with `{gcc,clang} -march=armv8.1-a -dM - -E < /dev/null | grep -i crc`.
There might be other 8.1/8.2 features that has this issue too.

-- 
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/20170616/ebcfd268/attachment.html>


More information about the llvm-bugs mailing list