aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/s390/2817.md6
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 05c19eb..d3f4f41 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-26 Christian Borntraeger <borntraeger@de.ibm.com>
+
+ * config/s390/2817.md (z196_crack): Add z196_g3 as possible slot.
+
2010-11-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46664
diff --git a/gcc/config/s390/2817.md b/gcc/config/s390/2817.md
index 9bd4e1a..ea181b0 100644
--- a/gcc/config/s390/2817.md
+++ b/gcc/config/s390/2817.md
@@ -40,8 +40,10 @@
(define_reservation "z196_simple" "( z196_g1 | z196_g2 | z196_g3 )")
(define_reservation "z196_ends" "( z196_g3 | ( z196_g2 + z196_g3 ) | ( z196_g1 + z196_g2 + z196_g3 ) )")
-;; Try to keep cracked and alone ops together in a clump.
-(define_reservation "z196_crack" "( z196_cr1 | z196_cr2 | z196_cr3 )")
+;; Try to keep cracked and alone insns together in a clump. This will also
+;; improve the clumping of "normal" insns. We also allow crackes insns
+;; to go as a last instruction together with normal ones.
+(define_reservation "z196_crack" "( z196_cr1 | z196_cr2 | z196_cr3 | z196_g3)")
(define_reservation "z196_alone" "( z196_cr1 | z196_cr2 | z196_cr3 )")
;; Most simple instruction a fast enough to be handled by OOO even with