Skip to content

Commit

Permalink
FOLLY_ARM_FEATURE_SVE
Browse files Browse the repository at this point in the history
Reviewed By: dmm-fb

Differential Revision: D69268926

fbshipit-source-id: 9138cd2057da0bc16c8cc5ec5e140cb0ce65a38d
  • Loading branch information
yfeldblum authored and facebook-github-bot committed Feb 7, 2025
1 parent e0170be commit d2cbd84
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions third-party/folly/src/folly/Portability.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,14 @@ constexpr auto kHasWeakSymbols = false;
#endif
#endif

#ifndef FOLLY_ARM_FEATURE_SVE
#ifdef __ARM_FEATURE_SVE
#define FOLLY_ARM_FEATURE_SVE 1
#else
#define FOLLY_ARM_FEATURE_SVE 0
#endif
#endif

#ifndef FOLLY_ARM_FEATURE_SVE2
#ifdef __ARM_FEATURE_SVE2
#define FOLLY_ARM_FEATURE_SVE2 1
Expand Down

0 comments on commit d2cbd84

Please sign in to comment.