[PATCH v2] aarch64: allow adding/removing just feature flags via .arch_extension

Marcus Shawcroft marcus.shawcroft@gmail.com
Tue Nov 18 11:57:00 GMT 2014


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



More information about the Binutils mailing list