diff options
author | Alan Lawrence <alan.lawrence@arm.com> | 2015-06-24 16:15:53 +0000 |
---|---|---|
committer | Alan Lawrence <alalaw01@gcc.gnu.org> | 2015-06-24 16:15:53 +0000 |
commit | a591e1d14ae3fdfe49d74bcdf94d5f0ba41fe3dd (patch) | |
tree | de81a3c955de1a5df7def21c50b90ce8c57f6e9e /gcc | |
parent | 261fb553d291b2fd74ae28348dda80115bf6d29e (diff) | |
download | gcc-a591e1d14ae3fdfe49d74bcdf94d5f0ba41fe3dd.zip gcc-a591e1d14ae3fdfe49d74bcdf94d5f0ba41fe3dd.tar.gz gcc-a591e1d14ae3fdfe49d74bcdf94d5f0ba41fe3dd.tar.bz2 |
[AArch64 Doc] Clarify feature modifiers {no,}{fp,simd,crypto}
gcc:
* doc/invoke.texi: Clarify AArch64 feature modifiers (no)fp, (no)simd
and (no)crypto.
From-SVN: r224909
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 25 |
2 files changed, 22 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dc609a9..bf4f27c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2015-06-24 Alan Lawrence <alan.lawrence@arm.com> + * doc/invoke.texi: Clarify AArch64 feature modifiers (no)fp, (no)simd + and (no)crypto. + +2015-06-24 Alan Lawrence <alan.lawrence@arm.com> + * config/aarch64/aarch64-protos.h (aarch64_err_no_fpadvsimd): New. * config/aarch64/aarch64.md (mov<mode>/GPF, movtf): Use diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index b99ab1c..053dd5d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -12359,7 +12359,10 @@ Generate big-endian code. This is the default when GCC is configured for an @item -mgeneral-regs-only @opindex mgeneral-regs-only -Generate code which uses only the general registers. +Generate code which uses only the general-purpose registers. This is equivalent +to feature modifier @option{nofp} of @option{-march} or @option{-mcpu}, except +that @option{-mgeneral-regs-only} takes precedence over any conflicting feature +modifier regardless of sequence. @item -mlittle-endian @opindex mlittle-endian @@ -12498,20 +12501,22 @@ over the appropriate part of this option. @subsubsection @option{-march} and @option{-mcpu} Feature Modifiers @cindex @option{-march} feature modifiers @cindex @option{-mcpu} feature modifiers -Feature modifiers used with @option{-march} and @option{-mcpu} can be one -the following: +Feature modifiers used with @option{-march} and @option{-mcpu} can be any of +the following and their inverses @option{no@var{feature}}: @table @samp @item crc Enable CRC extension. @item crypto -Enable Crypto extension. This implies Advanced SIMD is enabled. +Enable Crypto extension. This also enables Advanced SIMD and floating-point +instructions. @item fp -Enable floating-point instructions. +Enable floating-point instructions. This is on by default for all possible +values for options @option{-march} and @option{-mcpu}. @item simd -Enable Advanced SIMD instructions. This implies floating-point instructions -are enabled. This is the default for all current possible values for options -@option{-march} and @option{-mcpu=}. +Enable Advanced SIMD instructions. This also enables floating-point +instructions. This is on by default for all possible values for options +@option{-march} and @option{-mcpu}. @item lse Enable Large System Extension instructions. @item pan @@ -12522,6 +12527,10 @@ Enable Limited Ordering Regions support. Enable ARMv8.1 Advanced SIMD instructions. @end table +That is, @option{crypto} implies @option{simd} implies @option{fp}. +Conversely, @option{nofp} (or equivalently, @option{-mgeneral-regs-only}) +implies @option{nosimd} implies @option{nocrypto}. + @node Adapteva Epiphany Options @subsection Adapteva Epiphany Options |