This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] aarch64: allow adding/removing just feature flags via .arch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]