Landing: 8653813b1e43

Project / Subsystem

gcc / aarch64

Date

2026-03-12

Author

Artemiy Volkov

Commit

8653813b1e4377bf01c3b1a45c11b9616f5886fe

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
commit_hash
8653813b1e4377bf01c3b1a45c11b9616f5886fe
source_type
github
headline
AArch64: Add __ARM_FEATURE_ macros for SVE2.2 and SME2.2.
tldr
The compiler now defines `__ARM_FEATURE_` macros for the SVE2.2 and SME2.2 extensions on AArch64.
author
Artemiy Volkov
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • aarch64
  • SVE2.2
  • SME2.2
  • macros
  • compiler flags
discussion_id_link
bugzilla_pr
date
2026-03-12T00:00:00.000Z

This commit introduces the __ARM_FEATURE_ macros for the Scalable Vector Extension 2.2 (SVE2.2) and Scalable Matrix Extension 2.2 (SME2.2) on AArch64. These macros allow code to detect the presence of these extensions at compile time, enabling conditional compilation of code that utilizes SVE2.2 and SME2.2 features. The patch also includes new tests to verify the correct definition of these macros.