https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115457

            Bug ID: 115457
           Summary: AArch64 should define __ARM_FEATURE_BF16
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64

According to the ACLE:
https://github.com/ARM-software/acle/blob/main/main/acle.md#arm_bf16h
GCC should define __ARM_FEATURE_BF16 to allow users to check if the
<arm_bf16.h> header is available.
Since GCC provides that header it should define __ARM_FEATURE_BF16.
LLVM does implement this, so it's an inconsistency between the compilers

Reply via email to