diff options
author | Matthew Wahab <matthew.wahab@arm.com> | 2015-11-27 13:19:50 +0000 |
---|---|---|
committer | Matthew Wahab <matthew.wahab@arm.com> | 2015-11-27 13:19:50 +0000 |
commit | 870181955b565b4fbbf4efcbec4a43d687703d1a (patch) | |
tree | 64698c0f1358be3aeb3425e653fd88389b79a8f2 /gas/doc | |
parent | Automatic date update in version.in (diff) | |
download | binutils-gdb-870181955b565b4fbbf4efcbec4a43d687703d1a.tar.gz binutils-gdb-870181955b565b4fbbf4efcbec4a43d687703d1a.tar.bz2 binutils-gdb-870181955b565b4fbbf4efcbec4a43d687703d1a.zip |
[AArch64] Add feature flags and command line for ARMv8.2 FP16 support.
ARMv8.2 adds optional support for 16-bit operations to the FP and
Adv.SIMD instructions. This patch adds a feature macro for this support
with a new command line option "+fp16" to enable/disable it.
Although the command line option is added as an architecture extension,
it only affects instructions available with when +fp or +simd is
enabled. If +fp16 is specified then it will also enable +fp.
There are currently no FP16 instructions implemented in binutils, this
patch is to enable subsequent work on supporting the extension.
gas/
2015-11-27 Matthew Wahab <matthew.wahab@arm.com>
* config/tc-aarch64.c (aarch64_features): Add "fp16".
* doc/c-aarch64.texi (Architecture Extensions): Add "fp16".
include/opcode/
2015-11-27 Matthew Wahab <matthew.wahab@arm.com>
* aarch64.h (AARCH64_FEATURE_F16): New.
(AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_F16 to ARMv8.2
features.
Change-Id: Id2021e0513946e16d0935c2a5b9605574cdff95a
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-aarch64.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index bfd41c31ef6..2717af2ece8 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -142,6 +142,9 @@ automatically cause those extensions to be disabled. @tab Enable Limited Ordering Regions extensions. @item @code{rdma} @tab ARMv8-A @tab ARMv8-A or later @tab Enable ARMv8.1 Advanced SIMD extensions. This implies @code{simd}. +@item @code{fp16} @tab ARMv8.2-A @tab ARMv8.2-A or later + @tab Enable ARMv8.2 16-bit floating-point support. This implies + @code{fp}. @end multitable @node AArch64 Syntax |