[arm] Remove insn_flags.
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 15 Dec 2016 15:47:58 +0000 (15:47 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Thu, 15 Dec 2016 15:47:58 +0000 (15:47 +0000)
commit6c466c7c6f4b58c7ee2b45bf448ec20bb715f4bc
treebc3c8dffa30748f3352278e2a38bdd8de936ae2b
parent7d0ce9412cf8f961f4e517fef036b2d6bba2dea6
[arm] Remove insn_flags.

This patch finishes the job of removing insn_flags and moves the logic
over to using the new data structures.  I've added a new boolean
variable to detect when we have ARMv7ve-like capabilities and thus
have 64-bit atomic operations since that would be a complex query and
expensive to do in full.  It might be better to add a specific bit to
the ISA data structures to indicate this capability directly.

* arm-protos.h (insn_flags): Delete declaration.
(arm_arch7ve): Declare.
* arm.c (insn_flags): Delete.
(arm_arch7ve): New variable.
(arm_selected_cpu): Delete.
(arm_option_check_internal): Use new ISA bitmap.
(arm_option_override_internal): Likewise.
(arm_configure_build_target): Declare arm_selected_cpu locally.
(arm_option_override): Use new ISA bitmap.  Initialize arm_arch7ve.
Rearrange variable intialization by general function.
* arm.h (TARGET_HAVE_LPAE): Use arm_arch7ve.

From-SVN: r243703
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h