+2013-09-05 Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * config/aarch64/aarch64-option-extensions.def: Add
+ AARCH64_OPT_EXTENSION of 'crc'.
+ * config/aarch64/aarch64.h (AARCH64_FL_CRC): New define.
+ (AARCH64_ISA_CRC): Ditto.
+ * doc/invoke.texi (-march and -mcpu feature modifiers): Add
+ description of the CRC extension.
+
2013-09-05 Alexander Ivchenko <alexander.ivchenko@intel.com>
* config/rs6000/linux64.h: Define OPTION_BIONIC and OPTION_UCLIBC.
AARCH64_OPT_EXTENSION("fp", AARCH64_FL_FP, AARCH64_FL_FPSIMD | AARCH64_FL_CRYPTO)
AARCH64_OPT_EXTENSION("simd", AARCH64_FL_FPSIMD, AARCH64_FL_SIMD | AARCH64_FL_CRYPTO)
AARCH64_OPT_EXTENSION("crypto", AARCH64_FL_CRYPTO | AARCH64_FL_FPSIMD, AARCH64_FL_CRYPTO)
+AARCH64_OPT_EXTENSION("crc", AARCH64_FL_CRC, AARCH64_FL_CRC)
#define AARCH64_FL_FP (1 << 1) /* Has FP. */
#define AARCH64_FL_CRYPTO (1 << 2) /* Has crypto. */
#define AARCH64_FL_SLOWMUL (1 << 3) /* A slow multiply core. */
+#define AARCH64_FL_CRC (1 << 4) /* Has CRC. */
/* Has FP and SIMD. */
#define AARCH64_FL_FPSIMD (AARCH64_FL_FP | AARCH64_FL_SIMD)
/* Macros to test ISA flags. */
extern unsigned long aarch64_isa_flags;
+#define AARCH64_ISA_CRC (aarch64_isa_flags & AARCH64_FL_CRC)
#define AARCH64_ISA_CRYPTO (aarch64_isa_flags & AARCH64_FL_CRYPTO)
#define AARCH64_ISA_FP (aarch64_isa_flags & AARCH64_FL_FP)
#define AARCH64_ISA_SIMD (aarch64_isa_flags & AARCH64_FL_SIMD)
the following:
@table @samp
+@item crc
+Enable CRC extension.
@item crypto
Enable Crypto extension. This implies Advanced SIMD is enabled.
@item fp