Patchwork Patch ARM - PR target/56058

login
register
mail settings
Submitter Ramana Radhakrishnan
Date Jan. 21, 2013, 10:47 a.m.
Message ID <50FD1CB4.804@arm.com>
Download mbox | patch
Permalink /patch/214073/
State New
Headers show

Comments

Ramana Radhakrishnan - Jan. 21, 2013, 10:47 a.m.
Fix up wrong file committed earlier to incorporate the changes as in my 
original patch. Additionally fix up copyright years.

Applied to trunk.

regards
Ramana


2013-01-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

         PR target/56058
         * config/arm/marvell-pj4.md: Update copyright year.
         Fix up use of alu to alu_reg and simple_alu_imm.




ramrad01@e102483:~/sources/fsf/trunk-new$ svn diff
         (eq_attr "conds" "set")
         (not (eq_attr "insn" "mov,mvn")))
 
"pj4_is,(pj4_alu1,pj4_w1+pj4_cp)|(pj4_alu2,pj4_w2+pj4_cp)")

Patch

Index: gcc/config/arm/marvell-pj4.md
===================================================================
--- gcc/config/arm/marvell-pj4.md       (revision 195330)
+++ gcc/config/arm/marvell-pj4.md       (working copy)
@@ -1,5 +1,5 @@ 
  ;; Marvell ARM Processor Pipeline Description
-;; Copyright (C) 2010, 2011, 2012 Free Software Foundation, Inc.
+;; Copyright (C) 2010-2013 Free Software Foundation, Inc.
  ;; Contributed by Marvell.

  ;; This file is part of GCC.
@@ -41,28 +41,28 @@ 

  (define_insn_reservation "pj4_alu_e1" 1
    (and (eq_attr "tune" "marvell_pj4")
-       (eq_attr "type" "alu")
+       (eq_attr "type" "simple_alu_imm,alu_reg")
         (not (eq_attr "conds" "set"))
         (eq_attr "insn" "mov,mvn"))
 
"pj4_is,(pj4_alu1,pj4_w1+pj4_cp)|(pj4_alu2,pj4_w2+pj4_cp)")

  (define_insn_reservation "pj4_alu_e1_conds" 4
    (and (eq_attr "tune" "marvell_pj4")
-       (eq_attr "type" "alu")
+       (eq_attr "type" "simple_alu_imm,alu_reg")
         (eq_attr "conds" "set")
         (eq_attr "insn" "mov,mvn"))
 
"pj4_is,(pj4_alu1,pj4_w1+pj4_cp)|(pj4_alu2,pj4_w2+pj4_cp)")

  (define_insn_reservation "pj4_alu" 1
    (and (eq_attr "tune" "marvell_pj4")
-       (eq_attr "type" "alu")
+       (eq_attr "type" "simple_alu_imm,alu_reg")
         (not (eq_attr "conds" "set"))
         (not (eq_attr "insn" "mov,mvn")))
 
"pj4_is,(pj4_alu1,pj4_w1+pj4_cp)|(pj4_alu2,pj4_w2+pj4_cp)")

  (define_insn_reservation "pj4_alu_conds" 4
    (and (eq_attr "tune" "marvell_pj4")
-       (eq_attr "type" "alu")
+       (eq_attr "type" "simple_alu_imm,alu_reg")