* config/arm/arm.h (arm_fpu_feature_set): New.
(ARM_FPU_FSET_HAS): New.
(FPU_FL_NONE): New.
(FPU_FL_NEON): New.
(FPU_FL_FP16): New.
(FPU_FL_CRYPTO): New.
From-SVN: r226818
+2015-08-12 Matthew Wahab <matthew.wahab@arm.com>
+
+ * config/arm/arm.h (arm_fpu_feature_set): New.
+ (ARM_FPU_FSET_HAS): New.
+ (FPU_FL_NONE): New.
+ (FPU_FL_NEON): New.
+ (FPU_FL_FP16): New.
+ (FPU_FL_CRYPTO): New.
+
2015-08-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.c (initialize_aarch64_code_model): Break
{"mode", "%{!marm:%{!mthumb:-m%(VALUE)}}"}, \
{"tls", "%{!mtls-dialect=*:-mtls-dialect=%(VALUE)}"},
+/* FPU feature sets. */
+
+typedef unsigned long arm_fpu_feature_set;
+
+/* Test for an FPU feature. */
+#define ARM_FPU_FSET_HAS(S,F) (((S) & (F)) == (F))
+
+/* FPU Features. */
+#define FPU_FL_NONE (0)
+#define FPU_FL_NEON (1 << 0) /* NEON instructions. */
+#define FPU_FL_FP16 (1 << 1) /* Half-precision. */
+#define FPU_FL_CRYPTO (1 << 2) /* Crypto extensions. */
+
/* Which floating point model to use. */
enum arm_fp_model
{