This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v2] aarch64: allow adding/removing just feature flags via .arch_extension
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Marcus Shawcroft <marcus dot shawcroft at arm dot com>, Richard Earnshaw <rearnsha at arm dot com>
- Date: Tue, 18 Nov 2014 11:57:21 +0000
- Subject: Re: [PATCH v2] aarch64: allow adding/removing just feature flags via .arch_extension
- Authentication-results: sourceware.org; auth=none
- References: <5465D73A020000780004786B at mail dot emea dot novell dot com>
On 14 November 2014 09:19, Jan Beulich <JBeulich@suse.com> wrote:
> Rather than requiring to always also set/change the base architecture,
> allow just en-/disabling of architecture extensions, matching what ARM
> has.
>
> gas/
> 2014-11-14 Jan Beulich <jbeulich@suse.com>
>
> * config/tc-aarch64.c (s_aarch64_arch_extension): New.
> (md_pseudo_table): Add arch_extension.
> (aarch64_parse_features): New parameter "ext_only". Handle it.
> (aarch64_parse_cpu, aarch64_parse_arch, s_aarch64_cpu,
> s_aarch64_arch): Pass FALSE as new third argument of
> aarch64_parse_features().
>
> gas/testsuite/
> 2014-11-14 Jan Beulich <jbeulich@suse.com>
>
> * gas/aarch64/crc32-directive.d: New.
> * gas/aarch64/crypto-directive.d: New.
> * gas/aarch64/crc32.s: Adjust to allow for directive use.
> * gas/aarch64/crypto.s: Likewise.
OK.
Would you mind adding the .arch_extension directive to c-aarch64.texi,
I think copying the text from c-arm would be fine?
Cheers
/Marcus