aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2016-06-07 12:56:43 +0100
committerRobert Suchanek <rts@gcc.gnu.org>2016-06-07 11:56:43 +0000
commit6dc046586724bc68108d481eb0c75238fb641892 (patch)
tree20844fa8ae240b75c1b0d3423a42fa3a7d1c6d98
parentce120587f3810484e8b939b7df69320d9f39420c (diff)
downloadgcc-6dc046586724bc68108d481eb0c75238fb641892.zip
gcc-6dc046586724bc68108d481eb0c75238fb641892.tar.gz
gcc-6dc046586724bc68108d481eb0c75238fb641892.tar.bz2
[MIPS] P5600 scheduler fix
gcc/ * config/mips/p5600.md (p5600_fpu_fadd): Remove checking for `fabs' and `fneg' type attributes. (p5600_fpu_fabs): Add `fmove' to the comment. Co-Authored-By: Prachi Godbole <prachi.godbole@imgtec.com> From-SVN: r237173
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/mips/p5600.md4
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 16f8b60..4b278b1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2016-06-07 Simon Dardis <simon.dardis@imgtec.com>
+ Prachi Godbole <prachi.godbole@imgtec.com>
+
+ * config/mips/p5600.md (p5600_fpu_fadd): Remove checking for
+ `fabs' and `fneg' type attributes.
+ (p5600_fpu_fabs): Add `fmove' to the comment.
+
2016-06-07 Jan Hubicka <hubicka@ucw.cz>
* gimple.c: Include builtins.h
diff --git a/gcc/config/mips/p5600.md b/gcc/config/mips/p5600.md
index 694a745..4500ceb 100644
--- a/gcc/config/mips/p5600.md
+++ b/gcc/config/mips/p5600.md
@@ -163,10 +163,10 @@
;; fadd, fsub
(define_insn_reservation "p5600_fpu_fadd" 4
(and (eq_attr "cpu" "p5600")
- (eq_attr "type" "fadd,fabs,fneg"))
+ (eq_attr "type" "fadd"))
"p5600_fpu_long, p5600_fpu_apu")
-;; fabs, fneg, fcmp
+;; fabs, fneg, fcmp, fmove
(define_insn_reservation "p5600_fpu_fabs" 2
(and (eq_attr "cpu" "p5600")
(eq_attr "type" "fabs,fneg,fcmp,fmove"))