Landing: 291a1a78d6f4

Project / Subsystem

gcc / aarch64

Date

2025-09-16

Author

Karl Meakin

Commit

291a1a78d6f43d3273d290bbfe28dda39da274b4

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
—
commit_hash
291a1a78d6f43d3273d290bbfe28dda39da274b4
source_type
github
headline
aarch64: Use variadic arguments in DEF macros
tldr
Simplifies DEF macros for index enums by using variadic arguments to ignore unused parameters.
author
Karl Meakin
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • aarch64
  • • builtins
  • • macros
discussion_id_link
—
bugzilla_pr
—
date
2025-09-16T00:00:00.000Z

This commit refactors several DEF_ macros used for defining index enums in the aarch64 backend. By employing variadic arguments (...), these macros now ignore all arguments except the first (the name). This simplifies the macro definitions and usage, particularly for enums like vector_type_index and mode_suffix_index where only the name is relevant.