1 ;; Itanium1 (original Itanium) DFA descriptions for insn scheduling
3 ;; Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
4 ;; Contributed by Vladimir Makarov <vmakarov@redhat.com>.
6 ;; This file is part of GCC.
8 ;; GCC is free software; you can redistribute it and/or modify
9 ;; it under the terms of the GNU General Public License as published by
10 ;; the Free Software Foundation; either version 2, or (at your option)
13 ;; GCC is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;; GNU General Public License for more details.
18 ;; You should have received a copy of the GNU General Public License
19 ;; along with GCC; see the file COPYING. If not, write to
20 ;; the Free Software Foundation, 59 Temple Place - Suite 330,
21 ;; Boston, MA 02111-1307, USA. */
25 /* This is description of pipeline hazards based on DFA. The
26 following constructions can be used for this:
28 o define_cpu_unit string [string]) describes a cpu functional unit
31 1st operand: Names of cpu function units.
32 2nd operand: Name of automaton (see comments for
35 All define_reservations and define_cpu_units should have unique
36 names which cannot be "nothing".
38 o (exclusion_set string string) means that each CPU function unit
39 in the first string cannot be reserved simultaneously with each
40 unit whose name is in the second string and vise versa. CPU
41 units in the string are separated by commas. For example, it is
42 useful for description CPU with fully pipelined floating point
43 functional unit which can execute simultaneously only single
44 floating point insns or only double floating point insns.
46 o (presence_set string string) means that each CPU function unit in
47 the first string cannot be reserved unless at least one of
48 pattern of units whose names are in the second string is
49 reserved. This is an asymmetric relation. CPU units or unit
50 patterns in the strings are separated by commas. Pattern is one
51 unit name or unit names separated by white-spaces.
53 For example, it is useful for description that slot1 is reserved
54 after slot0 reservation for a VLIW processor. We could describe
55 it by the following construction
57 (presence_set "slot1" "slot0")
59 Or slot1 is reserved only after slot0 and unit b0 reservation.
60 In this case we could write
62 (presence_set "slot1" "slot0 b0")
64 All CPU functional units in a set should belong to the same
67 o (final_presence_set string string) is analogous to
68 `presence_set'. The difference between them is when checking is
69 done. When an instruction is issued in given automaton state
70 reflecting all current and planned unit reservations, the
71 automaton state is changed. The first state is a source state,
72 the second one is a result state. Checking for `presence_set' is
73 done on the source state reservation, checking for
74 `final_presence_set' is done on the result reservation. This
75 construction is useful to describe a reservation which is
76 actually two subsequent reservations. For example, if we use
78 (presence_set "slot1" "slot0")
80 the following insn will be never issued (because slot1 requires
81 slot0 which is absent in the source state).
83 (define_reservation "insn_and_nop" "slot0 + slot1")
85 but it can be issued if we use analogous `final_presence_set'.
87 o (absence_set string string) means that each CPU function unit in
88 the first string can be reserved only if each pattern of units
89 whose names are in the second string is not reserved. This is an
90 asymmetric relation (actually exclusion set is analogous to this
91 one but it is symmetric). CPU units or unit patterns in the
92 string are separated by commas. Pattern is one unit name or unit
93 names separated by white-spaces.
95 For example, it is useful for description that slot0 cannot be
96 reserved after slot1 or slot2 reservation for a VLIW processor.
97 We could describe it by the following construction
99 (absence_set "slot2" "slot0, slot1")
101 Or slot2 cannot be reserved if slot0 and unit b0 are reserved or
102 slot1 and unit b1 are reserved . In this case we could write
104 (absence_set "slot2" "slot0 b0, slot1 b1")
106 All CPU functional units in a set should to belong the same
109 o (final_absence_set string string) is analogous to `absence_set' but
110 checking is done on the result (state) reservation. See comments
111 for final_presence_set.
113 o (define_bypass number out_insn_names in_insn_names) names bypass with
114 given latency (the first number) from insns given by the first
115 string (see define_insn_reservation) into insns given by the
116 second string. Insn names in the strings are separated by
119 o (define_automaton string) describes names of an automaton
120 generated and used for pipeline hazards recognition. The names
121 are separated by comma. Actually it is possibly to generate the
122 single automaton but unfortunately it can be very large. If we
123 use more one automata, the summary size of the automata usually
124 is less than the single one. The automaton name is used in
125 define_cpu_unit. All automata should have unique names.
127 o (automata_option string) describes option for generation of
128 automata. Currently there are the following options:
130 o "no-minimization" which makes no minimization of automata.
131 This is only worth to do when we are debugging the description
132 and need to look more accurately at reservations of states.
134 o "ndfa" which makes automata with nondetermenistic reservation
137 o (define_reservation string string) names reservation (the first
138 string) of cpu functional units (the 2nd string). Sometimes unit
139 reservations for different insns contain common parts. In such
140 case, you describe common part and use one its name (the 1st
141 parameter) in regular expression in define_insn_reservation. All
142 define_reservations, define results and define_cpu_units should
143 have unique names which cannot be "nothing".
145 o (define_insn_reservation name default_latency condition regexpr)
146 describes reservation of cpu functional units (the 3nd operand)
147 for instruction which is selected by the condition (the 2nd
148 parameter). The first parameter is used for output of debugging
149 information. The reservations are described by a regular
150 expression according the following syntax:
152 regexp = regexp "," oneof
155 oneof = oneof "|" allof
158 allof = allof "+" repeat
161 repeat = element "*" number
164 element = cpu_function_name
170 1. "," is used for describing start of the next cycle in
173 2. "|" is used for describing the reservation described by the
174 first regular expression *or* the reservation described by
175 the second regular expression *or* etc.
177 3. "+" is used for describing the reservation described by the
178 first regular expression *and* the reservation described by
179 the second regular expression *and* etc.
181 4. "*" is used for convenience and simply means sequence in
182 which the regular expression are repeated NUMBER times with
183 cycle advancing (see ",").
185 5. cpu function unit name which means reservation.
187 6. reservation name -- see define_reservation.
189 7. string "nothing" means no units reservation.
193 (define_automaton "one")
195 ;; All possible combinations of bundles/syllables
196 (define_cpu_unit "1_0m.ii, 1_0m.mi, 1_0m.fi, 1_0m.mf, 1_0b.bb, 1_0m.bb,\
197 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx" "one")
198 (define_cpu_unit "1_0mi.i, 1_0mm.i, 1_0mf.i, 1_0mm.f, 1_0bb.b, 1_0mb.b,\
199 1_0mi.b, 1_0mm.b, 1_0mf.b, 1_0mlx." "one")
200 (define_cpu_unit "1_0mii., 1_0mmi., 1_0mfi., 1_0mmf., 1_0bbb., 1_0mbb.,\
201 1_0mib., 1_0mmb., 1_0mfb." "one")
203 (define_cpu_unit "1_1m.ii, 1_1m.mi, 1_1m.fi, 1_1b.bb, 1_1m.bb,\
204 1_1m.ib, 1_1m.mb, 1_1m.fb, 1_1m.lx" "one")
205 (define_cpu_unit "1_1mi.i, 1_1mm.i, 1_1mf.i, 1_1bb.b, 1_1mb.b,\
206 1_1mi.b, 1_1mm.b, 1_1mf.b, 1_1mlx." "one")
207 (define_cpu_unit "1_1mii., 1_1mmi., 1_1mfi., 1_1bbb., 1_1mbb.,\
208 1_1mib., 1_1mmb., 1_1mfb." "one")
211 (exclusion_set "1_0m.ii"
212 "1_0m.mi, 1_0m.fi, 1_0m.mf, 1_0b.bb, 1_0m.bb, 1_0m.ib, 1_0m.mb, 1_0m.fb,\
214 (exclusion_set "1_0m.mi"
215 "1_0m.fi, 1_0m.mf, 1_0b.bb, 1_0m.bb, 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx")
216 (exclusion_set "1_0m.fi"
217 "1_0m.mf, 1_0b.bb, 1_0m.bb, 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx")
218 (exclusion_set "1_0m.mf"
219 "1_0b.bb, 1_0m.bb, 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx")
220 (exclusion_set "1_0b.bb" "1_0m.bb, 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx")
221 (exclusion_set "1_0m.bb" "1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx")
222 (exclusion_set "1_0m.ib" "1_0m.mb, 1_0m.fb, 1_0m.lx")
223 (exclusion_set "1_0m.mb" "1_0m.fb, 1_0m.lx")
224 (exclusion_set "1_0m.fb" "1_0m.lx")
227 (exclusion_set "1_0mi.i"
228 "1_0mm.i, 1_0mf.i, 1_0mm.f, 1_0bb.b, 1_0mb.b, 1_0mi.b, 1_0mm.b, 1_0mf.b,\
230 (exclusion_set "1_0mm.i"
231 "1_0mf.i, 1_0mm.f, 1_0bb.b, 1_0mb.b, 1_0mi.b, 1_0mm.b, 1_0mf.b, 1_0mlx.")
232 (exclusion_set "1_0mf.i"
233 "1_0mm.f, 1_0bb.b, 1_0mb.b, 1_0mi.b, 1_0mm.b, 1_0mf.b, 1_0mlx.")
234 (exclusion_set "1_0mm.f"
235 "1_0bb.b, 1_0mb.b, 1_0mi.b, 1_0mm.b, 1_0mf.b, 1_0mlx.")
236 (exclusion_set "1_0bb.b" "1_0mb.b, 1_0mi.b, 1_0mm.b, 1_0mf.b, 1_0mlx.")
237 (exclusion_set "1_0mb.b" "1_0mi.b, 1_0mm.b, 1_0mf.b, 1_0mlx.")
238 (exclusion_set "1_0mi.b" "1_0mm.b, 1_0mf.b, 1_0mlx.")
239 (exclusion_set "1_0mm.b" "1_0mf.b, 1_0mlx.")
240 (exclusion_set "1_0mf.b" "1_0mlx.")
243 (exclusion_set "1_0mii."
244 "1_0mmi., 1_0mfi., 1_0mmf., 1_0bbb., 1_0mbb., 1_0mib., 1_0mmb., 1_0mfb.,\
246 (exclusion_set "1_0mmi."
247 "1_0mfi., 1_0mmf., 1_0bbb., 1_0mbb., 1_0mib., 1_0mmb., 1_0mfb., 1_0mlx.")
248 (exclusion_set "1_0mfi."
249 "1_0mmf., 1_0bbb., 1_0mbb., 1_0mib., 1_0mmb., 1_0mfb., 1_0mlx.")
250 (exclusion_set "1_0mmf."
251 "1_0bbb., 1_0mbb., 1_0mib., 1_0mmb., 1_0mfb., 1_0mlx.")
252 (exclusion_set "1_0bbb." "1_0mbb., 1_0mib., 1_0mmb., 1_0mfb., 1_0mlx.")
253 (exclusion_set "1_0mbb." "1_0mib., 1_0mmb., 1_0mfb., 1_0mlx.")
254 (exclusion_set "1_0mib." "1_0mmb., 1_0mfb., 1_0mlx.")
255 (exclusion_set "1_0mmb." "1_0mfb., 1_0mlx.")
256 (exclusion_set "1_0mfb." "1_0mlx.")
259 (exclusion_set "1_1m.ii"
260 "1_1m.mi, 1_1m.fi, 1_1b.bb, 1_1m.bb, 1_1m.ib, 1_1m.mb, 1_1m.fb, 1_1m.lx")
261 (exclusion_set "1_1m.mi"
262 "1_1m.fi, 1_1b.bb, 1_1m.bb, 1_1m.ib, 1_1m.mb, 1_1m.fb, 1_1m.lx")
263 (exclusion_set "1_1m.fi"
264 "1_1b.bb, 1_1m.bb, 1_1m.ib, 1_1m.mb, 1_1m.fb, 1_1m.lx")
265 (exclusion_set "1_1b.bb" "1_1m.bb, 1_1m.ib, 1_1m.mb, 1_1m.fb, 1_1m.lx")
266 (exclusion_set "1_1m.bb" "1_1m.ib, 1_1m.mb, 1_1m.fb, 1_1m.lx")
267 (exclusion_set "1_1m.ib" "1_1m.mb, 1_1m.fb, 1_1m.lx")
268 (exclusion_set "1_1m.mb" "1_1m.fb, 1_1m.lx")
269 (exclusion_set "1_1m.fb" "1_1m.lx")
272 (exclusion_set "1_1mi.i"
273 "1_1mm.i, 1_1mf.i, 1_1bb.b, 1_1mb.b, 1_1mi.b, 1_1mm.b, 1_1mf.b, 1_1mlx.")
274 (exclusion_set "1_1mm.i"
275 "1_1mf.i, 1_1bb.b, 1_1mb.b, 1_1mi.b, 1_1mm.b, 1_1mf.b, 1_1mlx.")
276 (exclusion_set "1_1mf.i"
277 "1_1bb.b, 1_1mb.b, 1_1mi.b, 1_1mm.b, 1_1mf.b, 1_1mlx.")
278 (exclusion_set "1_1bb.b" "1_1mb.b, 1_1mi.b, 1_1mm.b, 1_1mf.b, 1_1mlx.")
279 (exclusion_set "1_1mb.b" "1_1mi.b, 1_1mm.b, 1_1mf.b, 1_1mlx.")
280 (exclusion_set "1_1mi.b" "1_1mm.b, 1_1mf.b, 1_1mlx.")
281 (exclusion_set "1_1mm.b" "1_1mf.b, 1_1mlx.")
282 (exclusion_set "1_1mf.b" "1_1mlx.")
285 (exclusion_set "1_1mii."
286 "1_1mmi., 1_1mfi., 1_1bbb., 1_1mbb., 1_1mib., 1_1mmb., 1_1mfb., 1_1mlx.")
287 (exclusion_set "1_1mmi."
288 "1_1mfi., 1_1bbb., 1_1mbb., 1_1mib., 1_1mmb., 1_1mfb., 1_1mlx.")
289 (exclusion_set "1_1mfi."
290 "1_1bbb., 1_1mbb., 1_1mib., 1_1mmb., 1_1mfb., 1_1mlx.")
291 (exclusion_set "1_1bbb." "1_1mbb., 1_1mib., 1_1mmb., 1_1mfb., 1_1mlx.")
292 (exclusion_set "1_1mbb." "1_1mib., 1_1mmb., 1_1mfb., 1_1mlx.")
293 (exclusion_set "1_1mib." "1_1mmb., 1_1mfb., 1_1mlx.")
294 (exclusion_set "1_1mmb." "1_1mfb., 1_1mlx.")
295 (exclusion_set "1_1mfb." "1_1mlx.")
297 (final_presence_set "1_0mi.i" "1_0m.ii")
298 (final_presence_set "1_0mii." "1_0mi.i")
299 (final_presence_set "1_1mi.i" "1_1m.ii")
300 (final_presence_set "1_1mii." "1_1mi.i")
302 (final_presence_set "1_0mm.i" "1_0m.mi")
303 (final_presence_set "1_0mmi." "1_0mm.i")
304 (final_presence_set "1_1mm.i" "1_1m.mi")
305 (final_presence_set "1_1mmi." "1_1mm.i")
307 (final_presence_set "1_0mf.i" "1_0m.fi")
308 (final_presence_set "1_0mfi." "1_0mf.i")
309 (final_presence_set "1_1mf.i" "1_1m.fi")
310 (final_presence_set "1_1mfi." "1_1mf.i")
312 (final_presence_set "1_0mm.f" "1_0m.mf")
313 (final_presence_set "1_0mmf." "1_0mm.f")
315 (final_presence_set "1_0bb.b" "1_0b.bb")
316 (final_presence_set "1_0bbb." "1_0bb.b")
317 (final_presence_set "1_1bb.b" "1_1b.bb")
318 (final_presence_set "1_1bbb." "1_1bb.b")
320 (final_presence_set "1_0mb.b" "1_0m.bb")
321 (final_presence_set "1_0mbb." "1_0mb.b")
322 (final_presence_set "1_1mb.b" "1_1m.bb")
323 (final_presence_set "1_1mbb." "1_1mb.b")
325 (final_presence_set "1_0mi.b" "1_0m.ib")
326 (final_presence_set "1_0mib." "1_0mi.b")
327 (final_presence_set "1_1mi.b" "1_1m.ib")
328 (final_presence_set "1_1mib." "1_1mi.b")
330 (final_presence_set "1_0mm.b" "1_0m.mb")
331 (final_presence_set "1_0mmb." "1_0mm.b")
332 (final_presence_set "1_1mm.b" "1_1m.mb")
333 (final_presence_set "1_1mmb." "1_1mm.b")
335 (final_presence_set "1_0mf.b" "1_0m.fb")
336 (final_presence_set "1_0mfb." "1_0mf.b")
337 (final_presence_set "1_1mf.b" "1_1m.fb")
338 (final_presence_set "1_1mfb." "1_1mf.b")
340 (final_presence_set "1_0mlx." "1_0m.lx")
341 (final_presence_set "1_1mlx." "1_1m.lx")
344 "1_1m.ii,1_1m.mi,1_1m.fi,1_1b.bb,1_1m.bb,1_1m.ib,1_1m.mb,1_1m.fb,1_1m.lx"
345 "1_0mii.,1_0mmi.,1_0mfi.,1_0mmf.,1_0bbb.,1_0mbb.,1_0mib.,1_0mmb.,1_0mfb.,\
348 ;; Microarchitecture units:
350 "1_um0, 1_um1, 1_ui0, 1_ui1, 1_uf0, 1_uf1, 1_ub0, 1_ub1, 1_ub2,\
351 1_unb0, 1_unb1, 1_unb2" "one")
353 (exclusion_set "1_ub0" "1_unb0")
354 (exclusion_set "1_ub1" "1_unb1")
355 (exclusion_set "1_ub2" "1_unb2")
357 ;; The following rules are used to decrease number of alternatives.
358 ;; They are consequences of Itanium microarchitecture. They also
359 ;; describe the following rules mentioned in Itanium
360 ;; microarchitecture: rules mentioned in Itanium microarchitecture:
361 ;; o "MMF: Always splits issue before the first M and after F regardless
362 ;; of surrounding bundles and stops".
363 ;; o "BBB/MBB: Always splits issue after either of these bundles".
364 ;; o "MIB BBB: Split issue after the first bundle in this pair".
366 (exclusion_set "1_0m.mf,1_0mm.f,1_0mmf."
367 "1_1m.ii,1_1m.mi,1_1m.fi,1_1b.bb,1_1m.bb,1_1m.ib,1_1m.mb,1_1m.fb,1_1m.lx")
368 (exclusion_set "1_0b.bb,1_0bb.b,1_0bbb.,1_0m.bb,1_0mb.b,1_0mbb."
369 "1_1m.ii,1_1m.mi,1_1m.fi,1_1b.bb,1_1m.bb,1_1m.ib,1_1m.mb,1_1m.fb,1_1m.lx")
370 (exclusion_set "1_0m.ib,1_0mi.b,1_0mib." "1_1b.bb")
372 ;; For exceptions of M, I, B, F insns:
373 (define_cpu_unit "1_not_um1, 1_not_ui1, 1_not_uf1" "one")
375 (final_absence_set "1_not_um1" "1_um1")
376 (final_absence_set "1_not_ui1" "1_ui1")
377 (final_absence_set "1_not_uf1" "1_uf1")
379 ;;; "MIB/MFB/MMB: Splits issue after any of these bundles unless the
380 ;;; B-slot contains a nop.b or a brp instruction".
381 ;;; "The B in an MIB/MFB/MMB bundle disperses to B0 if it is a brp or
382 ;;; nop.b, otherwise it disperses to B2".
384 "1_1m.ii, 1_1m.mi, 1_1m.fi, 1_1b.bb, 1_1m.bb, 1_1m.ib, 1_1m.mb, 1_1m.fb,\
386 "1_0mib. 1_ub2, 1_0mfb. 1_ub2, 1_0mmb. 1_ub2")
388 ;; This is necessary to start new processor cycle when we meet stop bit.
389 (define_cpu_unit "1_stop" "one")
391 "1_0m.ii,1_0mi.i,1_0mii.,1_0m.mi,1_0mm.i,1_0mmi.,1_0m.fi,1_0mf.i,1_0mfi.,\
392 1_0m.mf,1_0mm.f,1_0mmf.,1_0b.bb,1_0bb.b,1_0bbb.,1_0m.bb,1_0mb.b,1_0mbb.,\
393 1_0m.ib,1_0mi.b,1_0mib.,1_0m.mb,1_0mm.b,1_0mmb.,1_0m.fb,1_0mf.b,1_0mfb.,\
395 1_1m.ii,1_1mi.i,1_1mii.,1_1m.mi,1_1mm.i,1_1mmi.,1_1m.fi,1_1mf.i,1_1mfi.,\
396 1_1b.bb,1_1bb.b,1_1bbb.,1_1m.bb,1_1mb.b,1_1mbb.,1_1m.ib,1_1mi.b,1_1mib.,\
397 1_1m.mb,1_1mm.b,1_1mmb.,1_1m.fb,1_1mf.b,1_1mfb.,1_1m.lx,1_1mlx."
400 ;; M and I instruction is dispersed to the lowest numbered M or I unit
401 ;; not already in use. An I slot in the 3rd position of 2nd bundle is
402 ;; always dispersed to I1
403 (final_presence_set "1_um1" "1_um0")
404 (final_presence_set "1_ui1" "1_ui0, 1_1mii., 1_1mmi., 1_1mfi.")
408 ;; M and I instruction is dispersed to the lowest numbered M or I unit
409 ;; not already in use. An I slot in the 3rd position of 2nd bundle is
410 ;; always dispersed to I1
411 (define_reservation "1_M0"
412 "1_0m.ii+1_um0|1_0m.mi+1_um0|1_0mm.i+(1_um0|1_um1)\
413 |1_0m.fi+1_um0|1_0m.mf+1_um0|1_0mm.f+1_um1\
414 |1_0m.bb+1_um0|1_0m.ib+1_um0|1_0m.mb+1_um0\
415 |1_0mm.b+1_um1|1_0m.fb+1_um0|1_0m.lx+1_um0\
416 |1_1mm.i+1_um1|1_1mm.b+1_um1\
417 |(1_1m.ii|1_1m.mi|1_1m.fi|1_1m.bb|1_1m.ib|1_1m.mb|1_1m.fb|1_1m.lx)\
420 (define_reservation "1_M1"
421 "(1_0mii.+(1_ui0|1_ui1)|1_0mmi.+1_ui0|1_0mfi.+1_ui0\
422 |1_0mib.+1_unb0|1_0mfb.+1_unb0|1_0mmb.+1_unb0)\
423 +(1_1m.ii|1_1m.mi|1_1m.fi|1_1m.bb|1_1m.ib|1_1m.mb|1_1m.fb|1_1m.lx)\
426 (define_reservation "1_M" "1_M0|1_M1")
428 ;; Exceptions for dispersal rules.
429 ;; "An I slot in the 3rd position of 2nd bundle is always dispersed to I1".
430 (define_reservation "1_I0"
431 "1_0mi.i+1_ui0|1_0mii.+(1_ui0|1_ui1)|1_0mmi.+1_ui0|1_0mfi.+1_ui0\
432 |1_0mi.b+1_ui0|(1_1mi.i|1_1mi.b)+(1_ui0|1_ui1)\
433 |1_1mii.+1_ui1|1_1mmi.+1_ui1|1_1mfi.+1_ui1")
435 (define_reservation "1_I1"
436 "1_0m.ii+1_um0+1_0mi.i+1_ui0|1_0mm.i+(1_um0|1_um1)+1_0mmi.+1_ui0\
437 |1_0mf.i+1_uf0+1_0mfi.+1_ui0|1_0m.ib+1_um0+1_0mi.b+1_ui0\
438 |(1_1m.ii+(1_um0|1_um1)+1_1mi.i\
439 |1_1m.ib+(1_um0|1_um1)+1_1mi.b)+(1_ui0|1_ui1)\
440 |1_1mm.i+1_um1+1_1mmi.+1_ui1|1_1mf.i+1_uf1+1_1mfi.+1_ui1")
442 (define_reservation "1_I" "1_I0|1_I1")
444 ;; "An F slot in the 1st bundle disperses to F0".
445 ;; "An F slot in the 2st bundle disperses to F1".
446 (define_reservation "1_F0"
447 "1_0mf.i+1_uf0|1_0mmf.+1_uf0|1_0mf.b+1_uf0|1_1mf.i+1_uf1|1_1mf.b+1_uf1")
449 (define_reservation "1_F1"
450 "1_0m.fi+1_um0+1_0mf.i+1_uf0|1_0mm.f+(1_um0|1_um1)+1_0mmf.+1_uf0\
451 |1_0m.fb+1_um0+1_0mf.b+1_uf0|1_1m.fi+(1_um0|1_um1)+1_1mf.i+1_uf1\
452 |1_1m.fb+(1_um0|1_um1)+1_1mf.b+1_uf1")
454 (define_reservation "1_F2"
455 "1_0m.mf+1_um0+1_0mm.f+1_um1+1_0mmf.+1_uf0\
456 |(1_0mii.+(1_ui0|1_ui1)|1_0mmi.+1_ui0|1_0mfi.+1_ui0\
457 |1_0mib.+1_unb0|1_0mmb.+1_unb0|1_0mfb.+1_unb0)\
458 +(1_1m.fi+(1_um0|1_um1)+1_1mf.i+1_uf1\
459 |1_1m.fb+(1_um0|1_um1)+1_1mf.b+1_uf1)")
461 (define_reservation "1_F" "1_F0|1_F1|1_F2")
463 ;;; "Each B slot in MBB or BBB bundle disperses to the corresponding B
464 ;;; unit. That is, a B slot in 1st position is dispersed to B0. In the
465 ;;; 2nd position it is dispersed to B2".
466 (define_reservation "1_NB"
467 "1_0b.bb+1_unb0|1_0bb.b+1_unb1|1_0bbb.+1_unb2\
468 |1_0mb.b+1_unb1|1_0mbb.+1_unb2\
469 |1_0mib.+1_unb0|1_0mmb.+1_unb0|1_0mfb.+1_unb0\
470 |1_1b.bb+1_unb0|1_1bb.b+1_unb1\
471 |1_1bbb.+1_unb2|1_1mb.b+1_unb1|1_1mbb.+1_unb2|1_1mib.+1_unb0\
472 |1_1mmb.+1_unb0|1_1mfb.+1_unb0")
474 (define_reservation "1_B0"
475 "1_0b.bb+1_ub0|1_0bb.b+1_ub1|1_0bbb.+1_ub2\
476 |1_0mb.b+1_ub1|1_0mbb.+1_ub2|1_0mib.+1_ub2\
477 |1_0mfb.+1_ub2|1_1b.bb+1_ub0|1_1bb.b+1_ub1\
478 |1_1bbb.+1_ub2|1_1mb.b+1_ub1\
479 |1_1mib.+1_ub2|1_1mmb.+1_ub2|1_1mfb.+1_ub2")
481 (define_reservation "1_B1"
482 "1_0m.bb+1_um0+1_0mb.b+1_ub1|1_0mi.b+1_ui0+1_0mib.+1_ub2\
483 |1_0mf.b+1_uf0+1_0mfb.+1_ub2\
484 |(1_0mii.+(1_ui0|1_ui1)|1_0mmi.+1_ui0|1_0mfi.+1_ui0)+1_1b.bb+1_ub0\
485 |1_1m.bb+(1_um0|1_um1)+1_1mb.b+1_ub1\
486 |1_1mi.b+(1_ui0|1_ui1)+1_1mib.+1_ub2\
487 |1_1mm.b+1_um1+1_1mmb.+1_ub2\
488 |1_1mf.b+1_uf1+1_1mfb.+1_ub2")
490 (define_reservation "1_B" "1_B0|1_B1")
492 ;; MLX bunlde uses ports equivalent to MFI bundles.
493 (define_reservation "1_L0" "1_0mlx.+1_ui0+1_uf0|1_1mlx.+(1_ui0|1_ui1)+1_uf1")
494 (define_reservation "1_L1"
495 "1_0m.lx+1_um0+1_0mlx.+1_ui0+1_uf0\
496 |1_1m.lx+(1_um0|1_um1)+1_1mlx.+(1_ui0|1_ui1)+1_uf1")
497 (define_reservation "1_L2"
498 "(1_0mii.+(1_ui0|1_ui1)|1_0mmi.+1_ui0|1_0mfi.+1_ui0\
499 |1_0mib.+1_unb0|1_0mmb.+1_unb0|1_0mfb.+1_unb0)
500 +1_1m.lx+(1_um0|1_um1)+1_1mlx.+1_ui1+1_uf1")
501 (define_reservation "1_L" "1_L0|1_L1|1_L2")
503 (define_reservation "1_A" "1_M|1_I")
505 (define_insn_reservation "1_stop_bit" 0
506 (and (and (eq_attr "cpu" "itanium")
507 (eq_attr "itanium_class" "stop_bit"))
508 (eq (symbol_ref "bundling_p") (const_int 0)))
509 "1_stop|1_m0_stop|1_m1_stop|1_mi0_stop|1_mi1_stop")
511 (define_insn_reservation "1_br" 0
512 (and (and (eq_attr "cpu" "itanium")
513 (eq_attr "itanium_class" "br"))
514 (eq (symbol_ref "bundling_p") (const_int 0))) "1_B")
515 (define_insn_reservation "1_scall" 0
516 (and (and (eq_attr "cpu" "itanium")
517 (eq_attr "itanium_class" "scall"))
518 (eq (symbol_ref "bundling_p") (const_int 0))) "1_B")
519 (define_insn_reservation "1_fcmp" 2
520 (and (and (eq_attr "cpu" "itanium")
521 (eq_attr "itanium_class" "fcmp"))
522 (eq (symbol_ref "bundling_p") (const_int 0)))
524 (define_insn_reservation "1_fcvtfx" 7
525 (and (and (eq_attr "cpu" "itanium")
526 (eq_attr "itanium_class" "fcvtfx"))
527 (eq (symbol_ref "bundling_p") (const_int 0))) "1_F")
528 (define_insn_reservation "1_fld" 9
529 (and (and (eq_attr "cpu" "itanium")
530 (eq_attr "itanium_class" "fld"))
531 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
532 (define_insn_reservation "1_fmac" 5
533 (and (and (eq_attr "cpu" "itanium")
534 (eq_attr "itanium_class" "fmac"))
535 (eq (symbol_ref "bundling_p") (const_int 0))) "1_F")
536 (define_insn_reservation "1_fmisc" 5
537 (and (and (eq_attr "cpu" "itanium")
538 (eq_attr "itanium_class" "fmisc"))
539 (eq (symbol_ref "bundling_p") (const_int 0)))
542 ;; There is only one insn `mov = ar.bsp' for frar_i:
543 (define_insn_reservation "1_frar_i" 13
544 (and (and (eq_attr "cpu" "itanium")
545 (eq_attr "itanium_class" "frar_i"))
546 (eq (symbol_ref "bundling_p") (const_int 0)))
548 ;; There is only two insns `mov = ar.unat' or `mov = ar.ccv' for frar_m:
549 (define_insn_reservation "1_frar_m" 6
550 (and (and (eq_attr "cpu" "itanium")
551 (eq_attr "itanium_class" "frar_m"))
552 (eq (symbol_ref "bundling_p") (const_int 0)))
554 (define_insn_reservation "1_frbr" 2
555 (and (and (eq_attr "cpu" "itanium")
556 (eq_attr "itanium_class" "frbr"))
557 (eq (symbol_ref "bundling_p") (const_int 0)))
559 (define_insn_reservation "1_frfr" 2
560 (and (and (eq_attr "cpu" "itanium")
561 (eq_attr "itanium_class" "frfr"))
562 (eq (symbol_ref "bundling_p") (const_int 0)))
564 (define_insn_reservation "1_frpr" 2
565 (and (and (eq_attr "cpu" "itanium")
566 (eq_attr "itanium_class" "frpr"))
567 (eq (symbol_ref "bundling_p") (const_int 0)))
570 (define_insn_reservation "1_ialu" 1
571 (and (and (eq_attr "cpu" "itanium")
572 (eq_attr "itanium_class" "ialu"))
574 "bundling_p || ia64_produce_address_p (insn)")
577 (define_insn_reservation "1_ialu_addr" 1
578 (and (and (eq_attr "cpu" "itanium")
579 (eq_attr "itanium_class" "ialu"))
581 "!bundling_p && ia64_produce_address_p (insn)")
584 (define_insn_reservation "1_icmp" 1
585 (and (and (eq_attr "cpu" "itanium")
586 (eq_attr "itanium_class" "icmp"))
587 (eq (symbol_ref "bundling_p") (const_int 0))) "1_A")
588 (define_insn_reservation "1_ilog" 1
589 (and (and (eq_attr "cpu" "itanium")
590 (eq_attr "itanium_class" "ilog"))
591 (eq (symbol_ref "bundling_p") (const_int 0))) "1_A")
592 (define_insn_reservation "1_mmalua" 2
593 (and (and (eq_attr "cpu" "itanium")
594 (eq_attr "itanium_class" "mmalua"))
595 (eq (symbol_ref "bundling_p") (const_int 0)))
597 (define_insn_reservation "1_ishf" 1
598 (and (and (eq_attr "cpu" "itanium")
599 (eq_attr "itanium_class" "ishf"))
600 (eq (symbol_ref "bundling_p") (const_int 0)))
602 (define_insn_reservation "1_ld" 2
603 (and (and (eq_attr "cpu" "itanium")
604 (eq_attr "itanium_class" "ld"))
605 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
606 (define_insn_reservation "1_long_i" 1
607 (and (and (eq_attr "cpu" "itanium")
608 (eq_attr "itanium_class" "long_i"))
609 (eq (symbol_ref "bundling_p") (const_int 0))) "1_L")
610 (define_insn_reservation "1_mmmul" 2
611 (and (and (eq_attr "cpu" "itanium")
612 (eq_attr "itanium_class" "mmmul"))
613 (eq (symbol_ref "bundling_p") (const_int 0)))
615 (define_insn_reservation "1_mmshf" 2
616 (and (and (eq_attr "cpu" "itanium")
617 (eq_attr "itanium_class" "mmshf"))
618 (eq (symbol_ref "bundling_p") (const_int 0))) "1_I")
619 (define_insn_reservation "1_mmshfi" 1
620 (and (and (eq_attr "cpu" "itanium")
621 (eq_attr "itanium_class" "mmshfi"))
622 (eq (symbol_ref "bundling_p") (const_int 0))) "1_I")
624 ;; Now we have only one insn (flushrs) of such class. We assume that flushrs
625 ;; is the 1st syllable of the bundle after stop bit.
626 (define_insn_reservation "1_rse_m" 0
627 (and (and (eq_attr "cpu" "itanium")
628 (eq_attr "itanium_class" "rse_m"))
629 (eq (symbol_ref "bundling_p") (const_int 0)))
630 "(1_0m.ii|1_0m.mi|1_0m.fi|1_0m.mf|1_0b.bb|1_0m.bb\
631 |1_0m.ib|1_0m.mb|1_0m.fb|1_0m.lx)+1_um0")
632 (define_insn_reservation "1_sem" 0
633 (and (and (eq_attr "cpu" "itanium")
634 (eq_attr "itanium_class" "sem"))
635 (eq (symbol_ref "bundling_p") (const_int 0)))
637 (define_insn_reservation "1_stf" 1
638 (and (and (eq_attr "cpu" "itanium")
639 (eq_attr "itanium_class" "stf"))
640 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
641 (define_insn_reservation "1_st" 1
642 (and (and (eq_attr "cpu" "itanium")
643 (eq_attr "itanium_class" "st"))
644 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
645 (define_insn_reservation "1_syst_m0" 0
646 (and (and (eq_attr "cpu" "itanium")
647 (eq_attr "itanium_class" "syst_m0"))
648 (eq (symbol_ref "bundling_p") (const_int 0)))
650 (define_insn_reservation "1_syst_m" 0
651 (and (and (eq_attr "cpu" "itanium")
652 (eq_attr "itanium_class" "syst_m"))
653 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
654 (define_insn_reservation "1_tbit" 1
655 (and (and (eq_attr "cpu" "itanium")
656 (eq_attr "itanium_class" "tbit"))
657 (eq (symbol_ref "bundling_p") (const_int 0)))
660 ;; There is only ony insn `mov ar.pfs =' for toar_i:
661 (define_insn_reservation "1_toar_i" 0
662 (and (and (eq_attr "cpu" "itanium")
663 (eq_attr "itanium_class" "toar_i"))
664 (eq (symbol_ref "bundling_p") (const_int 0)))
666 ;; There are only ony 2 insns `mov ar.ccv =' and `mov ar.unat =' for toar_m:
667 (define_insn_reservation "1_toar_m" 5
668 (and (and (eq_attr "cpu" "itanium")
669 (eq_attr "itanium_class" "toar_m"))
670 (eq (symbol_ref "bundling_p") (const_int 0)))
672 (define_insn_reservation "1_tobr" 1
673 (and (and (eq_attr "cpu" "itanium")
674 (eq_attr "itanium_class" "tobr"))
675 (eq (symbol_ref "bundling_p") (const_int 0)))
677 (define_insn_reservation "1_tofr" 9
678 (and (and (eq_attr "cpu" "itanium")
679 (eq_attr "itanium_class" "tofr"))
680 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
681 (define_insn_reservation "1_topr" 1
682 (and (and (eq_attr "cpu" "itanium")
683 (eq_attr "itanium_class" "topr"))
684 (eq (symbol_ref "bundling_p") (const_int 0)))
686 (define_insn_reservation "1_xmpy" 7
687 (and (and (eq_attr "cpu" "itanium")
688 (eq_attr "itanium_class" "xmpy"))
689 (eq (symbol_ref "bundling_p") (const_int 0))) "1_F")
690 (define_insn_reservation "1_xtd" 1
691 (and (and (eq_attr "cpu" "itanium")
692 (eq_attr "itanium_class" "xtd"))
693 (eq (symbol_ref "bundling_p") (const_int 0))) "1_I")
695 (define_insn_reservation "1_chk_s" 0
696 (and (and (eq_attr "cpu" "itanium")
697 (eq_attr "itanium_class" "chk_s"))
698 (eq (symbol_ref "bundling_p") (const_int 0))) "1_A")
699 (define_insn_reservation "1_lfetch" 0
700 (and (and (eq_attr "cpu" "itanium")
701 (eq_attr "itanium_class" "lfetch"))
702 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
704 (define_insn_reservation "1_nop_m" 0
705 (and (and (eq_attr "cpu" "itanium")
706 (eq_attr "itanium_class" "nop_m"))
707 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M0")
708 (define_insn_reservation "1_nop_b" 0
709 (and (and (eq_attr "cpu" "itanium")
710 (eq_attr "itanium_class" "nop_b"))
711 (eq (symbol_ref "bundling_p") (const_int 0))) "1_NB")
712 (define_insn_reservation "1_nop_i" 0
713 (and (and (eq_attr "cpu" "itanium")
714 (eq_attr "itanium_class" "nop_i"))
715 (eq (symbol_ref "bundling_p") (const_int 0))) "1_I0")
716 (define_insn_reservation "1_nop_f" 0
717 (and (and (eq_attr "cpu" "itanium")
718 (eq_attr "itanium_class" "nop_f"))
719 (eq (symbol_ref "bundling_p") (const_int 0))) "1_F0")
720 (define_insn_reservation "1_nop_x" 0
721 (and (and (eq_attr "cpu" "itanium")
722 (eq_attr "itanium_class" "nop_x"))
723 (eq (symbol_ref "bundling_p") (const_int 0))) "1_L0")
725 ;; We assume that there is no insn issued on the same cycle as unknown insn.
726 (define_cpu_unit "1_empty" "one")
727 (exclusion_set "1_empty"
728 "1_0m.ii,1_0m.mi,1_0m.fi,1_0m.mf,1_0b.bb,1_0m.bb,1_0m.ib,1_0m.mb,1_0m.fb,\
731 (define_insn_reservation "1_unknown" 1
732 (and (and (eq_attr "cpu" "itanium")
733 (eq_attr "itanium_class" "unknown"))
734 (eq (symbol_ref "bundling_p") (const_int 0))) "1_empty")
736 (define_insn_reservation "1_nop" 1
737 (and (and (eq_attr "cpu" "itanium")
738 (eq_attr "itanium_class" "nop"))
739 (eq (symbol_ref "bundling_p") (const_int 0)))
740 "1_M0|1_NB|1_I0|1_F0")
742 (define_insn_reservation "1_ignore" 0
743 (and (and (eq_attr "cpu" "itanium")
744 (eq_attr "itanium_class" "ignore"))
745 (eq (symbol_ref "bundling_p") (const_int 0))) "nothing")
749 "1_0m_bs, 1_0mi_bs, 1_0mm_bs, 1_0mf_bs, 1_0b_bs, 1_0bb_bs, 1_0mb_bs"
752 "1_1m_bs, 1_1mi_bs, 1_1mm_bs, 1_1mf_bs, 1_1b_bs, 1_1bb_bs, 1_1mb_bs"
755 (define_cpu_unit "1_m_cont, 1_mi_cont, 1_mm_cont, 1_mf_cont, 1_mb_cont,\
756 1_b_cont, 1_bb_cont" "one")
758 ;; For stop in the middle of the bundles.
759 (define_cpu_unit "1_m_stop, 1_m0_stop, 1_m1_stop, 1_0mmi_cont" "one")
760 (define_cpu_unit "1_mi_stop, 1_mi0_stop, 1_mi1_stop, 1_0mii_cont" "one")
762 (final_presence_set "1_0m_bs"
763 "1_0m.ii, 1_0m.mi, 1_0m.mf, 1_0m.fi, 1_0m.bb,\
764 1_0m.ib, 1_0m.fb, 1_0m.mb, 1_0m.lx")
765 (final_presence_set "1_1m_bs"
766 "1_1m.ii, 1_1m.mi, 1_1m.fi, 1_1m.bb, 1_1m.ib, 1_1m.fb, 1_1m.mb,\
768 (final_presence_set "1_0mi_bs" "1_0mi.i, 1_0mi.i")
769 (final_presence_set "1_1mi_bs" "1_1mi.i, 1_1mi.i")
770 (final_presence_set "1_0mm_bs" "1_0mm.i, 1_0mm.f, 1_0mm.b")
771 (final_presence_set "1_1mm_bs" "1_1mm.i, 1_1mm.b")
772 (final_presence_set "1_0mf_bs" "1_0mf.i, 1_0mf.b")
773 (final_presence_set "1_1mf_bs" "1_1mf.i, 1_1mf.b")
774 (final_presence_set "1_0b_bs" "1_0b.bb")
775 (final_presence_set "1_1b_bs" "1_1b.bb")
776 (final_presence_set "1_0bb_bs" "1_0bb.b")
777 (final_presence_set "1_1bb_bs" "1_1bb.b")
778 (final_presence_set "1_0mb_bs" "1_0mb.b")
779 (final_presence_set "1_1mb_bs" "1_1mb.b")
781 (exclusion_set "1_0m_bs"
782 "1_0mi.i, 1_0mm.i, 1_0mm.f, 1_0mf.i, 1_0mb.b,\
783 1_0mi.b, 1_0mf.b, 1_0mm.b, 1_0mlx., 1_m0_stop")
784 (exclusion_set "1_1m_bs"
785 "1_1mi.i, 1_1mm.i, 1_1mf.i, 1_1mb.b, 1_1mi.b, 1_1mf.b, 1_1mm.b,\
787 (exclusion_set "1_0mi_bs" "1_0mii., 1_0mib., 1_mi0_stop")
788 (exclusion_set "1_1mi_bs" "1_1mii., 1_1mib., 1_mi1_stop")
789 (exclusion_set "1_0mm_bs" "1_0mmi., 1_0mmf., 1_0mmb.")
790 (exclusion_set "1_1mm_bs" "1_1mmi., 1_1mmb.")
791 (exclusion_set "1_0mf_bs" "1_0mfi., 1_0mfb.")
792 (exclusion_set "1_1mf_bs" "1_1mfi., 1_1mfb.")
793 (exclusion_set "1_0b_bs" "1_0bb.b")
794 (exclusion_set "1_1b_bs" "1_1bb.b")
795 (exclusion_set "1_0bb_bs" "1_0bbb.")
796 (exclusion_set "1_1bb_bs" "1_1bbb.")
797 (exclusion_set "1_0mb_bs" "1_0mbb.")
798 (exclusion_set "1_1mb_bs" "1_1mbb.")
801 "1_0m_bs, 1_0mi_bs, 1_0mm_bs, 1_0mf_bs, 1_0b_bs, 1_0bb_bs, 1_0mb_bs,
802 1_1m_bs, 1_1mi_bs, 1_1mm_bs, 1_1mf_bs, 1_1b_bs, 1_1bb_bs, 1_1mb_bs"
806 "1_0mi.i, 1_0mm.i, 1_0mf.i, 1_0mm.f, 1_0mb.b,\
807 1_0mi.b, 1_0mm.b, 1_0mf.b, 1_0mlx."
809 (final_presence_set "1_0mii., 1_0mib." "1_mi_cont")
810 (final_presence_set "1_0mmi., 1_0mmf., 1_0mmb." "1_mm_cont")
811 (final_presence_set "1_0mfi., 1_0mfb." "1_mf_cont")
812 (final_presence_set "1_0bb.b" "1_b_cont")
813 (final_presence_set "1_0bbb." "1_bb_cont")
814 (final_presence_set "1_0mbb." "1_mb_cont")
817 "1_0m.ii, 1_0m.mi, 1_0m.fi, 1_0m.mf, 1_0b.bb, 1_0m.bb,\
818 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx"
819 "1_m_cont, 1_mi_cont, 1_mm_cont, 1_mf_cont,\
820 1_mb_cont, 1_b_cont, 1_bb_cont")
822 (exclusion_set "1_empty"
823 "1_m_cont,1_mi_cont,1_mm_cont,1_mf_cont,\
824 1_mb_cont,1_b_cont,1_bb_cont")
827 (final_presence_set "1_m0_stop" "1_0m.mi")
828 (final_presence_set "1_0mm.i" "1_0mmi_cont")
829 (exclusion_set "1_0mmi_cont"
830 "1_0m.ii, 1_0m.mi, 1_0m.fi, 1_0m.mf, 1_0b.bb, 1_0m.bb,\
831 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx")
832 (exclusion_set "1_m0_stop" "1_0mm.i")
833 (final_presence_set "1_m1_stop" "1_1m.mi")
834 (exclusion_set "1_m1_stop" "1_1mm.i")
835 (final_presence_set "1_m_stop" "1_m0_stop, 1_m1_stop")
838 (final_presence_set "1_mi0_stop" "1_0mi.i")
839 (final_presence_set "1_0mii." "1_0mii_cont")
840 (exclusion_set "1_0mii_cont"
841 "1_0m.ii, 1_0m.mi, 1_0m.fi, 1_0m.mf, 1_0b.bb, 1_0m.bb,\
842 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx")
843 (exclusion_set "1_mi0_stop" "1_0mii.")
844 (final_presence_set "1_mi1_stop" "1_1mi.i")
845 (exclusion_set "1_mi1_stop" "1_1mii.")
846 (final_presence_set "1_mi_stop" "1_mi0_stop, 1_mi1_stop")
849 "1_0m.ii,1_0mi.i,1_0mii.,1_0m.mi,1_0mm.i,1_0mmi.,1_0m.fi,1_0mf.i,1_0mfi.,\
850 1_0m.mf,1_0mm.f,1_0mmf.,1_0b.bb,1_0bb.b,1_0bbb.,1_0m.bb,1_0mb.b,1_0mbb.,\
851 1_0m.ib,1_0mi.b,1_0mib.,1_0m.mb,1_0mm.b,1_0mmb.,1_0m.fb,1_0mf.b,1_0mfb.,\
853 1_1m.ii,1_1mi.i,1_1mii.,1_1m.mi,1_1mm.i,1_1mmi.,1_1m.fi,1_1mf.i,1_1mfi.,\
854 1_1b.bb,1_1bb.b,1_1bbb.,1_1m.bb,1_1mb.b,1_1mbb.,\
855 1_1m.ib,1_1mi.b,1_1mib.,1_1m.mb,1_1mm.b,1_1mmb.,1_1m.fb,1_1mf.b,1_1mfb.,\
857 "1_m0_stop,1_m1_stop,1_mi0_stop,1_mi1_stop")
859 (define_cpu_unit "1_m_cont_only, 1_b_cont_only" "one")
860 (define_cpu_unit "1_mi_cont_only, 1_mm_cont_only, 1_mf_cont_only" "one")
861 (define_cpu_unit "1_mb_cont_only, 1_bb_cont_only" "one")
863 (final_presence_set "1_m_cont_only" "1_m_cont")
864 (exclusion_set "1_m_cont_only"
865 "1_0mi.i, 1_0mm.i, 1_0mf.i, 1_0mm.f, 1_0mb.b,\
866 1_0mi.b, 1_0mm.b, 1_0mf.b, 1_0mlx.")
868 (final_presence_set "1_b_cont_only" "1_b_cont")
869 (exclusion_set "1_b_cont_only" "1_0bb.b")
871 (final_presence_set "1_mi_cont_only" "1_mi_cont")
872 (exclusion_set "1_mi_cont_only" "1_0mii., 1_0mib.")
874 (final_presence_set "1_mm_cont_only" "1_mm_cont")
875 (exclusion_set "1_mm_cont_only" "1_0mmi., 1_0mmf., 1_0mmb.")
877 (final_presence_set "1_mf_cont_only" "1_mf_cont")
878 (exclusion_set "1_mf_cont_only" "1_0mfi., 1_0mfb.")
880 (final_presence_set "1_mb_cont_only" "1_mb_cont")
881 (exclusion_set "1_mb_cont_only" "1_0mbb.")
883 (final_presence_set "1_bb_cont_only" "1_bb_cont")
884 (exclusion_set "1_bb_cont_only" "1_0bbb.")
886 (define_insn_reservation "1_pre_cycle" 0
887 (and (and (eq_attr "cpu" "itanium")
888 (eq_attr "itanium_class" "pre_cycle"))
889 (eq (symbol_ref "bundling_p") (const_int 0)))
890 "(1_0m_bs, 1_m_cont) \
891 | (1_0mi_bs, (1_mi_cont|nothing)) \
892 | (1_0mm_bs, 1_mm_cont) \
893 | (1_0mf_bs, (1_mf_cont|nothing)) \
894 | (1_0b_bs, (1_b_cont|nothing)) \
895 | (1_0bb_bs, (1_bb_cont|nothing)) \
896 | (1_0mb_bs, (1_mb_cont|nothing)) \
897 | (1_1m_bs, 1_m_cont) \
898 | (1_1mi_bs, (1_mi_cont|nothing)) \
899 | (1_1mm_bs, 1_mm_cont) \
900 | (1_1mf_bs, (1_mf_cont|nothing)) \
901 | (1_1b_bs, (1_b_cont|nothing)) \
902 | (1_1bb_bs, (1_bb_cont|nothing)) \
903 | (1_1mb_bs, (1_mb_cont|nothing)) \
904 | (1_m_cont_only, (1_m_cont|nothing)) \
905 | (1_b_cont_only, (1_b_cont|nothing)) \
906 | (1_mi_cont_only, (1_mi_cont|nothing)) \
907 | (1_mm_cont_only, (1_mm_cont|nothing)) \
908 | (1_mf_cont_only, (1_mf_cont|nothing)) \
909 | (1_mb_cont_only, (1_mb_cont|nothing)) \
910 | (1_bb_cont_only, (1_bb_cont|nothing)) \
911 | (1_m_stop, (1_0mmi_cont|nothing)) \
912 | (1_mi_stop, (1_0mii_cont|nothing))")
915 (define_bypass 1 "1_fcmp" "1_br,1_scall")
916 ;; ??? I found 7 cycle delay for 1_fmac -> 1_fcmp for Itanium1
917 (define_bypass 7 "1_fmac" "1_fmisc,1_fcvtfx,1_xmpy,1_fcmp")
920 (define_bypass 3 "1_frbr" "1_mmmul,1_mmshf")
921 (define_bypass 14 "1_frar_i" "1_mmmul,1_mmshf")
922 (define_bypass 7 "1_frar_m" "1_mmmul,1_mmshf")
925 ;; There is only one insn `mov ar.pfs =' for toar_i.
926 (define_bypass 0 "1_tobr,1_topr,1_toar_i" "1_br,1_scall")
928 (define_bypass 3 "1_ialu,1_ialu_addr" "1_mmmul,1_mmshf,1_mmalua")
929 ;; ??? howto describe ialu for I slot only. We use ialu_addr for that
930 ;;(define_bypass 2 "1_ialu" "1_ld" "ia64_ld_address_bypass_p")
931 ;; ??? howto describe ialu st/address for I slot only. We use ialu_addr
933 ;;(define_bypass 2 "1_ialu" "1_st" "ia64_st_address_bypass_p")
935 (define_bypass 0 "1_icmp" "1_br,1_scall")
937 (define_bypass 3 "1_ilog" "1_mmmul,1_mmshf")
939 (define_bypass 2 "1_ilog,1_xtd" "1_ld" "ia64_ld_address_bypass_p")
940 (define_bypass 2 "1_ilog,1_xtd" "1_st" "ia64_st_address_bypass_p")
942 (define_bypass 3 "1_ld" "1_mmmul,1_mmshf")
943 (define_bypass 3 "1_ld" "1_ld" "ia64_ld_address_bypass_p")
944 (define_bypass 3 "1_ld" "1_st" "ia64_st_address_bypass_p")
946 ;; Intel docs say only LD, ST, IALU, ILOG, ISHF consumers have latency 4,
947 ;; but HP engineers say any non-MM operation.
948 (define_bypass 4 "1_mmmul,1_mmshf,1_mmalua"
949 "1_br,1_fcmp,1_fcvtfx,1_fld,1_fmac,1_fmisc,1_frar_i,1_frar_m,\
950 1_frbr,1_frfr,1_frpr,1_ialu,1_icmp,1_ilog,1_ishf,1_ld,1_chk_s,\
951 1_long_i,1_rse_m,1_sem,1_stf,1_st,1_syst_m0,1_syst_m,\
952 1_tbit,1_toar_i,1_toar_m,1_tobr,1_tofr,1_topr,1_xmpy,1_xtd")
954 ;; ??? how to describe that if scheduled < 4 cycle then latency is 10 cycles.
955 ;; (define_bypass 10 "1_mmmul,1_mmshf" "1_ialu,1_ilog,1_ishf,1_st,1_ld")
957 (define_bypass 0 "1_tbit" "1_br,1_scall")
959 (define_bypass 8 "1_tofr" "1_frfr,1_stf")
960 (define_bypass 7 "1_fmisc,1_fcvtfx,1_fmac,1_xmpy" "1_frfr")
961 (define_bypass 8 "1_fmisc,1_fcvtfx,1_fmac,1_xmpy" "1_stf")
963 ;; We don't use here fcmp because scall may be predicated.
964 (define_bypass 0 "1_fcvtfx,1_fld,1_fmac,1_fmisc,1_frar_i,1_frar_m,\
965 1_frbr,1_frfr,1_frpr,1_ialu,1_ialu_addr,1_ilog,1_ishf,\
966 1_ld,1_long_i,2_mmalua,1_mmmul,1_mmshf,1_mmshfi,1_toar_m,\
967 1_tofr,1_xmpy,1_xtd" "1_scall")
969 (define_bypass 0 "1_unknown,1_ignore,1_stop_bit,1_br,1_fcmp,1_fcvtfx,\
970 1_fld,1_fmac,1_fmisc,1_frar_i,1_frar_m,1_frbr,1_frfr,\
971 1_frpr,1_ialu,1_ialu_addr,1_icmp,1_ilog,1_ishf,1_ld,\
972 1_chk_s,1_long_i,1_mmalua,1_mmmul,1_mmshf,1_mmshfi,1_nop,\
973 1_nop_b,1_nop_f,1_nop_i,1_nop_m,1_nop_x,1_rse_m,1_scall,\
974 1_sem,1_stf,1_st,1_syst_m0,1_syst_m,1_tbit,1_toar_i,\
975 1_toar_m,1_tobr,1_tofr,1_topr,1_xmpy,1_xtd,1_lfetch"
981 (define_automaton "oneb")
983 ;; Pseudo units for quicker searching for position in two packet window. */
984 (define_query_cpu_unit "1_1,1_2,1_3,1_4,1_5,1_6" "oneb")
986 ;; All possible combinations of bundles/syllables
988 "1b_0m.ii, 1b_0m.mi, 1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb,\
989 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx" "oneb")
991 "1b_0mi.i, 1b_0mm.i, 1b_0mf.i, 1b_0mm.f, 1b_0bb.b, 1b_0mb.b,\
992 1b_0mi.b, 1b_0mm.b, 1b_0mf.b" "oneb")
993 (define_query_cpu_unit
994 "1b_0mii., 1b_0mmi., 1b_0mfi., 1b_0mmf., 1b_0bbb., 1b_0mbb.,\
995 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx." "oneb")
997 (define_cpu_unit "1b_1m.ii, 1b_1m.mi, 1b_1m.fi, 1b_1b.bb, 1b_1m.bb,\
998 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx" "oneb")
999 (define_cpu_unit "1b_1mi.i, 1b_1mm.i, 1b_1mf.i, 1b_1bb.b, 1b_1mb.b,\
1000 1b_1mi.b, 1b_1mm.b, 1b_1mf.b" "oneb")
1001 (define_query_cpu_unit "1b_1mii., 1b_1mmi., 1b_1mfi., 1b_1bbb., 1b_1mbb.,\
1002 1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx." "oneb")
1005 (exclusion_set "1b_0m.ii"
1006 "1b_0m.mi, 1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb,\
1007 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1008 (exclusion_set "1b_0m.mi"
1009 "1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb, 1b_0m.ib,\
1010 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1011 (exclusion_set "1b_0m.fi"
1012 "1b_0m.mf, 1b_0b.bb, 1b_0m.bb, 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1013 (exclusion_set "1b_0m.mf"
1014 "1b_0b.bb, 1b_0m.bb, 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1015 (exclusion_set "1b_0b.bb" "1b_0m.bb, 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1016 (exclusion_set "1b_0m.bb" "1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1017 (exclusion_set "1b_0m.ib" "1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1018 (exclusion_set "1b_0m.mb" "1b_0m.fb, 1b_0m.lx")
1019 (exclusion_set "1b_0m.fb" "1b_0m.lx")
1022 (exclusion_set "1b_0mi.i"
1023 "1b_0mm.i, 1b_0mf.i, 1b_0mm.f, 1b_0bb.b, 1b_0mb.b,\
1024 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1025 (exclusion_set "1b_0mm.i"
1026 "1b_0mf.i, 1b_0mm.f, 1b_0bb.b, 1b_0mb.b,\
1027 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1028 (exclusion_set "1b_0mf.i"
1029 "1b_0mm.f, 1b_0bb.b, 1b_0mb.b, 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1030 (exclusion_set "1b_0mm.f"
1031 "1b_0bb.b, 1b_0mb.b, 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1032 (exclusion_set "1b_0bb.b" "1b_0mb.b, 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1033 (exclusion_set "1b_0mb.b" "1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1034 (exclusion_set "1b_0mi.b" "1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1035 (exclusion_set "1b_0mm.b" "1b_0mf.b, 1b_0mlx.")
1036 (exclusion_set "1b_0mf.b" "1b_0mlx.")
1039 (exclusion_set "1b_0mii."
1040 "1b_0mmi., 1b_0mfi., 1b_0mmf., 1b_0bbb., 1b_0mbb.,\
1041 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1042 (exclusion_set "1b_0mmi."
1043 "1b_0mfi., 1b_0mmf., 1b_0bbb., 1b_0mbb.,\
1044 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1045 (exclusion_set "1b_0mfi."
1046 "1b_0mmf., 1b_0bbb., 1b_0mbb., 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1047 (exclusion_set "1b_0mmf."
1048 "1b_0bbb., 1b_0mbb., 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1049 (exclusion_set "1b_0bbb." "1b_0mbb., 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1050 (exclusion_set "1b_0mbb." "1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1051 (exclusion_set "1b_0mib." "1b_0mmb., 1b_0mfb., 1b_0mlx.")
1052 (exclusion_set "1b_0mmb." "1b_0mfb., 1b_0mlx.")
1053 (exclusion_set "1b_0mfb." "1b_0mlx.")
1056 (exclusion_set "1b_1m.ii"
1057 "1b_1m.mi, 1b_1m.fi, 1b_1b.bb, 1b_1m.bb,\
1058 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1059 (exclusion_set "1b_1m.mi"
1060 "1b_1m.fi, 1b_1b.bb, 1b_1m.bb, 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1061 (exclusion_set "1b_1m.fi"
1062 "1b_1b.bb, 1b_1m.bb, 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1063 (exclusion_set "1b_1b.bb" "1b_1m.bb, 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1064 (exclusion_set "1b_1m.bb" "1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1065 (exclusion_set "1b_1m.ib" "1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1066 (exclusion_set "1b_1m.mb" "1b_1m.fb, 1b_1m.lx")
1067 (exclusion_set "1b_1m.fb" "1b_1m.lx")
1070 (exclusion_set "1b_1mi.i"
1071 "1b_1mm.i, 1b_1mf.i, 1b_1bb.b, 1b_1mb.b,\
1072 1b_1mi.b, 1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1073 (exclusion_set "1b_1mm.i"
1074 "1b_1mf.i, 1b_1bb.b, 1b_1mb.b, 1b_1mi.b, 1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1075 (exclusion_set "1b_1mf.i"
1076 "1b_1bb.b, 1b_1mb.b, 1b_1mi.b, 1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1077 (exclusion_set "1b_1bb.b" "1b_1mb.b, 1b_1mi.b, 1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1078 (exclusion_set "1b_1mb.b" "1b_1mi.b, 1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1079 (exclusion_set "1b_1mi.b" "1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1080 (exclusion_set "1b_1mm.b" "1b_1mf.b, 1b_1mlx.")
1081 (exclusion_set "1b_1mf.b" "1b_1mlx.")
1084 (exclusion_set "1b_1mii."
1085 "1b_1mmi., 1b_1mfi., 1b_1bbb., 1b_1mbb.,\
1086 1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx.")
1087 (exclusion_set "1b_1mmi."
1088 "1b_1mfi., 1b_1bbb., 1b_1mbb., 1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx.")
1089 (exclusion_set "1b_1mfi."
1090 "1b_1bbb., 1b_1mbb., 1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx.")
1091 (exclusion_set "1b_1bbb." "1b_1mbb., 1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx.")
1092 (exclusion_set "1b_1mbb." "1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx.")
1093 (exclusion_set "1b_1mib." "1b_1mmb., 1b_1mfb., 1b_1mlx.")
1094 (exclusion_set "1b_1mmb." "1b_1mfb., 1b_1mlx.")
1095 (exclusion_set "1b_1mfb." "1b_1mlx.")
1097 (final_presence_set "1b_0mi.i" "1b_0m.ii")
1098 (final_presence_set "1b_0mii." "1b_0mi.i")
1099 (final_presence_set "1b_1mi.i" "1b_1m.ii")
1100 (final_presence_set "1b_1mii." "1b_1mi.i")
1102 (final_presence_set "1b_0mm.i" "1b_0m.mi")
1103 (final_presence_set "1b_0mmi." "1b_0mm.i")
1104 (final_presence_set "1b_1mm.i" "1b_1m.mi")
1105 (final_presence_set "1b_1mmi." "1b_1mm.i")
1107 (final_presence_set "1b_0mf.i" "1b_0m.fi")
1108 (final_presence_set "1b_0mfi." "1b_0mf.i")
1109 (final_presence_set "1b_1mf.i" "1b_1m.fi")
1110 (final_presence_set "1b_1mfi." "1b_1mf.i")
1112 (final_presence_set "1b_0mm.f" "1b_0m.mf")
1113 (final_presence_set "1b_0mmf." "1b_0mm.f")
1115 (final_presence_set "1b_0bb.b" "1b_0b.bb")
1116 (final_presence_set "1b_0bbb." "1b_0bb.b")
1117 (final_presence_set "1b_1bb.b" "1b_1b.bb")
1118 (final_presence_set "1b_1bbb." "1b_1bb.b")
1120 (final_presence_set "1b_0mb.b" "1b_0m.bb")
1121 (final_presence_set "1b_0mbb." "1b_0mb.b")
1122 (final_presence_set "1b_1mb.b" "1b_1m.bb")
1123 (final_presence_set "1b_1mbb." "1b_1mb.b")
1125 (final_presence_set "1b_0mi.b" "1b_0m.ib")
1126 (final_presence_set "1b_0mib." "1b_0mi.b")
1127 (final_presence_set "1b_1mi.b" "1b_1m.ib")
1128 (final_presence_set "1b_1mib." "1b_1mi.b")
1130 (final_presence_set "1b_0mm.b" "1b_0m.mb")
1131 (final_presence_set "1b_0mmb." "1b_0mm.b")
1132 (final_presence_set "1b_1mm.b" "1b_1m.mb")
1133 (final_presence_set "1b_1mmb." "1b_1mm.b")
1135 (final_presence_set "1b_0mf.b" "1b_0m.fb")
1136 (final_presence_set "1b_0mfb." "1b_0mf.b")
1137 (final_presence_set "1b_1mf.b" "1b_1m.fb")
1138 (final_presence_set "1b_1mfb." "1b_1mf.b")
1140 (final_presence_set "1b_0mlx." "1b_0m.lx")
1141 (final_presence_set "1b_1mlx." "1b_1m.lx")
1144 "1b_1m.ii,1b_1m.mi,1b_1m.fi,1b_1b.bb,1b_1m.bb,\
1145 1b_1m.ib,1b_1m.mb,1b_1m.fb,1b_1m.lx"
1146 "1b_0mii.,1b_0mmi.,1b_0mfi.,1b_0mmf.,1b_0bbb.,1b_0mbb.,\
1147 1b_0mib.,1b_0mmb.,1b_0mfb.,1b_0mlx.")
1149 ;; Microarchitecture units:
1151 "1b_um0, 1b_um1, 1b_ui0, 1b_ui1, 1b_uf0, 1b_uf1, 1b_ub0, 1b_ub1, 1b_ub2,\
1152 1b_unb0, 1b_unb1, 1b_unb2" "oneb")
1154 (exclusion_set "1b_ub0" "1b_unb0")
1155 (exclusion_set "1b_ub1" "1b_unb1")
1156 (exclusion_set "1b_ub2" "1b_unb2")
1158 ;; The following rules are used to decrease number of alternatives.
1159 ;; They are consequences of Itanium microarchitecture. They also
1160 ;; describe the following rules mentioned in Itanium
1161 ;; microarchitecture: rules mentioned in Itanium microarchitecture:
1162 ;; o "MMF: Always splits issue before the first M and after F regardless
1163 ;; of surrounding bundles and stops".
1164 ;; o "BBB/MBB: Always splits issue after either of these bundles".
1165 ;; o "MIB BBB: Split issue after the first bundle in this pair".
1167 (exclusion_set "1b_0m.mf,1b_0mm.f,1b_0mmf."
1168 "1b_1m.ii,1b_1m.mi,1b_1m.fi,1b_1b.bb,1b_1m.bb,\
1169 1b_1m.ib,1b_1m.mb,1b_1m.fb,1b_1m.lx")
1170 (exclusion_set "1b_0b.bb,1b_0bb.b,1b_0bbb.,1b_0m.bb,1b_0mb.b,1b_0mbb."
1171 "1b_1m.ii,1b_1m.mi,1b_1m.fi,1b_1b.bb,1b_1m.bb,\
1172 1b_1m.ib,1b_1m.mb,1b_1m.fb,1b_1m.lx")
1173 (exclusion_set "1b_0m.ib,1b_0mi.b,1b_0mib." "1b_1b.bb")
1175 ;; For exceptions of M, I, B, F insns:
1176 (define_cpu_unit "1b_not_um1, 1b_not_ui1, 1b_not_uf1" "oneb")
1178 (final_absence_set "1b_not_um1" "1b_um1")
1179 (final_absence_set "1b_not_ui1" "1b_ui1")
1180 (final_absence_set "1b_not_uf1" "1b_uf1")
1182 ;;; "MIB/MFB/MMB: Splits issue after any of these bundles unless the
1183 ;;; B-slot contains a nop.b or a brp instruction".
1184 ;;; "The B in an MIB/MFB/MMB bundle disperses to B0 if it is a brp or
1185 ;;; nop.b, otherwise it disperses to B2".
1187 "1b_1m.ii, 1b_1m.mi, 1b_1m.fi, 1b_1b.bb, 1b_1m.bb,\
1188 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx"
1189 "1b_0mib. 1b_ub2, 1b_0mfb. 1b_ub2, 1b_0mmb. 1b_ub2")
1191 ;; This is necessary to start new processor cycle when we meet stop bit.
1192 (define_cpu_unit "1b_stop" "oneb")
1194 "1b_0m.ii,1b_0mi.i,1b_0mii.,1b_0m.mi,1b_0mm.i,1b_0mmi.,\
1195 1b_0m.fi,1b_0mf.i,1b_0mfi.,\
1196 1b_0m.mf,1b_0mm.f,1b_0mmf.,1b_0b.bb,1b_0bb.b,1b_0bbb.,\
1197 1b_0m.bb,1b_0mb.b,1b_0mbb.,\
1198 1b_0m.ib,1b_0mi.b,1b_0mib.,1b_0m.mb,1b_0mm.b,1b_0mmb.,\
1199 1b_0m.fb,1b_0mf.b,1b_0mfb.,1b_0m.lx,1b_0mlx., \
1200 1b_1m.ii,1b_1mi.i,1b_1mii.,1b_1m.mi,1b_1mm.i,1b_1mmi.,\
1201 1b_1m.fi,1b_1mf.i,1b_1mfi.,\
1202 1b_1b.bb,1b_1bb.b,1b_1bbb.,1b_1m.bb,1b_1mb.b,1b_1mbb.,\
1203 1b_1m.ib,1b_1mi.b,1b_1mib.,\
1204 1b_1m.mb,1b_1mm.b,1b_1mmb.,1b_1m.fb,1b_1mf.b,1b_1mfb.,1b_1m.lx,1b_1mlx."
1207 ;; M and I instruction is dispersed to the lowest numbered M or I unit
1208 ;; not already in use. An I slot in the 3rd position of 2nd bundle is
1209 ;; always dispersed to I1
1210 (final_presence_set "1b_um1" "1b_um0")
1211 (final_presence_set "1b_ui1" "1b_ui0, 1b_1mii., 1b_1mmi., 1b_1mfi.")
1215 ;; M and I instruction is dispersed to the lowest numbered M or I unit
1216 ;; not already in use. An I slot in the 3rd position of 2nd bundle is
1217 ;; always dispersed to I1
1218 (define_reservation "1b_M"
1219 "1b_0m.ii+1_1+1b_um0|1b_0m.mi+1_1+1b_um0|1b_0mm.i+1_2+(1b_um0|1b_um1)\
1220 |1b_0m.fi+1_1+1b_um0|1b_0m.mf+1_1+1b_um0|1b_0mm.f+1_2+1b_um1\
1221 |1b_0m.bb+1_1+1b_um0|1b_0m.ib+1_1+1b_um0|1b_0m.mb+1_1+1b_um0\
1222 |1b_0mm.b+1_2+1b_um1|1b_0m.fb+1_1+1b_um0|1b_0m.lx+1_1+1b_um0\
1223 |1b_1mm.i+1_5+1b_um1|1b_1mm.b+1_5+1b_um1\
1224 |(1b_1m.ii+1_4|1b_1m.mi+1_4|1b_1m.fi+1_4|1b_1m.bb+1_4|1b_1m.ib+1_4\
1225 |1b_1m.mb+1_4|1b_1m.fb+1_4|1b_1m.lx+1_4)\
1228 ;; Exceptions for dispersal rules.
1229 ;; "An I slot in the 3rd position of 2nd bundle is always dispersed to I1".
1230 (define_reservation "1b_I"
1231 "1b_0mi.i+1_2+1b_ui0|1b_0mii.+1_3+(1b_ui0|1b_ui1)|1b_0mmi.+1_3+1b_ui0\
1232 |1b_0mfi.+1_3+1b_ui0|1b_0mi.b+1_2+1b_ui0\
1233 |(1b_1mi.i+1_5|1b_1mi.b+1_5)+(1b_ui0|1b_ui1)\
1234 |1b_1mii.+1_6+1b_ui1|1b_1mmi.+1_6+1b_ui1|1b_1mfi.+1_6+1b_ui1")
1236 ;; "An F slot in the 1st bundle disperses to F0".
1237 ;; "An F slot in the 2st bundle disperses to F1".
1238 (define_reservation "1b_F"
1239 "1b_0mf.i+1_2+1b_uf0|1b_0mmf.+1_3+1b_uf0|1b_0mf.b+1_2+1b_uf0\
1240 |1b_1mf.i+1_5+1b_uf1|1b_1mf.b+1_5+1b_uf1")
1242 ;;; "Each B slot in MBB or BBB bundle disperses to the corresponding B
1243 ;;; unit. That is, a B slot in 1st position is dispersed to B0. In the
1244 ;;; 2nd position it is dispersed to B2".
1245 (define_reservation "1b_NB"
1246 "1b_0b.bb+1_1+1b_unb0|1b_0bb.b+1_2+1b_unb1|1b_0bbb.+1_3+1b_unb2\
1247 |1b_0mb.b+1_2+1b_unb1|1b_0mbb.+1_3+1b_unb2\
1248 |1b_0mib.+1_3+1b_unb0|1b_0mmb.+1_3+1b_unb0|1b_0mfb.+1_3+1b_unb0\
1249 |1b_1b.bb+1_4+1b_unb0|1b_1bb.b+1_5+1b_unb1\
1250 |1b_1bbb.+1_6+1b_unb2|1b_1mb.b+1_5+1b_unb1|1b_1mbb.+1_6+1b_unb2\
1251 |1b_1mib.+1_6+1b_unb0|1b_1mmb.+1_6+1b_unb0|1b_1mfb.+1_6+1b_unb0")
1253 (define_reservation "1b_B"
1254 "1b_0b.bb+1_1+1b_ub0|1b_0bb.b+1_2+1b_ub1|1b_0bbb.+1_3+1b_ub2\
1255 |1b_0mb.b+1_2+1b_ub1|1b_0mbb.+1_3+1b_ub2|1b_0mib.+1_3+1b_ub2\
1256 |1b_0mfb.+1_3+1b_ub2|1b_1b.bb+1_4+1b_ub0|1b_1bb.b+1_5+1b_ub1\
1257 |1b_1bbb.+1_6+1b_ub2|1b_1mb.b+1_5+1b_ub1\
1258 |1b_1mib.+1_6+1b_ub2|1b_1mmb.+1_6+1b_ub2|1b_1mfb.+1_6+1b_ub2")
1260 (define_reservation "1b_L" "1b_0mlx.+1_3+1b_ui0+1b_uf0\
1261 |1b_1mlx.+1_6+(1b_ui0|1b_ui1)+1b_uf1")
1263 ;; We assume that there is no insn issued on the same cycle as unknown insn.
1264 (define_cpu_unit "1b_empty" "oneb")
1265 (exclusion_set "1b_empty"
1266 "1b_0m.ii,1b_0m.mi,1b_0m.fi,1b_0m.mf,1b_0b.bb,1b_0m.bb,\
1267 1b_0m.ib,1b_0m.mb,1b_0m.fb,1b_0m.lx")
1270 "1b_0m_bs, 1b_0mi_bs, 1b_0mm_bs, 1b_0mf_bs, 1b_0b_bs, 1b_0bb_bs, 1b_0mb_bs"
1273 "1b_1m_bs, 1b_1mi_bs, 1b_1mm_bs, 1b_1mf_bs, 1b_1b_bs, 1b_1bb_bs, 1b_1mb_bs"
1276 (define_cpu_unit "1b_m_cont, 1b_mi_cont, 1b_mm_cont, 1b_mf_cont, 1b_mb_cont,\
1277 1b_b_cont, 1b_bb_cont" "oneb")
1279 ;; For stop in the middle of the bundles.
1280 (define_cpu_unit "1b_m_stop, 1b_m0_stop, 1b_m1_stop, 1b_0mmi_cont" "oneb")
1281 (define_cpu_unit "1b_mi_stop, 1b_mi0_stop, 1b_mi1_stop, 1b_0mii_cont" "oneb")
1283 (final_presence_set "1b_0m_bs"
1284 "1b_0m.ii, 1b_0m.mi, 1b_0m.mf, 1b_0m.fi, 1b_0m.bb,\
1285 1b_0m.ib, 1b_0m.fb, 1b_0m.mb, 1b_0m.lx")
1286 (final_presence_set "1b_1m_bs"
1287 "1b_1m.ii, 1b_1m.mi, 1b_1m.fi, 1b_1m.bb, 1b_1m.ib, 1b_1m.fb, 1b_1m.mb,\
1289 (final_presence_set "1b_0mi_bs" "1b_0mi.i, 1b_0mi.i")
1290 (final_presence_set "1b_1mi_bs" "1b_1mi.i, 1b_1mi.i")
1291 (final_presence_set "1b_0mm_bs" "1b_0mm.i, 1b_0mm.f, 1b_0mm.b")
1292 (final_presence_set "1b_1mm_bs" "1b_1mm.i, 1b_1mm.b")
1293 (final_presence_set "1b_0mf_bs" "1b_0mf.i, 1b_0mf.b")
1294 (final_presence_set "1b_1mf_bs" "1b_1mf.i, 1b_1mf.b")
1295 (final_presence_set "1b_0b_bs" "1b_0b.bb")
1296 (final_presence_set "1b_1b_bs" "1b_1b.bb")
1297 (final_presence_set "1b_0bb_bs" "1b_0bb.b")
1298 (final_presence_set "1b_1bb_bs" "1b_1bb.b")
1299 (final_presence_set "1b_0mb_bs" "1b_0mb.b")
1300 (final_presence_set "1b_1mb_bs" "1b_1mb.b")
1302 (exclusion_set "1b_0m_bs"
1303 "1b_0mi.i, 1b_0mm.i, 1b_0mm.f, 1b_0mf.i, 1b_0mb.b,\
1304 1b_0mi.b, 1b_0mf.b, 1b_0mm.b, 1b_0mlx., 1b_m0_stop")
1305 (exclusion_set "1b_1m_bs"
1306 "1b_1mi.i, 1b_1mm.i, 1b_1mf.i, 1b_1mb.b, 1b_1mi.b, 1b_1mf.b, 1b_1mm.b,\
1307 1b_1mlx., 1b_m1_stop")
1308 (exclusion_set "1b_0mi_bs" "1b_0mii., 1b_0mib., 1b_mi0_stop")
1309 (exclusion_set "1b_1mi_bs" "1b_1mii., 1b_1mib., 1b_mi1_stop")
1310 (exclusion_set "1b_0mm_bs" "1b_0mmi., 1b_0mmf., 1b_0mmb.")
1311 (exclusion_set "1b_1mm_bs" "1b_1mmi., 1b_1mmb.")
1312 (exclusion_set "1b_0mf_bs" "1b_0mfi., 1b_0mfb.")
1313 (exclusion_set "1b_1mf_bs" "1b_1mfi., 1b_1mfb.")
1314 (exclusion_set "1b_0b_bs" "1b_0bb.b")
1315 (exclusion_set "1b_1b_bs" "1b_1bb.b")
1316 (exclusion_set "1b_0bb_bs" "1b_0bbb.")
1317 (exclusion_set "1b_1bb_bs" "1b_1bbb.")
1318 (exclusion_set "1b_0mb_bs" "1b_0mbb.")
1319 (exclusion_set "1b_1mb_bs" "1b_1mbb.")
1322 "1b_0m_bs, 1b_0mi_bs, 1b_0mm_bs, 1b_0mf_bs, 1b_0b_bs, 1b_0bb_bs, 1b_0mb_bs,
1323 1b_1m_bs, 1b_1mi_bs, 1b_1mm_bs, 1b_1mf_bs, 1b_1b_bs, 1b_1bb_bs, 1b_1mb_bs"
1327 "1b_0mi.i, 1b_0mm.i, 1b_0mf.i, 1b_0mm.f, 1b_0mb.b,\
1328 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx."
1330 (final_presence_set "1b_0mii., 1b_0mib." "1b_mi_cont")
1331 (final_presence_set "1b_0mmi., 1b_0mmf., 1b_0mmb." "1b_mm_cont")
1332 (final_presence_set "1b_0mfi., 1b_0mfb." "1b_mf_cont")
1333 (final_presence_set "1b_0bb.b" "1b_b_cont")
1334 (final_presence_set "1b_0bbb." "1b_bb_cont")
1335 (final_presence_set "1b_0mbb." "1b_mb_cont")
1338 "1b_0m.ii, 1b_0m.mi, 1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb,\
1339 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx"
1340 "1b_m_cont, 1b_mi_cont, 1b_mm_cont, 1b_mf_cont,\
1341 1b_mb_cont, 1b_b_cont, 1b_bb_cont")
1343 (exclusion_set "1b_empty"
1344 "1b_m_cont,1b_mi_cont,1b_mm_cont,1b_mf_cont,\
1345 1b_mb_cont,1b_b_cont,1b_bb_cont")
1348 (final_presence_set "1b_m0_stop" "1b_0m.mi")
1349 (final_presence_set "1b_0mm.i" "1b_0mmi_cont")
1350 (exclusion_set "1b_0mmi_cont"
1351 "1b_0m.ii, 1b_0m.mi, 1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb,\
1352 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1353 (exclusion_set "1b_m0_stop" "1b_0mm.i")
1354 (final_presence_set "1b_m1_stop" "1b_1m.mi")
1355 (exclusion_set "1b_m1_stop" "1b_1mm.i")
1356 (final_presence_set "1b_m_stop" "1b_m0_stop, 1b_m1_stop")
1359 (final_presence_set "1b_mi0_stop" "1b_0mi.i")
1360 (final_presence_set "1b_0mii." "1b_0mii_cont")
1361 (exclusion_set "1b_0mii_cont"
1362 "1b_0m.ii, 1b_0m.mi, 1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb,\
1363 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1364 (exclusion_set "1b_mi0_stop" "1b_0mii.")
1365 (final_presence_set "1b_mi1_stop" "1b_1mi.i")
1366 (exclusion_set "1b_mi1_stop" "1b_1mii.")
1367 (final_presence_set "1b_mi_stop" "1b_mi0_stop, 1b_mi1_stop")
1370 "1b_0m.ii,1b_0mi.i,1b_0mii.,1b_0m.mi,1b_0mm.i,1b_0mmi.,\
1371 1b_0m.fi,1b_0mf.i,1b_0mfi.,1b_0m.mf,1b_0mm.f,1b_0mmf.,\
1372 1b_0b.bb,1b_0bb.b,1b_0bbb.,1b_0m.bb,1b_0mb.b,1b_0mbb.,\
1373 1b_0m.ib,1b_0mi.b,1b_0mib.,1b_0m.mb,1b_0mm.b,1b_0mmb.,\
1374 1b_0m.fb,1b_0mf.b,1b_0mfb.,1b_0m.lx,1b_0mlx., \
1375 1b_1m.ii,1b_1mi.i,1b_1mii.,1b_1m.mi,1b_1mm.i,1b_1mmi.,\
1376 1b_1m.fi,1b_1mf.i,1b_1mfi.,\
1377 1b_1b.bb,1b_1bb.b,1b_1bbb.,1b_1m.bb,1b_1mb.b,1b_1mbb.,\
1378 1b_1m.ib,1b_1mi.b,1b_1mib.,1b_1m.mb,1b_1mm.b,1b_1mmb.,\
1379 1b_1m.fb,1b_1mf.b,1b_1mfb.,1b_1m.lx,1b_1mlx."
1380 "1b_m0_stop,1b_m1_stop,1b_mi0_stop,1b_mi1_stop")
1382 (define_reservation "1b_A" "1b_M|1b_I")
1384 (define_insn_reservation "1b_stop_bit" 0
1385 (and (and (eq_attr "cpu" "itanium")
1386 (eq_attr "itanium_class" "stop_bit"))
1387 (ne (symbol_ref "bundling_p") (const_int 0)))
1388 "1b_stop|1b_m0_stop|1b_m1_stop|1b_mi0_stop|1b_mi1_stop")
1389 (define_insn_reservation "1b_br" 0
1390 (and (and (eq_attr "cpu" "itanium")
1391 (eq_attr "itanium_class" "br"))
1392 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_B")
1393 (define_insn_reservation "1b_scall" 0
1394 (and (and (eq_attr "cpu" "itanium")
1395 (eq_attr "itanium_class" "scall"))
1396 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_B")
1397 (define_insn_reservation "1b_fcmp" 2
1398 (and (and (eq_attr "cpu" "itanium")
1399 (eq_attr "itanium_class" "fcmp"))
1400 (ne (symbol_ref "bundling_p") (const_int 0)))
1402 (define_insn_reservation "1b_fcvtfx" 7
1403 (and (and (eq_attr "cpu" "itanium")
1404 (eq_attr "itanium_class" "fcvtfx"))
1405 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_F")
1406 (define_insn_reservation "1b_fld" 9
1407 (and (and (eq_attr "cpu" "itanium")
1408 (eq_attr "itanium_class" "fld"))
1409 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1410 (define_insn_reservation "1b_fmac" 5
1411 (and (and (eq_attr "cpu" "itanium")
1412 (eq_attr "itanium_class" "fmac"))
1413 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_F")
1414 (define_insn_reservation "1b_fmisc" 5
1415 (and (and (eq_attr "cpu" "itanium")
1416 (eq_attr "itanium_class" "fmisc"))
1417 (ne (symbol_ref "bundling_p") (const_int 0)))
1419 (define_insn_reservation "1b_frar_i" 13
1420 (and (and (eq_attr "cpu" "itanium")
1421 (eq_attr "itanium_class" "frar_i"))
1422 (ne (symbol_ref "bundling_p") (const_int 0)))
1424 (define_insn_reservation "1b_frar_m" 6
1425 (and (and (eq_attr "cpu" "itanium")
1426 (eq_attr "itanium_class" "frar_m"))
1427 (ne (symbol_ref "bundling_p") (const_int 0)))
1429 (define_insn_reservation "1b_frbr" 2
1430 (and (and (eq_attr "cpu" "itanium")
1431 (eq_attr "itanium_class" "frbr"))
1432 (ne (symbol_ref "bundling_p") (const_int 0)))
1434 (define_insn_reservation "1b_frfr" 2
1435 (and (and (eq_attr "cpu" "itanium")
1436 (eq_attr "itanium_class" "frfr"))
1437 (ne (symbol_ref "bundling_p") (const_int 0)))
1439 (define_insn_reservation "1b_frpr" 2
1440 (and (and (eq_attr "cpu" "itanium")
1441 (eq_attr "itanium_class" "frpr"))
1442 (ne (symbol_ref "bundling_p") (const_int 0)))
1444 (define_insn_reservation "1b_ialu" 1
1445 (and (and (eq_attr "cpu" "itanium")
1446 (eq_attr "itanium_class" "ialu"))
1448 "bundling_p && !ia64_produce_address_p (insn)")
1451 (define_insn_reservation "1b_ialu_addr" 1
1452 (and (and (eq_attr "cpu" "itanium")
1453 (eq_attr "itanium_class" "ialu"))
1455 "bundling_p && ia64_produce_address_p (insn)")
1458 (define_insn_reservation "1b_icmp" 1
1459 (and (and (eq_attr "cpu" "itanium")
1460 (eq_attr "itanium_class" "icmp"))
1461 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_A")
1462 (define_insn_reservation "1b_ilog" 1
1463 (and (and (eq_attr "cpu" "itanium")
1464 (eq_attr "itanium_class" "ilog"))
1465 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_A")
1466 (define_insn_reservation "1b_mmalua" 2
1467 (and (and (eq_attr "cpu" "itanium")
1468 (eq_attr "itanium_class" "mmalua"))
1469 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_A")
1470 (define_insn_reservation "1b_ishf" 1
1471 (and (and (eq_attr "cpu" "itanium")
1472 (eq_attr "itanium_class" "ishf"))
1473 (ne (symbol_ref "bundling_p") (const_int 0)))
1475 (define_insn_reservation "1b_ld" 2
1476 (and (and (eq_attr "cpu" "itanium")
1477 (eq_attr "itanium_class" "ld"))
1478 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1479 (define_insn_reservation "1b_long_i" 1
1480 (and (and (eq_attr "cpu" "itanium")
1481 (eq_attr "itanium_class" "long_i"))
1482 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_L")
1483 (define_insn_reservation "1b_mmmul" 2
1484 (and (and (eq_attr "cpu" "itanium")
1485 (eq_attr "itanium_class" "mmmul"))
1486 (ne (symbol_ref "bundling_p") (const_int 0)))
1488 (define_insn_reservation "1b_mmshf" 2
1489 (and (and (eq_attr "cpu" "itanium")
1490 (eq_attr "itanium_class" "mmshf"))
1491 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_I")
1492 (define_insn_reservation "1b_mmshfi" 2
1493 (and (and (eq_attr "cpu" "itanium")
1494 (eq_attr "itanium_class" "mmshfi"))
1495 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_I")
1496 (define_insn_reservation "1b_rse_m" 0
1497 (and (and (eq_attr "cpu" "itanium")
1498 (eq_attr "itanium_class" "rse_m"))
1499 (ne (symbol_ref "bundling_p") (const_int 0)))
1500 "(1b_0m.ii|1b_0m.mi|1b_0m.fi|1b_0m.mf|1b_0b.bb|1b_0m.bb\
1501 |1b_0m.ib|1b_0m.mb|1b_0m.fb|1b_0m.lx)+1_1+1b_um0")
1502 (define_insn_reservation "1b_sem" 0
1503 (and (and (eq_attr "cpu" "itanium")
1504 (eq_attr "itanium_class" "sem"))
1505 (ne (symbol_ref "bundling_p") (const_int 0)))
1507 (define_insn_reservation "1b_stf" 1
1508 (and (and (eq_attr "cpu" "itanium")
1509 (eq_attr "itanium_class" "stf"))
1510 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1511 (define_insn_reservation "1b_st" 1
1512 (and (and (eq_attr "cpu" "itanium")
1513 (eq_attr "itanium_class" "st"))
1514 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1515 (define_insn_reservation "1b_syst_m0" 0
1516 (and (and (eq_attr "cpu" "itanium")
1517 (eq_attr "itanium_class" "syst_m0"))
1518 (ne (symbol_ref "bundling_p") (const_int 0)))
1520 (define_insn_reservation "1b_syst_m" 0
1521 (and (and (eq_attr "cpu" "itanium")
1522 (eq_attr "itanium_class" "syst_m"))
1523 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1524 (define_insn_reservation "1b_tbit" 1
1525 (and (and (eq_attr "cpu" "itanium")
1526 (eq_attr "itanium_class" "tbit"))
1527 (ne (symbol_ref "bundling_p") (const_int 0)))
1529 (define_insn_reservation "1b_toar_i" 0
1530 (and (and (eq_attr "cpu" "itanium")
1531 (eq_attr "itanium_class" "toar_i"))
1532 (ne (symbol_ref "bundling_p") (const_int 0)))
1534 (define_insn_reservation "1b_toar_m" 5
1535 (and (and (eq_attr "cpu" "itanium")
1536 (eq_attr "itanium_class" "toar_m"))
1537 (ne (symbol_ref "bundling_p") (const_int 0)))
1539 (define_insn_reservation "1b_tobr" 1
1540 (and (and (eq_attr "cpu" "itanium")
1541 (eq_attr "itanium_class" "tobr"))
1542 (ne (symbol_ref "bundling_p") (const_int 0)))
1544 (define_insn_reservation "1b_tofr" 9
1545 (and (and (eq_attr "cpu" "itanium")
1546 (eq_attr "itanium_class" "tofr"))
1547 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1548 (define_insn_reservation "1b_topr" 1
1549 (and (and (eq_attr "cpu" "itanium")
1550 (eq_attr "itanium_class" "topr"))
1551 (ne (symbol_ref "bundling_p") (const_int 0)))
1553 (define_insn_reservation "1b_xmpy" 7
1554 (and (and (eq_attr "cpu" "itanium")
1555 (eq_attr "itanium_class" "xmpy"))
1556 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_F")
1557 (define_insn_reservation "1b_xtd" 1
1558 (and (and (eq_attr "cpu" "itanium")
1559 (eq_attr "itanium_class" "xtd"))
1560 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_I")
1561 (define_insn_reservation "1b_chk_s" 0
1562 (and (and (eq_attr "cpu" "itanium")
1563 (eq_attr "itanium_class" "chk_s"))
1564 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_A")
1565 (define_insn_reservation "1b_lfetch" 0
1566 (and (and (eq_attr "cpu" "itanium")
1567 (eq_attr "itanium_class" "lfetch"))
1568 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1569 (define_insn_reservation "1b_nop_m" 0
1570 (and (and (eq_attr "cpu" "itanium")
1571 (eq_attr "itanium_class" "nop_m"))
1572 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1573 (define_insn_reservation "1b_nop_b" 0
1574 (and (and (eq_attr "cpu" "itanium")
1575 (eq_attr "itanium_class" "nop_b"))
1576 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_NB")
1577 (define_insn_reservation "1b_nop_i" 0
1578 (and (and (eq_attr "cpu" "itanium")
1579 (eq_attr "itanium_class" "nop_i"))
1580 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_I")
1581 (define_insn_reservation "1b_nop_f" 0
1582 (and (and (eq_attr "cpu" "itanium")
1583 (eq_attr "itanium_class" "nop_f"))
1584 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_F")
1585 (define_insn_reservation "1b_nop_x" 0
1586 (and (and (eq_attr "cpu" "itanium")
1587 (eq_attr "itanium_class" "nop_x"))
1588 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_L")
1589 (define_insn_reservation "1b_unknown" 1
1590 (and (and (eq_attr "cpu" "itanium")
1591 (eq_attr "itanium_class" "unknown"))
1592 (ne (symbol_ref "bundling_p") (const_int 0)))
1594 (define_insn_reservation "1b_nop" 1
1595 (and (and (eq_attr "cpu" "itanium")
1596 (eq_attr "itanium_class" "nop"))
1597 (ne (symbol_ref "bundling_p") (const_int 0)))
1598 "1b_M|1b_NB|1b_I|1b_F")
1599 (define_insn_reservation "1b_ignore" 0
1600 (and (and (eq_attr "cpu" "itanium")
1601 (eq_attr "itanium_class" "ignore"))
1602 (ne (symbol_ref "bundling_p") (const_int 0)))
1605 (define_insn_reservation "1b_pre_cycle" 0
1606 (and (and (eq_attr "cpu" "itanium")
1607 (eq_attr "itanium_class" "pre_cycle"))
1608 (ne (symbol_ref "bundling_p") (const_int 0)))
1609 "(1b_0m_bs, 1b_m_cont) \
1610 | (1b_0mi_bs, 1b_mi_cont) \
1611 | (1b_0mm_bs, 1b_mm_cont) \
1612 | (1b_0mf_bs, 1b_mf_cont) \
1613 | (1b_0b_bs, 1b_b_cont) \
1614 | (1b_0bb_bs, 1b_bb_cont) \
1615 | (1b_0mb_bs, 1b_mb_cont) \
1616 | (1b_1m_bs, 1b_m_cont) \
1617 | (1b_1mi_bs, 1b_mi_cont) \
1618 | (1b_1mm_bs, 1b_mm_cont) \
1619 | (1b_1mf_bs, 1b_mf_cont) \
1620 | (1b_1b_bs, 1b_b_cont) \
1621 | (1b_1bb_bs, 1b_bb_cont) \
1622 | (1b_1mb_bs, 1b_mb_cont) \
1623 | (1b_m_stop, 1b_0mmi_cont) \
1624 | (1b_mi_stop, 1b_0mii_cont)")