diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2020-12-03 18:40:34 +0000 |
---|---|---|
committer | Sebastian Pop <spop@amazon.com> | 2020-12-14 18:58:21 +0000 |
commit | 2dc7700c45e62b740e87651b22fba2955ff4bd89 (patch) | |
tree | d476950248a62ec051a393b8ad77963600d58ab8 /gcc/bitmap.c | |
parent | 8e7065a82f916b84eda61488d51a1186f1b23218 (diff) | |
download | gcc-2dc7700c45e62b740e87651b22fba2955ff4bd89.zip gcc-2dc7700c45e62b740e87651b22fba2955ff4bd89.tar.gz gcc-2dc7700c45e62b740e87651b22fba2955ff4bd89.tar.bz2 |
AArch64: Add support for --with-tune
Add support for --with-tune. Like --with-cpu and --with-arch, the argument is
validated and transformed into a -mtune option to be processed like any other
command-line option. --with-tune has no effect if a -mcpu or -mtune option
is used. The validating code didn't allow --with-cpu=native, so explicitly
allow that.
Co-authored-by: Delia Burduv <delia.burduv@arm.com>
Bootstrap OK, regress pass, OK to commit?
2020-09-03 Wilco Dijkstra <wdijkstr@arm.com>
gcc/
* config.gcc (aarch64*-*-*): Add --with-tune. Support --with-cpu=native.
* config/aarch64/aarch64.h (OPTION_DEFAULT_SPECS): Add --with-tune.
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_tune_cortex_a76): New
effective target test.
* gcc.target/aarch64/with-tune-config.c: New test.
* gcc.target/aarch64/with-tune-march.c: Likewise.
* gcc.target/aarch64/with-tune-mcpu.c: Likewise.
* gcc.target/aarch64/with-tune-mtune.c: Likewise.
Diffstat (limited to 'gcc/bitmap.c')
0 files changed, 0 insertions, 0 deletions