This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [AArch64] Add feature flags and command line for ARMv8.2 FP16 support.
- From: Tristan Gingold <gingold at adacore dot com>
- To: Matthew Wahab <matthew dot wahab at foss dot arm dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 11 Dec 2015 09:41:29 +0100
- Subject: Re: [AArch64] Add feature flags and command line for ARMv8.2 FP16 support.
- Authentication-results: sourceware.org; auth=none
- References: <56544DF9 dot 6010309 at foss dot arm dot com> <566996F9 dot 6010105 at foss dot arm dot com>
> On 10 Dec 2015, at 16:15, Matthew Wahab <matthew.wahab@foss.arm.com> wrote:
>
> Commit: https://sourceware.org/ml/binutils-cvs/2015-11/msg00162.html
>
> Is this also ok for the 2.26 branch?
yes.
>
> Matthew
>
> On 24/11/15 11:46, Matthew Wahab wrote:
>> Hello,
>>
>> 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.
>>
>> Tested aarch64-none-linux-gnu with cross-compiled check-binutils and
>> check-gas. Checked the HTML documentaion in Firefox.
>>
>> Ok for trunk?
>> Matthew
>>
>> gas/
>> 2015-11-24 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-24 Matthew Wahab <matthew.wahab@arm.com>
>>
>> * aarch64.h (AARCH64_FEATURE_F16): New.
>> (AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_F16 to ARMv8.2
>> features.
>>
>>
>