diff options
author | Andrew Carlotti <andrew.carlotti@arm.com> | 2025-01-08 23:52:01 +0000 |
---|---|---|
committer | Andrew Carlotti <andrew.carlotti@arm.com> | 2025-01-24 19:01:05 +0000 |
commit | 1ba5027ebfe96b507d32f884a0ee8064cbbbc15d (patch) | |
tree | 2b519de691f20b06fd7137bb82af391989d5404d /gcc/config/aarch64/aarch64-ldp-fusion.cc | |
parent | 5a674214b9fe96db4c1a033c585e40cd97592d5b (diff) | |
download | gcc-1ba5027ebfe96b507d32f884a0ee8064cbbbc15d.zip gcc-1ba5027ebfe96b507d32f884a0ee8064cbbbc15d.tar.gz gcc-1ba5027ebfe96b507d32f884a0ee8064cbbbc15d.tar.bz2 |
aarch64: Adjust option parsing parameter types.
Replace `const struct processor *` in output parameters with
`aarch64_arch` or `aarch64_cpu`.
Replace `std:string` parameter in aarch64_print_hint_for_extensions with
`char *`.
Also name the return parameters more clearly and consistently.
gcc/ChangeLog:
* config/aarch64/aarch64.cc
(aarch64_print_hint_for_extensions): Receive string as a char *.
(aarch64_parse_arch): Don't return a const struct processor *.
(aarch64_parse_cpu): Ditto.
(aarch64_parse_tune): Ditto.
(aarch64_validate_mtune): Ditto.
(aarch64_validate_mcpu): Ditto, and use temporary variables for
march/mcpu cross-check.
(aarch64_validate_march): Ditto.
(aarch64_override_options): Adjust for changed parameter types.
(aarch64_handle_attr_arch): Ditto.
(aarch64_handle_attr_cpu): Ditto.
(aarch64_handle_attr_tune): Ditto.
Diffstat (limited to 'gcc/config/aarch64/aarch64-ldp-fusion.cc')
0 files changed, 0 insertions, 0 deletions