[arm] Add isa features to FPU descriptions
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 15 Dec 2016 15:54:53 +0000 (15:54 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Thu, 15 Dec 2016 15:54:53 +0000 (15:54 +0000)
commit066416dabcdc6da2596da2c19a9876218c634435
treed569d01e12b38f32edf957d26a8f5915986f23bb
parentc17c0c7a524d2b1eb96cf0edc8a72299fea7b252
[arm] Add isa features to FPU descriptions

Similar to the new CPU and architecture ISA feature lists, we now add
similar capabilities to each FPU description.  We don't use these yet,
that will come in later patches.  These follow the same style as the
newly modified flag sets, but use slightly different defaults that
more accurately reflect the ISA specifications.

* arm-isa.h (isa_feature): Add bits for VFPv4, FPv5, fp16conv,
fP_dbl, fp_d32 and fp_crypto.
(ISA_ALL_FPU): Add all the new bits.
(ISA_VFPv2, ISA_VFPv3, ISA_VFPv4, ISA_FPv5): New macros.
(ISA_FP_ARMv8, ISA_FP_DBL, ISA_FP_D32, ISA_NEON, ISA_CRYPTO): Likewise.
* arm-fpus.def: Add ISA features to all FPUs.
* arm.h: (arm_fpu_desc): Add new field for ISA bits.
* arm.c (all_fpus): Initialize it.
* arm-tables.opt: Regenerated.

From-SVN: r243709
gcc/ChangeLog
gcc/config/arm/arm-fpus.def
gcc/config/arm/arm-tables.opt
gcc/config/arm/arm.c
gcc/config/arm/arm.h