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: unassignedclangb...@nondot.org
          Reporter: yyc1...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to