Skip to content

Commit

Permalink
fixup! [compiler-rt][AArch64][FMV] Use the hw.optional.arm.caps fast …
Browse files Browse the repository at this point in the history
  • Loading branch information
jroelofs committed Jun 19, 2024
1 parent 61571e9 commit 0c02811
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@
#if __has_include(<arm/cpu_capabilities_public.h>)
#include <arm/cpu_capabilities_public.h>
#define HAS_CPU_CAPABILITIES_PUBLIC_H 1

// FB13964283 - A few of these didn't make it into the public SDK yet.
#ifndef CAP_BIT_FEAT_SME
#define CAP_BIT_FEAT_SME 40
#endif
#ifndef CAP_BIT_FEAT_SME2
#define CAP_BIT_FEAT_SME2 41
#endif
#ifndef CAP_BIT_FEAT_SME_F64F64
#define CAP_BIT_FEAT_SME_F64F64 42
#endif
#ifndef CAP_BIT_FEAT_SME_I16I64
#define CAP_BIT_FEAT_SME_I16I64 43
#endif

#endif

static bool isKnownAndSupported(const char *name) {
Expand Down

0 comments on commit 0c02811

Please sign in to comment.