[PATCH v2 3/5] aarch64: Use variadic arguments
via Sourceware Forge
forge-bot@forge-test.rdfm.org
Thu Oct 2 17:45:24 GMT 2025
From: Karl Meakin <karl.meakin@arm.com>
When defining various index enums (eg `vector_type_index`,
`mode_suffix_index`) we are only interested in the name (the first
argument). So all the other arguments to the `DEF_` macro can be ignored
by using `...`.
gcc/ChangeLog:
* config/aarch64/aarch64-sve-builtins.h (DEF_SVE_TYPE): Use
variadic arguments.
(DEF_SVE_MODE): Likewise.
(DEF_SVE_NEON_TYPE_SUFFIX): Likewise.
(DEF_SME_ZA_SUFFIX): Likewise.
(DEF_SVE_GROUP_SUFFIX): Likewise.
---
gcc/config/aarch64/aarch64-sve-builtins.h | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0003-aarch64-Use-variadic-arguments.patch
Type: text/x-patch
Size: 1709 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/test-list/attachments/20251002/04a9f527/attachment.bin>
More information about the Test-list
mailing list