]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/arm/arm.md
* config/arm/thumb2.md (thumb2_notsi_shiftsi,
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Aug 2010 10:25:28 +0000 (10:25 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Aug 2010 10:25:28 +0000 (10:25 +0000)
commitd5d4dc8dab882fb5a33c51d217269140bf1a9c4c
tree4605e56b142665c2ebcb67e4d4f49f45ad1e273b
parent89c698921de18725963b2c4061894ac4bc0b1a8a
* config/arm/thumb2.md (thumb2_notsi_shiftsi,
thumbsi_notsi_shiftsi_compare0, thumb2_not_shiftsi_compare0_scratch,
thumb2_cmpsi_shiftsi, thumb2_cmpsi_shiftsi_swp, thumb2_arith_shiftsi,
thumb2_arith_shiftsi splitter, thumb2_arith_shiftsi_compare0,
thumb2_arith_shiftsi_compare0_scratch, thumb2_sub_shiftsi,
thumb2_sub_shiftsi_compare0, thumb2_sub_shiftsi_compare0_scratch,
thumb2_iorsi3): Delete.
(orsi_notsi_si): No longer a named pattern.
(orsi_not_shiftsi_si): Renamed from thumb_orsi_not_shiftsi_si.
* config/arm/predicates.md (shift_amount_operand): New.
(mult_operator): New.
* config/arm/arm.md (attr arch, attr arch_enabled, attr insn_enabled,
attr enabled): New.
(iorsi3_insn): Renamed from arm_iorsi3.  Handle a new alternative if
arch matches t2.
(not_shiftsi): Renamed from arm_notsi_shiftsi.  Handle Thumb2 variant.
(not_shiftsi_compare0): Likewise, renamed from
arm_notsi_shiftsi_compare0.
(not_shiftsi_compare0_scratch): Likweise, renamed from
arm_notsi_shiftsi_compare0_scratch.
(cmpsi_shiftsi): Likewise, renamed from arm_cmpsi_shiftsi.
(cmpsi_shiftsi_swp): Likewise, renamed from arm_cmpsi_shiftsi_swp.
(arith_shiftsi): Handle Thumb2 variant.  Set insn_enabled attribute
so that the register alternative is disabled when the shift_operator
is MULT.  Use "M" as the constraint for constants.
(arith_shiftsi splitter): Enable for TARGET_32BIT.
(arith_shiftsi_compare0): Handle Thumb2 variant.  Use "M" as the
constraint for constants.
(arith_shiftsi_compare0_scratch): Likewise.
(sub_shiftsi, sub_shiftsi_compare0, sub_shiftsi_compare0_scratch):
Handle Thumb2 alternative.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163281 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.md
gcc/config/arm/predicates.md
gcc/config/arm/thumb2.md