[ARM] PR 67591 ARM v8 Thumb IT blocks are deprecated part 2
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 6 Nov 2017 10:43:19 +0000 (10:43 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Mon, 6 Nov 2017 10:43:19 +0000 (11:43 +0100)
2017-11-06  Christophe Lyon  <christophe.lyon@linaro.org>

PR target/67591
* config/arm/arm.md (*sub_shiftsi): Add predicable_short_it
attribute.
(*cmp_ite0): Add enabled_for_depr_it attribute.
(*cmp_ite1): Likewise.

From-SVN: r254446

gcc/ChangeLog
gcc/config/arm/arm.md

index c4a360fe4343633beb053fef85b1a8845f1617dd..b21c5fce2ad9735baf56fb8700fe1fce1a6fb27c 100644 (file)
@@ -1,3 +1,11 @@
+2017-11-06  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       PR target/67591
+       * config/arm/arm.md (*sub_shiftsi): Add predicable_short_it
+       attribute.
+       (*cmp_ite0): Add enabled_for_depr_it attribute.
+       (*cmp_ite1): Likewise.
+
 2017-11-06  Segher Boessenkool  <segher@kernel.crashing.org>
 
        * config/rs6000/rs6000.c (rs6000_insn_cost): Handle TYPE_MFCR and
index ddb9d8f359007c1d86d497aef0ff5fc0e4061813..7f6f0d24de9187a376a0d199036bdeb9386cb86b 100644 (file)
   "TARGET_32BIT"
   "sub%?\\t%0, %1, %3%S2"
   [(set_attr "predicable" "yes")
+   (set_attr "predicable_short_it" "no")
    (set_attr "shift" "3")
    (set_attr "arch" "32,a")
    (set_attr "type" "alus_shift_imm,alus_shift_reg")])
   }"
   [(set_attr "conds" "set")
    (set_attr "arch" "t2,t2,t2,t2,t2,any,any,any,any")
+   (set_attr "enabled_for_depr_it" "yes,no,no,no,no,no,no,no,no")
    (set_attr "type" "multiple")
    (set_attr_alternative "length"
       [(const_int 6)
   }"
   [(set_attr "conds" "set")
    (set_attr "arch" "t2,t2,t2,t2,t2,any,any,any,any")
+   (set_attr "enabled_for_depr_it" "yes,no,no,no,no,no,no,no,no")
    (set_attr_alternative "length"
       [(const_int 6)
        (const_int 8)