diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2016-12-15 15:46:41 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2016-12-15 15:46:41 +0000 |
commit | 7d0ce9412cf8f961f4e517fef036b2d6bba2dea6 (patch) | |
tree | b74fc1cc3f5452e98e7d2cc57ea1fcbee10a17de /gcc/tree-parloops.c | |
parent | 199acf6cfbc3fdd7eca990c817752f32b17c7b4d (diff) | |
download | gcc-7d0ce9412cf8f961f4e517fef036b2d6bba2dea6.zip gcc-7d0ce9412cf8f961f4e517fef036b2d6bba2dea6.tar.gz gcc-7d0ce9412cf8f961f4e517fef036b2d6bba2dea6.tar.bz2 |
[arm] Use arm_active_target when configuring builtins
This patch uses the new ISA data structure to determine which builtins
to add. It entirely eliminates the need for insn_flags to be a global
variable, but we're about to delete that in the following patches, so
for now we leave it as a global.
* arm-builtins.c: Include sbitmap.h.
(def_mbuiltin): Change first parameter to a flag bit. Use it to test
available features in the current target.
(struct builtin_description): Change type of feature field.
(IWMMXT_BUILTIN): Use the isa_features types.
(IWMMXT2_BUILTIN): Likewise.
(IWMMXT_BUILTIN2): Likewise.
(IWMMXT2_BUILTIN2): Likewise.
(CRC32_BUILTIN): Likewise.
(CRYPTO_BUILTIN): Likewise.
(iwmmx_builtin): Likewise.
(iwmmx2_builtin): Likewise.
(arm_iwmmxt_builtin): Check for specific feature bits.
From-SVN: r243702
Diffstat (limited to 'gcc/tree-parloops.c')
0 files changed, 0 insertions, 0 deletions