aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config.gcc20
-rw-r--r--gcc/doc/install.texi2
2 files changed, 20 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 3e8bd76..a328c25 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -4083,7 +4083,25 @@ fi
supported_defaults=
case "${target}" in
aarch64*-*-*)
- supported_defaults="abi cpu arch tune"
+ supported_defaults="abi cpu cpu_32 cpu_64 arch arch_32 arch_64 tune tune_32 tune_64"
+ if test x$with_cpu_64 != x && test x$with_cpu = x; then
+ with_cpu=$with_cpu_64
+ fi
+ if test x$with_cpu_32 != x && test x$with_cpu = x; then
+ with_cpu=$with_cpu_32
+ fi
+ if test x$with_arch_64 != x && test x$with_arch = x; then
+ with_arch=$with_arch_64
+ fi
+ if test x$with_arch_32 != x && test x$with_arch = x; then
+ with_arch=$with_arch_32
+ fi
+ if test x$with_tune_64 != x && test x$with_tune = x; then
+ with_tune=$with_tune_64
+ fi
+ if test x$with_tune_32 != x && test x$with_tune = x; then
+ with_tune=$with_tune_32
+ fi
for which in cpu arch tune; do
eval "val=\$with_$which"
base_val=`echo $val | sed -e 's/\+.*//'`
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index ed737d1..e8fd34c 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1371,7 +1371,7 @@ Specify which cpu variant the compiler should generate code for by default.
This option is only supported on some targets, including ARC, ARM, i386, M68k,
PowerPC, and SPARC@. It is mandatory for ARC@. The @option{--with-cpu-32} and
@option{--with-cpu-64} options specify separate default CPUs for
-32-bit and 64-bit modes; these options are only supported for i386,
+32-bit and 64-bit modes; these options are only supported for aarch64, i386,
x86-64, PowerPC, and SPARC@.
@item --with-schedule=@var{cpu}