This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] aarch64: allow adding/removing just feature flags via .arch
- 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: Mon, 20 Oct 2014 13:27:13 +0100
- Subject: Re: [PATCH] aarch64: allow adding/removing just feature flags via .arch
- Authentication-results: sourceware.org; auth=none
- References: <5444F0C0020000780004022C at mail dot emea dot novell dot com>
On 20 October 2014 10:23, Jan Beulich <JBeulich@suse.com> wrote:
> Rather than requiring to always also set/change the base architecture,
> allow that part to be omitted, making it possible to en-/disabled and
> then dis-/enable again just certain of the architecture extensions.
I'd like to keep the behaviour of the .arch and .cpu directives in ARM
and AArch64 backends aligned, for that reason I would prefer that we
add the missing .arch_extension directive to the AArch64 backend, see
the ARM backend:
@cindex @code{.arch_extension} directive, ARM
@item .arch_extension @var{name}
Add or remove an architecture extension to the target architecture. Valid
values for @var{name} are the same as those accepted as architectural
extensions by the @option{-mcpu} commandline option.
@code{.arch_extension} may be used multiple times to add or remove extensions
incrementally to the architecture being compiled for.
Cheers
/Marcus