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 v2] aarch64: allow adding/removing just feature flags via .arch_extension


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


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