diff options
Diffstat (limited to 'gcc/config/arm/arm.md')
-rw-r--r-- | gcc/config/arm/arm.md | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index dac7a0a6056..bd8ea8f201d 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -320,8 +320,8 @@ ; than one on the main cpu execution unit. (define_attr "core_cycles" "single,multi" (if_then_else (eq_attr "type" - "adc_imm, adc_reg, adcs_imm, adcs_reg, adr, alu_ext, alu_imm, alu_reg,\ - alu_shift_imm, alu_shift_reg, alus_ext, alus_imm, alus_reg,\ + "adc_imm, adc_reg, adcs_imm, adcs_reg, adr, alu_ext, alu_imm, alu_sreg,\ + alu_shift_imm, alu_shift_reg, alu_dsp_reg, alus_ext, alus_imm, alus_sreg,\ alus_shift_imm, alus_shift_reg, bfm, csel, rev, logic_imm, logic_reg,\ logic_shift_imm, logic_shift_reg, logics_imm, logics_reg,\ logics_shift_imm, logics_shift_reg, extend, shift_imm, float, fcsel,\ @@ -602,7 +602,7 @@ (set_attr "arch" "t2,t2,t2,t2,*,*,*,t2,t2,*,*,a,t2,t2,*") (set (attr "type") (if_then_else (match_operand 2 "const_int_operand" "") (const_string "alu_imm") - (const_string "alu_reg"))) + (const_string "alu_sreg"))) ] ) @@ -620,7 +620,7 @@ sub%.\\t%0, %1, #%n2 add%.\\t%0, %1, %2" [(set_attr "conds" "set") - (set_attr "type" "alus_imm,alus_imm,alus_reg")] + (set_attr "type" "alus_imm,alus_imm,alus_sreg")] ) (define_insn "*addsi3_compare0_scratch" @@ -636,7 +636,7 @@ cmn%?\\t%0, %1" [(set_attr "conds" "set") (set_attr "predicable" "yes") - (set_attr "type" "alus_imm,alus_imm,alus_reg")] + (set_attr "type" "alus_imm,alus_imm,alus_sreg")] ) (define_insn "*compare_negsi_si" @@ -651,7 +651,7 @@ (set_attr "arch" "t2,*") (set_attr "length" "2,4") (set_attr "predicable_short_it" "yes,no") - (set_attr "type" "alus_reg")] + (set_attr "type" "alus_sreg")] ) ;; This is the canonicalization of addsi3_compare0_for_combiner when the @@ -669,7 +669,7 @@ add%.\\t%0, %1, %3 sub%.\\t%0, %1, #%n3" [(set_attr "conds" "set") - (set_attr "type" "alus_reg")] + (set_attr "type" "alus_sreg")] ) ;; Convert the sequence @@ -727,7 +727,7 @@ sub%.\\t%0, %1, #%n2 add%.\\t%0, %1, %2" [(set_attr "conds" "set") - (set_attr "type" "alus_imm,alus_imm,alus_reg")] + (set_attr "type" "alus_imm,alus_imm,alus_sreg")] ) (define_insn "*addsi3_compare_op2" @@ -744,7 +744,7 @@ add%.\\t%0, %1, %2 sub%.\\t%0, %1, #%n2" [(set_attr "conds" "set") - (set_attr "type" "alus_imm,alus_imm,alus_reg")] + (set_attr "type" "alus_imm,alus_imm,alus_sreg")] ) (define_insn "*compare_addsi2_op0" @@ -765,7 +765,7 @@ (set_attr "arch" "t2,t2,*,*,*") (set_attr "predicable_short_it" "yes,yes,no,no,no") (set_attr "length" "2,2,4,4,4") - (set_attr "type" "alus_imm,alus_reg,alus_imm,alus_imm,alus_reg")] + (set_attr "type" "alus_imm,alus_sreg,alus_imm,alus_imm,alus_sreg")] ) (define_insn "*compare_addsi2_op1" @@ -786,7 +786,7 @@ (set_attr "arch" "t2,t2,*,*,*") (set_attr "predicable_short_it" "yes,yes,no,no,no") (set_attr "length" "2,2,4,4,4") - (set_attr "type" "alus_imm,alus_reg,alus_imm,alus_imm,alus_reg")] + (set_attr "type" "alus_imm,alus_sreg,alus_imm,alus_imm,alus_sreg")] ) (define_insn "*addsi3_carryin_<optab>" @@ -1201,7 +1201,7 @@ (set_attr "arch" "t2,t2,t2,t2,*,*,*,*,*") (set_attr "predicable" "yes") (set_attr "predicable_short_it" "yes,yes,yes,yes,no,no,no,no,no") - (set_attr "type" "alu_reg,alu_reg,alu_reg,alu_reg,alu_imm,alu_imm,alu_reg,alu_reg,multiple")] + (set_attr "type" "alu_sreg,alu_sreg,alu_sreg,alu_sreg,alu_imm,alu_imm,alu_sreg,alu_sreg,multiple")] ) (define_peephole2 @@ -1231,7 +1231,7 @@ sub%.\\t%0, %1, %2 rsb%.\\t%0, %2, %1" [(set_attr "conds" "set") - (set_attr "type" "alus_imm,alus_reg,alus_reg")] + (set_attr "type" "alus_imm,alus_sreg,alus_sreg")] ) (define_insn "subsi3_compare" @@ -1246,7 +1246,7 @@ sub%.\\t%0, %1, %2 rsb%.\\t%0, %2, %1" [(set_attr "conds" "set") - (set_attr "type" "alus_imm,alus_reg,alus_reg")] + (set_attr "type" "alus_imm,alus_sreg,alus_sreg")] ) (define_expand "subsf3" @@ -4366,7 +4366,7 @@ (set_attr "predicable_short_it" "yes,no") (set_attr "arch" "t2,*") (set_attr "length" "4") - (set_attr "type" "alu_reg")] + (set_attr "type" "alu_sreg")] ) (define_expand "negsf2" @@ -5828,7 +5828,7 @@ return \"add\\t%0, %|pc\"; " [(set_attr "length" "2") - (set_attr "type" "alu_reg")] + (set_attr "type" "alu_sreg")] ) (define_insn "pic_add_dot_plus_eight" @@ -5844,7 +5844,7 @@ return \"add%?\\t%0, %|pc, %1\"; " [(set_attr "predicable" "yes") - (set_attr "type" "alu_reg")] + (set_attr "type" "alu_sreg")] ) (define_insn "tls_load_dot_plus_eight" @@ -6857,7 +6857,7 @@ (set_attr "length" "2,2,4,4,4") (set_attr "predicable" "yes") (set_attr "predicable_short_it" "yes,yes,yes,no,no") - (set_attr "type" "alus_imm,alus_reg,alus_reg,alus_imm,alus_imm")] + (set_attr "type" "alus_imm,alus_sreg,alus_sreg,alus_imm,alus_imm")] ) (define_insn "*cmpsi_shiftsi" @@ -9430,10 +9430,10 @@ (set_attr_alternative "type" [(if_then_else (match_operand 3 "const_int_operand" "") (const_string "alu_imm" ) - (const_string "alu_reg")) + (const_string "alu_sreg")) (const_string "alu_imm") - (const_string "alu_reg") - (const_string "alu_reg")])] + (const_string "alu_sreg") + (const_string "alu_sreg")])] ) (define_insn "*ifcompare_move_plus" @@ -9470,7 +9470,7 @@ sub%D4\\t%0, %2, #%n3\;mov%d4\\t%0, %1" [(set_attr "conds" "use") (set_attr "length" "4,4,8,8") - (set_attr "type" "alu_reg,alu_imm,multiple,multiple")] + (set_attr "type" "alu_sreg,alu_imm,multiple,multiple")] ) (define_insn "*ifcompare_arith_arith" |