On Mon, Aug 10, 2015 at 12:57 PM, Matthew Wahab
<matthew.wa...@foss.arm.com> wrote:
> The ARM backend uses an unsigned long to record CPU feature flags and
> there are currently 31 bits in use. This series of patches replaces the
> single unsigned long with a representation based on an array of values.
>
> This patch replaces the existing representation of CPU feature sets with
> the type arm_feature_set and ARM_FSET macros added in an earlier patch
> in this series.
>
> Tested the series for arm-none-linux-gnueabihf with native bootstrap and
> make check.
>
> gcc/
> 2015-08-10  Matthew Wahab  <matthew.wa...@arm.com>
>
>         * config/arm/arm-builtins.c (def_mbuiltin): Use ARM_FSET macro.
>         (struct builtin_description): Change type of mask to unsigned
>         long.
>         * config/arm/arm-protos.h (insn_flags): Declare as type
>         arm_feature_set.
>         (tune_flags): Likewise.
>         * config/arm/arm.c (feature_count): New.
>         (insn_flags): Define as type arm_feature_set.
>         (tune_flags): Likewise.
>         (struct processors): Define field flags as type arm_feature_set.
>         (all_cores): Update for change to struct processors.
>         (all_architectures): Likewise.
>         (arm_option_check_internal): Use arm_feature_set and ARM_FSET
>         macros.
>         (arm_option_override_internal): Likewise.
>         (arm_option_override): Likewise.
>

This is OK

Thanks,
Ramana

Reply via email to