Landing: 81d25063773b

Project / Subsystem

gcc / gcc/aarch64

Date

2026-08-31

Author

Robin Dapp

Commit

81d25063773b48a163b0198aa5ed4a5468142e05

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/aarch64
patch_id
—
commit_hash
81d25063773b48a163b0198aa5ed4a5468142e05
source_type
github
headline
Set REGMODE_NATURAL_SIZE for advsimd vectors on AArch64
tldr
AArch64 now correctly sets REGMODE_NATURAL_SIZE for advsimd vectors, ensuring subregister validity for vector components.
author
Robin Dapp
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • aarch64
  • • vectorization
  • • compiler-internals
discussion_id_link
—
bugzilla_pr
—
date
2026-08-31T00:00:00.000Z

This change sets the REGMODE_NATURAL_SIZE for AArch64’s advsimd vectors to the size of a single vector element. This aligns with recent RISC-V changes and ensures that subregisters representing parts of a vector are correctly identified as invalid if they are smaller than a full vector, preventing incorrect code generation.