;; Scheduling description for z196 (cpu 2817).
-;; Copyright (C) 2010
-;; Free Software Foundation, Inc.
+;; Copyright (C) 2010-2024 Free Software Foundation, Inc.
;; Contributed by Christian Borntraeger (Christian.Borntraeger@de.ibm.com)
;; Andreas Krebbel (Andreas.Krebbel@de.ibm.com)
(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