From: James Greenhalgh Date: Thu, 14 Nov 2013 10:02:10 +0000 (+0000) Subject: [AArch64] [-mtune cleanup 5/5] Update invoke.texi X-Git-Tag: releases/gcc-4.9.0~2809 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=629f660bc362df58433e9ad613dfdff0b3b88d7e;p=thirdparty%2Fgcc.git [AArch64] [-mtune cleanup 5/5] Update invoke.texi gcc/ * doc/invoke.texi: Update documentation for AArch64's -mcpu and -mtune options. From-SVN: r204785 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4197f6fbde1f..51bef2316263 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-14 James Greenhalgh + + * doc/invoke.texi: Update documentation for AArch64's -mcpu + and -mtune options. + 2013-11-14 James Greenhalgh * config/aarch64/aarch64-cores.def (example-1): Remove. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 25e3eb59e6fc..25f4983e1513 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -11169,9 +11169,9 @@ instead of the @option{-mcpu=} option. Specify the name of the target processor, optionally suffixed by one or more feature modifiers. This option has the form @option{-mcpu=@var{cpu}@r{@{}+@r{[}no@r{]}@var{feature}@r{@}*}}, where the -possible values for @var{cpu} are @samp{generic}, @samp{large}. The -possible values for @var{feature} are documented in the sub-section -below. +possible values for @var{cpu} are @samp{generic}, @samp{cortex-a53}, +@samp{cortex-a57}. The possible values for @var{feature} are documented +in the sub-section below. Where conflicting feature modifiers are specified, the right-most feature is used. @@ -11184,8 +11184,12 @@ generating assembly code. Specify the name of the processor to tune the performance for. The code will be tuned as if the target processor were of the type specified in this option, but still using instructions compatible with the target processor specified -by a @option{-mcpu=} option. This option cannot be suffixed by feature -modifiers. +by a @option{-mcpu=} option. Where no @option{-mtune=} option is +specified, the code will be tuned to perform well on the target processor +given by @option{-mcpu=} or @option{-march=}. Where none of +@option{-mtune=}, @option{-mcpu=} or @option{-march=} are specified, +the code will be tuned to perform well across a range of target +processors. This option cannot be suffixed by feature modifiers. @end table