aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2022-06-01 16:46:36 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2022-06-01 18:13:57 +0100
commitae54c1b09963779c5c3914782324ff48af32e2f1 (patch)
treed752f87a693613ca3992d020b25e49683ef7f0d5 /gcc/ada
parentcf78d8411d00e21c30512d2af895e70d38bbfb77 (diff)
downloadgcc-ae54c1b09963779c5c3914782324ff48af32e2f1.zip
gcc-ae54c1b09963779c5c3914782324ff48af32e2f1.tar.gz
gcc-ae54c1b09963779c5c3914782324ff48af32e2f1.tar.bz2
AArch64: Cleanup option processing code
Further cleanup option processing. Remove the duplication of global variables for CPU and tune settings so that CPU option processing is simplified even further. Move global variables that need save and restore due to target option processing into aarch64.opt. This removes the need for explicit saving/restoring and unnecessary reparsing of options. gcc/ * config/aarch64/aarch64.opt (explicit_tune_core): Rename to selected_tune. (explicit_arch): Rename to selected_arch. (x_aarch64_override_tune_string): Remove. (aarch64_ra_sign_key): Add as TargetVariable so it gets saved/restored. (aarch64_override_tune_string): Add Save so it gets saved/restored. * config/aarch64/aarch64.h (aarch64_architecture_version): Remove. * config/aarch64/aarch64.cc (aarch64_architecture_version): Remove. (processor): Remove archtecture_version field. (selected_arch): Remove global. (selected_cpu): Remove global. (selected_tune): Remove global. (aarch64_ra_sign_key): Move global to aarch64.opt so it is saved. (aarch64_override_options_internal): Use aarch64_get_tune_cpu. (aarch64_override_options): Further simplify code to only set selected_arch and selected_tune globals. (aarch64_option_save): Remove now that target options are saved. (aarch64_option_restore): Remove redundant target option restores. * config/aarch64/aarch64-c.cc (aarch64_update_cpp_builtins): Use AARCH64_ISA_V9. * config/aarch64/aarch64-opts.h (aarch64_key_type): Add, moved from... * config/aarch64/aarch64-protos.h (aarch64_key_type): Remove. (aarch64_ra_sign_key): Remove.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions