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, 51 Franklin Street, Fifth Floor,
21 ;; Boston, MA 02110-1301, 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_fldp" 9
533 (and (and (eq_attr "cpu" "itanium")
534 (eq_attr "itanium_class" "fldp"))
535 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
536 (define_insn_reservation "1_fmac" 5
537 (and (and (eq_attr "cpu" "itanium")
538 (eq_attr "itanium_class" "fmac"))
539 (eq (symbol_ref "bundling_p") (const_int 0))) "1_F")
540 (define_insn_reservation "1_fmisc" 5
541 (and (and (eq_attr "cpu" "itanium")
542 (eq_attr "itanium_class" "fmisc"))
543 (eq (symbol_ref "bundling_p") (const_int 0)))
546 ;; There is only one insn `mov = ar.bsp' for frar_i:
547 (define_insn_reservation "1_frar_i" 13
548 (and (and (eq_attr "cpu" "itanium")
549 (eq_attr "itanium_class" "frar_i"))
550 (eq (symbol_ref "bundling_p") (const_int 0)))
552 ;; There is only two insns `mov = ar.unat' or `mov = ar.ccv' for frar_m:
553 (define_insn_reservation "1_frar_m" 6
554 (and (and (eq_attr "cpu" "itanium")
555 (eq_attr "itanium_class" "frar_m"))
556 (eq (symbol_ref "bundling_p") (const_int 0)))
558 (define_insn_reservation "1_frbr" 2
559 (and (and (eq_attr "cpu" "itanium")
560 (eq_attr "itanium_class" "frbr"))
561 (eq (symbol_ref "bundling_p") (const_int 0)))
563 (define_insn_reservation "1_frfr" 2
564 (and (and (eq_attr "cpu" "itanium")
565 (eq_attr "itanium_class" "frfr"))
566 (eq (symbol_ref "bundling_p") (const_int 0)))
568 (define_insn_reservation "1_frpr" 2
569 (and (and (eq_attr "cpu" "itanium")
570 (eq_attr "itanium_class" "frpr"))
571 (eq (symbol_ref "bundling_p") (const_int 0)))
574 (define_insn_reservation "1_ialu" 1
575 (and (and (eq_attr "cpu" "itanium")
576 (eq_attr "itanium_class" "ialu"))
578 "bundling_p || ia64_produce_address_p (insn)")
581 (define_insn_reservation "1_ialu_addr" 1
582 (and (and (eq_attr "cpu" "itanium")
583 (eq_attr "itanium_class" "ialu"))
585 "!bundling_p && ia64_produce_address_p (insn)")
588 (define_insn_reservation "1_icmp" 1
589 (and (and (eq_attr "cpu" "itanium")
590 (eq_attr "itanium_class" "icmp"))
591 (eq (symbol_ref "bundling_p") (const_int 0))) "1_A")
592 (define_insn_reservation "1_ilog" 1
593 (and (and (eq_attr "cpu" "itanium")
594 (eq_attr "itanium_class" "ilog"))
595 (eq (symbol_ref "bundling_p") (const_int 0))) "1_A")
596 (define_insn_reservation "1_mmalua" 2
597 (and (and (eq_attr "cpu" "itanium")
598 (eq_attr "itanium_class" "mmalua"))
599 (eq (symbol_ref "bundling_p") (const_int 0)))
601 (define_insn_reservation "1_ishf" 1
602 (and (and (eq_attr "cpu" "itanium")
603 (eq_attr "itanium_class" "ishf"))
604 (eq (symbol_ref "bundling_p") (const_int 0)))
606 (define_insn_reservation "1_ld" 2
607 (and (and (eq_attr "cpu" "itanium")
608 (eq_attr "itanium_class" "ld"))
609 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
610 (define_insn_reservation "1_long_i" 1
611 (and (and (eq_attr "cpu" "itanium")
612 (eq_attr "itanium_class" "long_i"))
613 (eq (symbol_ref "bundling_p") (const_int 0))) "1_L")
614 (define_insn_reservation "1_mmmul" 2
615 (and (and (eq_attr "cpu" "itanium")
616 (eq_attr "itanium_class" "mmmul"))
617 (eq (symbol_ref "bundling_p") (const_int 0)))
619 (define_insn_reservation "1_mmshf" 2
620 (and (and (eq_attr "cpu" "itanium")
621 (eq_attr "itanium_class" "mmshf"))
622 (eq (symbol_ref "bundling_p") (const_int 0))) "1_I")
623 (define_insn_reservation "1_mmshfi" 1
624 (and (and (eq_attr "cpu" "itanium")
625 (eq_attr "itanium_class" "mmshfi"))
626 (eq (symbol_ref "bundling_p") (const_int 0))) "1_I")
628 ;; Now we have only one insn (flushrs) of such class. We assume that flushrs
629 ;; is the 1st syllable of the bundle after stop bit.
630 (define_insn_reservation "1_rse_m" 0
631 (and (and (eq_attr "cpu" "itanium")
632 (eq_attr "itanium_class" "rse_m"))
633 (eq (symbol_ref "bundling_p") (const_int 0)))
634 "(1_0m.ii|1_0m.mi|1_0m.fi|1_0m.mf|1_0b.bb|1_0m.bb\
635 |1_0m.ib|1_0m.mb|1_0m.fb|1_0m.lx)+1_um0")
636 (define_insn_reservation "1_sem" 0
637 (and (and (eq_attr "cpu" "itanium")
638 (eq_attr "itanium_class" "sem"))
639 (eq (symbol_ref "bundling_p") (const_int 0)))
641 (define_insn_reservation "1_stf" 1
642 (and (and (eq_attr "cpu" "itanium")
643 (eq_attr "itanium_class" "stf"))
644 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
645 (define_insn_reservation "1_st" 1
646 (and (and (eq_attr "cpu" "itanium")
647 (eq_attr "itanium_class" "st"))
648 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
649 (define_insn_reservation "1_syst_m0" 0
650 (and (and (eq_attr "cpu" "itanium")
651 (eq_attr "itanium_class" "syst_m0"))
652 (eq (symbol_ref "bundling_p") (const_int 0)))
654 (define_insn_reservation "1_syst_m" 0
655 (and (and (eq_attr "cpu" "itanium")
656 (eq_attr "itanium_class" "syst_m"))
657 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
658 (define_insn_reservation "1_tbit" 1
659 (and (and (eq_attr "cpu" "itanium")
660 (eq_attr "itanium_class" "tbit"))
661 (eq (symbol_ref "bundling_p") (const_int 0)))
664 ;; There is only ony insn `mov ar.pfs =' for toar_i:
665 (define_insn_reservation "1_toar_i" 0
666 (and (and (eq_attr "cpu" "itanium")
667 (eq_attr "itanium_class" "toar_i"))
668 (eq (symbol_ref "bundling_p") (const_int 0)))
670 ;; There are only ony 2 insns `mov ar.ccv =' and `mov ar.unat =' for toar_m:
671 (define_insn_reservation "1_toar_m" 5
672 (and (and (eq_attr "cpu" "itanium")
673 (eq_attr "itanium_class" "toar_m"))
674 (eq (symbol_ref "bundling_p") (const_int 0)))
676 (define_insn_reservation "1_tobr" 1
677 (and (and (eq_attr "cpu" "itanium")
678 (eq_attr "itanium_class" "tobr"))
679 (eq (symbol_ref "bundling_p") (const_int 0)))
681 (define_insn_reservation "1_tofr" 9
682 (and (and (eq_attr "cpu" "itanium")
683 (eq_attr "itanium_class" "tofr"))
684 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
685 (define_insn_reservation "1_topr" 1
686 (and (and (eq_attr "cpu" "itanium")
687 (eq_attr "itanium_class" "topr"))
688 (eq (symbol_ref "bundling_p") (const_int 0)))
690 (define_insn_reservation "1_xmpy" 7
691 (and (and (eq_attr "cpu" "itanium")
692 (eq_attr "itanium_class" "xmpy"))
693 (eq (symbol_ref "bundling_p") (const_int 0))) "1_F")
694 (define_insn_reservation "1_xtd" 1
695 (and (and (eq_attr "cpu" "itanium")
696 (eq_attr "itanium_class" "xtd"))
697 (eq (symbol_ref "bundling_p") (const_int 0))) "1_I")
699 (define_insn_reservation "1_chk_s" 0
700 (and (and (eq_attr "cpu" "itanium")
701 (eq_attr "itanium_class" "chk_s"))
702 (eq (symbol_ref "bundling_p") (const_int 0))) "1_A")
703 (define_insn_reservation "1_lfetch" 0
704 (and (and (eq_attr "cpu" "itanium")
705 (eq_attr "itanium_class" "lfetch"))
706 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M")
708 (define_insn_reservation "1_nop_m" 0
709 (and (and (eq_attr "cpu" "itanium")
710 (eq_attr "itanium_class" "nop_m"))
711 (eq (symbol_ref "bundling_p") (const_int 0))) "1_M0")
712 (define_insn_reservation "1_nop_b" 0
713 (and (and (eq_attr "cpu" "itanium")
714 (eq_attr "itanium_class" "nop_b"))
715 (eq (symbol_ref "bundling_p") (const_int 0))) "1_NB")
716 (define_insn_reservation "1_nop_i" 0
717 (and (and (eq_attr "cpu" "itanium")
718 (eq_attr "itanium_class" "nop_i"))
719 (eq (symbol_ref "bundling_p") (const_int 0))) "1_I0")
720 (define_insn_reservation "1_nop_f" 0
721 (and (and (eq_attr "cpu" "itanium")
722 (eq_attr "itanium_class" "nop_f"))
723 (eq (symbol_ref "bundling_p") (const_int 0))) "1_F0")
724 (define_insn_reservation "1_nop_x" 0
725 (and (and (eq_attr "cpu" "itanium")
726 (eq_attr "itanium_class" "nop_x"))
727 (eq (symbol_ref "bundling_p") (const_int 0))) "1_L0")
729 ;; We assume that there is no insn issued on the same cycle as unknown insn.
730 (define_cpu_unit "1_empty" "one")
731 (exclusion_set "1_empty"
732 "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,\
735 (define_insn_reservation "1_unknown" 1
736 (and (and (eq_attr "cpu" "itanium")
737 (eq_attr "itanium_class" "unknown"))
738 (eq (symbol_ref "bundling_p") (const_int 0))) "1_empty")
740 (define_insn_reservation "1_nop" 1
741 (and (and (eq_attr "cpu" "itanium")
742 (eq_attr "itanium_class" "nop"))
743 (eq (symbol_ref "bundling_p") (const_int 0)))
744 "1_M0|1_NB|1_I0|1_F0")
746 (define_insn_reservation "1_ignore" 0
747 (and (and (eq_attr "cpu" "itanium")
748 (eq_attr "itanium_class" "ignore"))
749 (eq (symbol_ref "bundling_p") (const_int 0))) "nothing")
753 "1_0m_bs, 1_0mi_bs, 1_0mm_bs, 1_0mf_bs, 1_0b_bs, 1_0bb_bs, 1_0mb_bs"
756 "1_1m_bs, 1_1mi_bs, 1_1mm_bs, 1_1mf_bs, 1_1b_bs, 1_1bb_bs, 1_1mb_bs"
759 (define_cpu_unit "1_m_cont, 1_mi_cont, 1_mm_cont, 1_mf_cont, 1_mb_cont,\
760 1_b_cont, 1_bb_cont" "one")
762 ;; For stop in the middle of the bundles.
763 (define_cpu_unit "1_m_stop, 1_m0_stop, 1_m1_stop, 1_0mmi_cont" "one")
764 (define_cpu_unit "1_mi_stop, 1_mi0_stop, 1_mi1_stop, 1_0mii_cont" "one")
766 (final_presence_set "1_0m_bs"
767 "1_0m.ii, 1_0m.mi, 1_0m.mf, 1_0m.fi, 1_0m.bb,\
768 1_0m.ib, 1_0m.fb, 1_0m.mb, 1_0m.lx")
769 (final_presence_set "1_1m_bs"
770 "1_1m.ii, 1_1m.mi, 1_1m.fi, 1_1m.bb, 1_1m.ib, 1_1m.fb, 1_1m.mb,\
772 (final_presence_set "1_0mi_bs" "1_0mi.i, 1_0mi.i")
773 (final_presence_set "1_1mi_bs" "1_1mi.i, 1_1mi.i")
774 (final_presence_set "1_0mm_bs" "1_0mm.i, 1_0mm.f, 1_0mm.b")
775 (final_presence_set "1_1mm_bs" "1_1mm.i, 1_1mm.b")
776 (final_presence_set "1_0mf_bs" "1_0mf.i, 1_0mf.b")
777 (final_presence_set "1_1mf_bs" "1_1mf.i, 1_1mf.b")
778 (final_presence_set "1_0b_bs" "1_0b.bb")
779 (final_presence_set "1_1b_bs" "1_1b.bb")
780 (final_presence_set "1_0bb_bs" "1_0bb.b")
781 (final_presence_set "1_1bb_bs" "1_1bb.b")
782 (final_presence_set "1_0mb_bs" "1_0mb.b")
783 (final_presence_set "1_1mb_bs" "1_1mb.b")
785 (exclusion_set "1_0m_bs"
786 "1_0mi.i, 1_0mm.i, 1_0mm.f, 1_0mf.i, 1_0mb.b,\
787 1_0mi.b, 1_0mf.b, 1_0mm.b, 1_0mlx., 1_m0_stop")
788 (exclusion_set "1_1m_bs"
789 "1_1mi.i, 1_1mm.i, 1_1mf.i, 1_1mb.b, 1_1mi.b, 1_1mf.b, 1_1mm.b,\
791 (exclusion_set "1_0mi_bs" "1_0mii., 1_0mib., 1_mi0_stop")
792 (exclusion_set "1_1mi_bs" "1_1mii., 1_1mib., 1_mi1_stop")
793 (exclusion_set "1_0mm_bs" "1_0mmi., 1_0mmf., 1_0mmb.")
794 (exclusion_set "1_1mm_bs" "1_1mmi., 1_1mmb.")
795 (exclusion_set "1_0mf_bs" "1_0mfi., 1_0mfb.")
796 (exclusion_set "1_1mf_bs" "1_1mfi., 1_1mfb.")
797 (exclusion_set "1_0b_bs" "1_0bb.b")
798 (exclusion_set "1_1b_bs" "1_1bb.b")
799 (exclusion_set "1_0bb_bs" "1_0bbb.")
800 (exclusion_set "1_1bb_bs" "1_1bbb.")
801 (exclusion_set "1_0mb_bs" "1_0mbb.")
802 (exclusion_set "1_1mb_bs" "1_1mbb.")
805 "1_0m_bs, 1_0mi_bs, 1_0mm_bs, 1_0mf_bs, 1_0b_bs, 1_0bb_bs, 1_0mb_bs,
806 1_1m_bs, 1_1mi_bs, 1_1mm_bs, 1_1mf_bs, 1_1b_bs, 1_1bb_bs, 1_1mb_bs"
810 "1_0mi.i, 1_0mm.i, 1_0mf.i, 1_0mm.f, 1_0mb.b,\
811 1_0mi.b, 1_0mm.b, 1_0mf.b, 1_0mlx."
813 (final_presence_set "1_0mii., 1_0mib." "1_mi_cont")
814 (final_presence_set "1_0mmi., 1_0mmf., 1_0mmb." "1_mm_cont")
815 (final_presence_set "1_0mfi., 1_0mfb." "1_mf_cont")
816 (final_presence_set "1_0bb.b" "1_b_cont")
817 (final_presence_set "1_0bbb." "1_bb_cont")
818 (final_presence_set "1_0mbb." "1_mb_cont")
821 "1_0m.ii, 1_0m.mi, 1_0m.fi, 1_0m.mf, 1_0b.bb, 1_0m.bb,\
822 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx"
823 "1_m_cont, 1_mi_cont, 1_mm_cont, 1_mf_cont,\
824 1_mb_cont, 1_b_cont, 1_bb_cont")
826 (exclusion_set "1_empty"
827 "1_m_cont,1_mi_cont,1_mm_cont,1_mf_cont,\
828 1_mb_cont,1_b_cont,1_bb_cont")
831 (final_presence_set "1_m0_stop" "1_0m.mi")
832 (final_presence_set "1_0mm.i" "1_0mmi_cont")
833 (exclusion_set "1_0mmi_cont"
834 "1_0m.ii, 1_0m.mi, 1_0m.fi, 1_0m.mf, 1_0b.bb, 1_0m.bb,\
835 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx")
836 (exclusion_set "1_m0_stop" "1_0mm.i")
837 (final_presence_set "1_m1_stop" "1_1m.mi")
838 (exclusion_set "1_m1_stop" "1_1mm.i")
839 (final_presence_set "1_m_stop" "1_m0_stop, 1_m1_stop")
842 (final_presence_set "1_mi0_stop" "1_0mi.i")
843 (final_presence_set "1_0mii." "1_0mii_cont")
844 (exclusion_set "1_0mii_cont"
845 "1_0m.ii, 1_0m.mi, 1_0m.fi, 1_0m.mf, 1_0b.bb, 1_0m.bb,\
846 1_0m.ib, 1_0m.mb, 1_0m.fb, 1_0m.lx")
847 (exclusion_set "1_mi0_stop" "1_0mii.")
848 (final_presence_set "1_mi1_stop" "1_1mi.i")
849 (exclusion_set "1_mi1_stop" "1_1mii.")
850 (final_presence_set "1_mi_stop" "1_mi0_stop, 1_mi1_stop")
853 "1_0m.ii,1_0mi.i,1_0mii.,1_0m.mi,1_0mm.i,1_0mmi.,1_0m.fi,1_0mf.i,1_0mfi.,\
854 1_0m.mf,1_0mm.f,1_0mmf.,1_0b.bb,1_0bb.b,1_0bbb.,1_0m.bb,1_0mb.b,1_0mbb.,\
855 1_0m.ib,1_0mi.b,1_0mib.,1_0m.mb,1_0mm.b,1_0mmb.,1_0m.fb,1_0mf.b,1_0mfb.,\
857 1_1m.ii,1_1mi.i,1_1mii.,1_1m.mi,1_1mm.i,1_1mmi.,1_1m.fi,1_1mf.i,1_1mfi.,\
858 1_1b.bb,1_1bb.b,1_1bbb.,1_1m.bb,1_1mb.b,1_1mbb.,\
859 1_1m.ib,1_1mi.b,1_1mib.,1_1m.mb,1_1mm.b,1_1mmb.,1_1m.fb,1_1mf.b,1_1mfb.,\
861 "1_m0_stop,1_m1_stop,1_mi0_stop,1_mi1_stop")
863 (define_cpu_unit "1_m_cont_only, 1_b_cont_only" "one")
864 (define_cpu_unit "1_mi_cont_only, 1_mm_cont_only, 1_mf_cont_only" "one")
865 (define_cpu_unit "1_mb_cont_only, 1_bb_cont_only" "one")
867 (final_presence_set "1_m_cont_only" "1_m_cont")
868 (exclusion_set "1_m_cont_only"
869 "1_0mi.i, 1_0mm.i, 1_0mf.i, 1_0mm.f, 1_0mb.b,\
870 1_0mi.b, 1_0mm.b, 1_0mf.b, 1_0mlx.")
872 (final_presence_set "1_b_cont_only" "1_b_cont")
873 (exclusion_set "1_b_cont_only" "1_0bb.b")
875 (final_presence_set "1_mi_cont_only" "1_mi_cont")
876 (exclusion_set "1_mi_cont_only" "1_0mii., 1_0mib.")
878 (final_presence_set "1_mm_cont_only" "1_mm_cont")
879 (exclusion_set "1_mm_cont_only" "1_0mmi., 1_0mmf., 1_0mmb.")
881 (final_presence_set "1_mf_cont_only" "1_mf_cont")
882 (exclusion_set "1_mf_cont_only" "1_0mfi., 1_0mfb.")
884 (final_presence_set "1_mb_cont_only" "1_mb_cont")
885 (exclusion_set "1_mb_cont_only" "1_0mbb.")
887 (final_presence_set "1_bb_cont_only" "1_bb_cont")
888 (exclusion_set "1_bb_cont_only" "1_0bbb.")
890 (define_insn_reservation "1_pre_cycle" 0
891 (and (and (eq_attr "cpu" "itanium")
892 (eq_attr "itanium_class" "pre_cycle"))
893 (eq (symbol_ref "bundling_p") (const_int 0)))
894 "(1_0m_bs, 1_m_cont) \
895 | (1_0mi_bs, (1_mi_cont|nothing)) \
896 | (1_0mm_bs, 1_mm_cont) \
897 | (1_0mf_bs, (1_mf_cont|nothing)) \
898 | (1_0b_bs, (1_b_cont|nothing)) \
899 | (1_0bb_bs, (1_bb_cont|nothing)) \
900 | (1_0mb_bs, (1_mb_cont|nothing)) \
901 | (1_1m_bs, 1_m_cont) \
902 | (1_1mi_bs, (1_mi_cont|nothing)) \
903 | (1_1mm_bs, 1_mm_cont) \
904 | (1_1mf_bs, (1_mf_cont|nothing)) \
905 | (1_1b_bs, (1_b_cont|nothing)) \
906 | (1_1bb_bs, (1_bb_cont|nothing)) \
907 | (1_1mb_bs, (1_mb_cont|nothing)) \
908 | (1_m_cont_only, (1_m_cont|nothing)) \
909 | (1_b_cont_only, (1_b_cont|nothing)) \
910 | (1_mi_cont_only, (1_mi_cont|nothing)) \
911 | (1_mm_cont_only, (1_mm_cont|nothing)) \
912 | (1_mf_cont_only, (1_mf_cont|nothing)) \
913 | (1_mb_cont_only, (1_mb_cont|nothing)) \
914 | (1_bb_cont_only, (1_bb_cont|nothing)) \
915 | (1_m_stop, (1_0mmi_cont|nothing)) \
916 | (1_mi_stop, (1_0mii_cont|nothing))")
919 (define_bypass 1 "1_fcmp" "1_br,1_scall")
920 ;; ??? I found 7 cycle delay for 1_fmac -> 1_fcmp for Itanium1
921 (define_bypass 7 "1_fmac" "1_fmisc,1_fcvtfx,1_xmpy,1_fcmp")
924 (define_bypass 3 "1_frbr" "1_mmmul,1_mmshf")
925 (define_bypass 14 "1_frar_i" "1_mmmul,1_mmshf")
926 (define_bypass 7 "1_frar_m" "1_mmmul,1_mmshf")
929 ;; There is only one insn `mov ar.pfs =' for toar_i.
930 (define_bypass 0 "1_tobr,1_topr,1_toar_i" "1_br,1_scall")
932 (define_bypass 3 "1_ialu,1_ialu_addr" "1_mmmul,1_mmshf,1_mmalua")
933 ;; ??? howto describe ialu for I slot only. We use ialu_addr for that
934 ;;(define_bypass 2 "1_ialu" "1_ld" "ia64_ld_address_bypass_p")
935 ;; ??? howto describe ialu st/address for I slot only. We use ialu_addr
937 ;;(define_bypass 2 "1_ialu" "1_st" "ia64_st_address_bypass_p")
939 (define_bypass 0 "1_icmp" "1_br,1_scall")
941 (define_bypass 3 "1_ilog" "1_mmmul,1_mmshf")
943 (define_bypass 2 "1_ilog,1_xtd" "1_ld" "ia64_ld_address_bypass_p")
944 (define_bypass 2 "1_ilog,1_xtd" "1_st" "ia64_st_address_bypass_p")
946 (define_bypass 3 "1_ld" "1_mmmul,1_mmshf")
947 (define_bypass 3 "1_ld" "1_ld" "ia64_ld_address_bypass_p")
948 (define_bypass 3 "1_ld" "1_st" "ia64_st_address_bypass_p")
950 ;; Intel docs say only LD, ST, IALU, ILOG, ISHF consumers have latency 4,
951 ;; but HP engineers say any non-MM operation.
952 (define_bypass 4 "1_mmmul,1_mmshf,1_mmalua"
953 "1_br,1_fcmp,1_fcvtfx,1_fld,1_fmac,1_fmisc,1_frar_i,1_frar_m,\
954 1_frbr,1_frfr,1_frpr,1_ialu,1_icmp,1_ilog,1_ishf,1_ld,1_chk_s,\
955 1_long_i,1_rse_m,1_sem,1_stf,1_st,1_syst_m0,1_syst_m,\
956 1_tbit,1_toar_i,1_toar_m,1_tobr,1_tofr,1_topr,1_xmpy,1_xtd")
958 ;; ??? how to describe that if scheduled < 4 cycle then latency is 10 cycles.
959 ;; (define_bypass 10 "1_mmmul,1_mmshf" "1_ialu,1_ilog,1_ishf,1_st,1_ld")
961 (define_bypass 0 "1_tbit" "1_br,1_scall")
963 (define_bypass 8 "1_tofr" "1_frfr,1_stf")
964 (define_bypass 7 "1_fmisc,1_fcvtfx,1_fmac,1_xmpy" "1_frfr")
965 (define_bypass 8 "1_fmisc,1_fcvtfx,1_fmac,1_xmpy" "1_stf")
967 ;; We don't use here fcmp because scall may be predicated.
968 (define_bypass 0 "1_fcvtfx,1_fld,1_fmac,1_fmisc,1_frar_i,1_frar_m,\
969 1_frbr,1_frfr,1_frpr,1_ialu,1_ialu_addr,1_ilog,1_ishf,\
970 1_ld,1_long_i,1_mmalua,1_mmmul,1_mmshf,1_mmshfi,1_toar_m,\
971 1_tofr,1_xmpy,1_xtd" "1_scall")
973 (define_bypass 0 "1_unknown,1_ignore,1_stop_bit,1_br,1_fcmp,1_fcvtfx,\
974 1_fld,1_fmac,1_fmisc,1_frar_i,1_frar_m,1_frbr,1_frfr,\
975 1_frpr,1_ialu,1_ialu_addr,1_icmp,1_ilog,1_ishf,1_ld,\
976 1_chk_s,1_long_i,1_mmalua,1_mmmul,1_mmshf,1_mmshfi,1_nop,\
977 1_nop_b,1_nop_f,1_nop_i,1_nop_m,1_nop_x,1_rse_m,1_scall,\
978 1_sem,1_stf,1_st,1_syst_m0,1_syst_m,1_tbit,1_toar_i,\
979 1_toar_m,1_tobr,1_tofr,1_topr,1_xmpy,1_xtd,1_lfetch"
985 (define_automaton "oneb")
987 ;; Pseudo units for quicker searching for position in two packet window. */
988 (define_query_cpu_unit "1_1,1_2,1_3,1_4,1_5,1_6" "oneb")
990 ;; All possible combinations of bundles/syllables
992 "1b_0m.ii, 1b_0m.mi, 1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb,\
993 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx" "oneb")
995 "1b_0mi.i, 1b_0mm.i, 1b_0mf.i, 1b_0mm.f, 1b_0bb.b, 1b_0mb.b,\
996 1b_0mi.b, 1b_0mm.b, 1b_0mf.b" "oneb")
997 (define_query_cpu_unit
998 "1b_0mii., 1b_0mmi., 1b_0mfi., 1b_0mmf., 1b_0bbb., 1b_0mbb.,\
999 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx." "oneb")
1001 (define_cpu_unit "1b_1m.ii, 1b_1m.mi, 1b_1m.fi, 1b_1b.bb, 1b_1m.bb,\
1002 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx" "oneb")
1003 (define_cpu_unit "1b_1mi.i, 1b_1mm.i, 1b_1mf.i, 1b_1bb.b, 1b_1mb.b,\
1004 1b_1mi.b, 1b_1mm.b, 1b_1mf.b" "oneb")
1005 (define_query_cpu_unit "1b_1mii., 1b_1mmi., 1b_1mfi., 1b_1bbb., 1b_1mbb.,\
1006 1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx." "oneb")
1009 (exclusion_set "1b_0m.ii"
1010 "1b_0m.mi, 1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb,\
1011 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1012 (exclusion_set "1b_0m.mi"
1013 "1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb, 1b_0m.ib,\
1014 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1015 (exclusion_set "1b_0m.fi"
1016 "1b_0m.mf, 1b_0b.bb, 1b_0m.bb, 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1017 (exclusion_set "1b_0m.mf"
1018 "1b_0b.bb, 1b_0m.bb, 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1019 (exclusion_set "1b_0b.bb" "1b_0m.bb, 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1020 (exclusion_set "1b_0m.bb" "1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1021 (exclusion_set "1b_0m.ib" "1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1022 (exclusion_set "1b_0m.mb" "1b_0m.fb, 1b_0m.lx")
1023 (exclusion_set "1b_0m.fb" "1b_0m.lx")
1026 (exclusion_set "1b_0mi.i"
1027 "1b_0mm.i, 1b_0mf.i, 1b_0mm.f, 1b_0bb.b, 1b_0mb.b,\
1028 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1029 (exclusion_set "1b_0mm.i"
1030 "1b_0mf.i, 1b_0mm.f, 1b_0bb.b, 1b_0mb.b,\
1031 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1032 (exclusion_set "1b_0mf.i"
1033 "1b_0mm.f, 1b_0bb.b, 1b_0mb.b, 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1034 (exclusion_set "1b_0mm.f"
1035 "1b_0bb.b, 1b_0mb.b, 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1036 (exclusion_set "1b_0bb.b" "1b_0mb.b, 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1037 (exclusion_set "1b_0mb.b" "1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1038 (exclusion_set "1b_0mi.b" "1b_0mm.b, 1b_0mf.b, 1b_0mlx.")
1039 (exclusion_set "1b_0mm.b" "1b_0mf.b, 1b_0mlx.")
1040 (exclusion_set "1b_0mf.b" "1b_0mlx.")
1043 (exclusion_set "1b_0mii."
1044 "1b_0mmi., 1b_0mfi., 1b_0mmf., 1b_0bbb., 1b_0mbb.,\
1045 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1046 (exclusion_set "1b_0mmi."
1047 "1b_0mfi., 1b_0mmf., 1b_0bbb., 1b_0mbb.,\
1048 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1049 (exclusion_set "1b_0mfi."
1050 "1b_0mmf., 1b_0bbb., 1b_0mbb., 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1051 (exclusion_set "1b_0mmf."
1052 "1b_0bbb., 1b_0mbb., 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1053 (exclusion_set "1b_0bbb." "1b_0mbb., 1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1054 (exclusion_set "1b_0mbb." "1b_0mib., 1b_0mmb., 1b_0mfb., 1b_0mlx.")
1055 (exclusion_set "1b_0mib." "1b_0mmb., 1b_0mfb., 1b_0mlx.")
1056 (exclusion_set "1b_0mmb." "1b_0mfb., 1b_0mlx.")
1057 (exclusion_set "1b_0mfb." "1b_0mlx.")
1060 (exclusion_set "1b_1m.ii"
1061 "1b_1m.mi, 1b_1m.fi, 1b_1b.bb, 1b_1m.bb,\
1062 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1063 (exclusion_set "1b_1m.mi"
1064 "1b_1m.fi, 1b_1b.bb, 1b_1m.bb, 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1065 (exclusion_set "1b_1m.fi"
1066 "1b_1b.bb, 1b_1m.bb, 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1067 (exclusion_set "1b_1b.bb" "1b_1m.bb, 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1068 (exclusion_set "1b_1m.bb" "1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1069 (exclusion_set "1b_1m.ib" "1b_1m.mb, 1b_1m.fb, 1b_1m.lx")
1070 (exclusion_set "1b_1m.mb" "1b_1m.fb, 1b_1m.lx")
1071 (exclusion_set "1b_1m.fb" "1b_1m.lx")
1074 (exclusion_set "1b_1mi.i"
1075 "1b_1mm.i, 1b_1mf.i, 1b_1bb.b, 1b_1mb.b,\
1076 1b_1mi.b, 1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1077 (exclusion_set "1b_1mm.i"
1078 "1b_1mf.i, 1b_1bb.b, 1b_1mb.b, 1b_1mi.b, 1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1079 (exclusion_set "1b_1mf.i"
1080 "1b_1bb.b, 1b_1mb.b, 1b_1mi.b, 1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1081 (exclusion_set "1b_1bb.b" "1b_1mb.b, 1b_1mi.b, 1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1082 (exclusion_set "1b_1mb.b" "1b_1mi.b, 1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1083 (exclusion_set "1b_1mi.b" "1b_1mm.b, 1b_1mf.b, 1b_1mlx.")
1084 (exclusion_set "1b_1mm.b" "1b_1mf.b, 1b_1mlx.")
1085 (exclusion_set "1b_1mf.b" "1b_1mlx.")
1088 (exclusion_set "1b_1mii."
1089 "1b_1mmi., 1b_1mfi., 1b_1bbb., 1b_1mbb.,\
1090 1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx.")
1091 (exclusion_set "1b_1mmi."
1092 "1b_1mfi., 1b_1bbb., 1b_1mbb., 1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx.")
1093 (exclusion_set "1b_1mfi."
1094 "1b_1bbb., 1b_1mbb., 1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx.")
1095 (exclusion_set "1b_1bbb." "1b_1mbb., 1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx.")
1096 (exclusion_set "1b_1mbb." "1b_1mib., 1b_1mmb., 1b_1mfb., 1b_1mlx.")
1097 (exclusion_set "1b_1mib." "1b_1mmb., 1b_1mfb., 1b_1mlx.")
1098 (exclusion_set "1b_1mmb." "1b_1mfb., 1b_1mlx.")
1099 (exclusion_set "1b_1mfb." "1b_1mlx.")
1101 (final_presence_set "1b_0mi.i" "1b_0m.ii")
1102 (final_presence_set "1b_0mii." "1b_0mi.i")
1103 (final_presence_set "1b_1mi.i" "1b_1m.ii")
1104 (final_presence_set "1b_1mii." "1b_1mi.i")
1106 (final_presence_set "1b_0mm.i" "1b_0m.mi")
1107 (final_presence_set "1b_0mmi." "1b_0mm.i")
1108 (final_presence_set "1b_1mm.i" "1b_1m.mi")
1109 (final_presence_set "1b_1mmi." "1b_1mm.i")
1111 (final_presence_set "1b_0mf.i" "1b_0m.fi")
1112 (final_presence_set "1b_0mfi." "1b_0mf.i")
1113 (final_presence_set "1b_1mf.i" "1b_1m.fi")
1114 (final_presence_set "1b_1mfi." "1b_1mf.i")
1116 (final_presence_set "1b_0mm.f" "1b_0m.mf")
1117 (final_presence_set "1b_0mmf." "1b_0mm.f")
1119 (final_presence_set "1b_0bb.b" "1b_0b.bb")
1120 (final_presence_set "1b_0bbb." "1b_0bb.b")
1121 (final_presence_set "1b_1bb.b" "1b_1b.bb")
1122 (final_presence_set "1b_1bbb." "1b_1bb.b")
1124 (final_presence_set "1b_0mb.b" "1b_0m.bb")
1125 (final_presence_set "1b_0mbb." "1b_0mb.b")
1126 (final_presence_set "1b_1mb.b" "1b_1m.bb")
1127 (final_presence_set "1b_1mbb." "1b_1mb.b")
1129 (final_presence_set "1b_0mi.b" "1b_0m.ib")
1130 (final_presence_set "1b_0mib." "1b_0mi.b")
1131 (final_presence_set "1b_1mi.b" "1b_1m.ib")
1132 (final_presence_set "1b_1mib." "1b_1mi.b")
1134 (final_presence_set "1b_0mm.b" "1b_0m.mb")
1135 (final_presence_set "1b_0mmb." "1b_0mm.b")
1136 (final_presence_set "1b_1mm.b" "1b_1m.mb")
1137 (final_presence_set "1b_1mmb." "1b_1mm.b")
1139 (final_presence_set "1b_0mf.b" "1b_0m.fb")
1140 (final_presence_set "1b_0mfb." "1b_0mf.b")
1141 (final_presence_set "1b_1mf.b" "1b_1m.fb")
1142 (final_presence_set "1b_1mfb." "1b_1mf.b")
1144 (final_presence_set "1b_0mlx." "1b_0m.lx")
1145 (final_presence_set "1b_1mlx." "1b_1m.lx")
1148 "1b_1m.ii,1b_1m.mi,1b_1m.fi,1b_1b.bb,1b_1m.bb,\
1149 1b_1m.ib,1b_1m.mb,1b_1m.fb,1b_1m.lx"
1150 "1b_0mii.,1b_0mmi.,1b_0mfi.,1b_0mmf.,1b_0bbb.,1b_0mbb.,\
1151 1b_0mib.,1b_0mmb.,1b_0mfb.,1b_0mlx.")
1153 ;; Microarchitecture units:
1155 "1b_um0, 1b_um1, 1b_ui0, 1b_ui1, 1b_uf0, 1b_uf1, 1b_ub0, 1b_ub1, 1b_ub2,\
1156 1b_unb0, 1b_unb1, 1b_unb2" "oneb")
1158 (exclusion_set "1b_ub0" "1b_unb0")
1159 (exclusion_set "1b_ub1" "1b_unb1")
1160 (exclusion_set "1b_ub2" "1b_unb2")
1162 ;; The following rules are used to decrease number of alternatives.
1163 ;; They are consequences of Itanium microarchitecture. They also
1164 ;; describe the following rules mentioned in Itanium
1165 ;; microarchitecture: rules mentioned in Itanium microarchitecture:
1166 ;; o "MMF: Always splits issue before the first M and after F regardless
1167 ;; of surrounding bundles and stops".
1168 ;; o "BBB/MBB: Always splits issue after either of these bundles".
1169 ;; o "MIB BBB: Split issue after the first bundle in this pair".
1171 (exclusion_set "1b_0m.mf,1b_0mm.f,1b_0mmf."
1172 "1b_1m.ii,1b_1m.mi,1b_1m.fi,1b_1b.bb,1b_1m.bb,\
1173 1b_1m.ib,1b_1m.mb,1b_1m.fb,1b_1m.lx")
1174 (exclusion_set "1b_0b.bb,1b_0bb.b,1b_0bbb.,1b_0m.bb,1b_0mb.b,1b_0mbb."
1175 "1b_1m.ii,1b_1m.mi,1b_1m.fi,1b_1b.bb,1b_1m.bb,\
1176 1b_1m.ib,1b_1m.mb,1b_1m.fb,1b_1m.lx")
1177 (exclusion_set "1b_0m.ib,1b_0mi.b,1b_0mib." "1b_1b.bb")
1179 ;; For exceptions of M, I, B, F insns:
1180 (define_cpu_unit "1b_not_um1, 1b_not_ui1, 1b_not_uf1" "oneb")
1182 (final_absence_set "1b_not_um1" "1b_um1")
1183 (final_absence_set "1b_not_ui1" "1b_ui1")
1184 (final_absence_set "1b_not_uf1" "1b_uf1")
1186 ;;; "MIB/MFB/MMB: Splits issue after any of these bundles unless the
1187 ;;; B-slot contains a nop.b or a brp instruction".
1188 ;;; "The B in an MIB/MFB/MMB bundle disperses to B0 if it is a brp or
1189 ;;; nop.b, otherwise it disperses to B2".
1191 "1b_1m.ii, 1b_1m.mi, 1b_1m.fi, 1b_1b.bb, 1b_1m.bb,\
1192 1b_1m.ib, 1b_1m.mb, 1b_1m.fb, 1b_1m.lx"
1193 "1b_0mib. 1b_ub2, 1b_0mfb. 1b_ub2, 1b_0mmb. 1b_ub2")
1195 ;; This is necessary to start new processor cycle when we meet stop bit.
1196 (define_cpu_unit "1b_stop" "oneb")
1198 "1b_0m.ii,1b_0mi.i,1b_0mii.,1b_0m.mi,1b_0mm.i,1b_0mmi.,\
1199 1b_0m.fi,1b_0mf.i,1b_0mfi.,\
1200 1b_0m.mf,1b_0mm.f,1b_0mmf.,1b_0b.bb,1b_0bb.b,1b_0bbb.,\
1201 1b_0m.bb,1b_0mb.b,1b_0mbb.,\
1202 1b_0m.ib,1b_0mi.b,1b_0mib.,1b_0m.mb,1b_0mm.b,1b_0mmb.,\
1203 1b_0m.fb,1b_0mf.b,1b_0mfb.,1b_0m.lx,1b_0mlx., \
1204 1b_1m.ii,1b_1mi.i,1b_1mii.,1b_1m.mi,1b_1mm.i,1b_1mmi.,\
1205 1b_1m.fi,1b_1mf.i,1b_1mfi.,\
1206 1b_1b.bb,1b_1bb.b,1b_1bbb.,1b_1m.bb,1b_1mb.b,1b_1mbb.,\
1207 1b_1m.ib,1b_1mi.b,1b_1mib.,\
1208 1b_1m.mb,1b_1mm.b,1b_1mmb.,1b_1m.fb,1b_1mf.b,1b_1mfb.,1b_1m.lx,1b_1mlx."
1211 ;; M and I instruction is dispersed to the lowest numbered M or I unit
1212 ;; not already in use. An I slot in the 3rd position of 2nd bundle is
1213 ;; always dispersed to I1
1214 (final_presence_set "1b_um1" "1b_um0")
1215 (final_presence_set "1b_ui1" "1b_ui0, 1b_1mii., 1b_1mmi., 1b_1mfi.")
1219 ;; M and I instruction is dispersed to the lowest numbered M or I unit
1220 ;; not already in use. An I slot in the 3rd position of 2nd bundle is
1221 ;; always dispersed to I1
1222 (define_reservation "1b_M"
1223 "1b_0m.ii+1_1+1b_um0|1b_0m.mi+1_1+1b_um0|1b_0mm.i+1_2+(1b_um0|1b_um1)\
1224 |1b_0m.fi+1_1+1b_um0|1b_0m.mf+1_1+1b_um0|1b_0mm.f+1_2+1b_um1\
1225 |1b_0m.bb+1_1+1b_um0|1b_0m.ib+1_1+1b_um0|1b_0m.mb+1_1+1b_um0\
1226 |1b_0mm.b+1_2+1b_um1|1b_0m.fb+1_1+1b_um0|1b_0m.lx+1_1+1b_um0\
1227 |1b_1mm.i+1_5+1b_um1|1b_1mm.b+1_5+1b_um1\
1228 |(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\
1229 |1b_1m.mb+1_4|1b_1m.fb+1_4|1b_1m.lx+1_4)\
1232 ;; Exceptions for dispersal rules.
1233 ;; "An I slot in the 3rd position of 2nd bundle is always dispersed to I1".
1234 (define_reservation "1b_I"
1235 "1b_0mi.i+1_2+1b_ui0|1b_0mii.+1_3+(1b_ui0|1b_ui1)|1b_0mmi.+1_3+1b_ui0\
1236 |1b_0mfi.+1_3+1b_ui0|1b_0mi.b+1_2+1b_ui0\
1237 |(1b_1mi.i+1_5|1b_1mi.b+1_5)+(1b_ui0|1b_ui1)\
1238 |1b_1mii.+1_6+1b_ui1|1b_1mmi.+1_6+1b_ui1|1b_1mfi.+1_6+1b_ui1")
1240 ;; "An F slot in the 1st bundle disperses to F0".
1241 ;; "An F slot in the 2st bundle disperses to F1".
1242 (define_reservation "1b_F"
1243 "1b_0mf.i+1_2+1b_uf0|1b_0mmf.+1_3+1b_uf0|1b_0mf.b+1_2+1b_uf0\
1244 |1b_1mf.i+1_5+1b_uf1|1b_1mf.b+1_5+1b_uf1")
1246 ;;; "Each B slot in MBB or BBB bundle disperses to the corresponding B
1247 ;;; unit. That is, a B slot in 1st position is dispersed to B0. In the
1248 ;;; 2nd position it is dispersed to B2".
1249 (define_reservation "1b_NB"
1250 "1b_0b.bb+1_1+1b_unb0|1b_0bb.b+1_2+1b_unb1|1b_0bbb.+1_3+1b_unb2\
1251 |1b_0mb.b+1_2+1b_unb1|1b_0mbb.+1_3+1b_unb2\
1252 |1b_0mib.+1_3+1b_unb0|1b_0mmb.+1_3+1b_unb0|1b_0mfb.+1_3+1b_unb0\
1253 |1b_1b.bb+1_4+1b_unb0|1b_1bb.b+1_5+1b_unb1\
1254 |1b_1bbb.+1_6+1b_unb2|1b_1mb.b+1_5+1b_unb1|1b_1mbb.+1_6+1b_unb2\
1255 |1b_1mib.+1_6+1b_unb0|1b_1mmb.+1_6+1b_unb0|1b_1mfb.+1_6+1b_unb0")
1257 (define_reservation "1b_B"
1258 "1b_0b.bb+1_1+1b_ub0|1b_0bb.b+1_2+1b_ub1|1b_0bbb.+1_3+1b_ub2\
1259 |1b_0mb.b+1_2+1b_ub1|1b_0mbb.+1_3+1b_ub2|1b_0mib.+1_3+1b_ub2\
1260 |1b_0mfb.+1_3+1b_ub2|1b_1b.bb+1_4+1b_ub0|1b_1bb.b+1_5+1b_ub1\
1261 |1b_1bbb.+1_6+1b_ub2|1b_1mb.b+1_5+1b_ub1\
1262 |1b_1mib.+1_6+1b_ub2|1b_1mmb.+1_6+1b_ub2|1b_1mfb.+1_6+1b_ub2")
1264 (define_reservation "1b_L" "1b_0mlx.+1_3+1b_ui0+1b_uf0\
1265 |1b_1mlx.+1_6+(1b_ui0|1b_ui1)+1b_uf1")
1267 ;; We assume that there is no insn issued on the same cycle as unknown insn.
1268 (define_cpu_unit "1b_empty" "oneb")
1269 (exclusion_set "1b_empty"
1270 "1b_0m.ii,1b_0m.mi,1b_0m.fi,1b_0m.mf,1b_0b.bb,1b_0m.bb,\
1271 1b_0m.ib,1b_0m.mb,1b_0m.fb,1b_0m.lx")
1274 "1b_0m_bs, 1b_0mi_bs, 1b_0mm_bs, 1b_0mf_bs, 1b_0b_bs, 1b_0bb_bs, 1b_0mb_bs"
1277 "1b_1m_bs, 1b_1mi_bs, 1b_1mm_bs, 1b_1mf_bs, 1b_1b_bs, 1b_1bb_bs, 1b_1mb_bs"
1280 (define_cpu_unit "1b_m_cont, 1b_mi_cont, 1b_mm_cont, 1b_mf_cont, 1b_mb_cont,\
1281 1b_b_cont, 1b_bb_cont" "oneb")
1283 ;; For stop in the middle of the bundles.
1284 (define_cpu_unit "1b_m_stop, 1b_m0_stop, 1b_m1_stop, 1b_0mmi_cont" "oneb")
1285 (define_cpu_unit "1b_mi_stop, 1b_mi0_stop, 1b_mi1_stop, 1b_0mii_cont" "oneb")
1287 (final_presence_set "1b_0m_bs"
1288 "1b_0m.ii, 1b_0m.mi, 1b_0m.mf, 1b_0m.fi, 1b_0m.bb,\
1289 1b_0m.ib, 1b_0m.fb, 1b_0m.mb, 1b_0m.lx")
1290 (final_presence_set "1b_1m_bs"
1291 "1b_1m.ii, 1b_1m.mi, 1b_1m.fi, 1b_1m.bb, 1b_1m.ib, 1b_1m.fb, 1b_1m.mb,\
1293 (final_presence_set "1b_0mi_bs" "1b_0mi.i, 1b_0mi.i")
1294 (final_presence_set "1b_1mi_bs" "1b_1mi.i, 1b_1mi.i")
1295 (final_presence_set "1b_0mm_bs" "1b_0mm.i, 1b_0mm.f, 1b_0mm.b")
1296 (final_presence_set "1b_1mm_bs" "1b_1mm.i, 1b_1mm.b")
1297 (final_presence_set "1b_0mf_bs" "1b_0mf.i, 1b_0mf.b")
1298 (final_presence_set "1b_1mf_bs" "1b_1mf.i, 1b_1mf.b")
1299 (final_presence_set "1b_0b_bs" "1b_0b.bb")
1300 (final_presence_set "1b_1b_bs" "1b_1b.bb")
1301 (final_presence_set "1b_0bb_bs" "1b_0bb.b")
1302 (final_presence_set "1b_1bb_bs" "1b_1bb.b")
1303 (final_presence_set "1b_0mb_bs" "1b_0mb.b")
1304 (final_presence_set "1b_1mb_bs" "1b_1mb.b")
1306 (exclusion_set "1b_0m_bs"
1307 "1b_0mi.i, 1b_0mm.i, 1b_0mm.f, 1b_0mf.i, 1b_0mb.b,\
1308 1b_0mi.b, 1b_0mf.b, 1b_0mm.b, 1b_0mlx., 1b_m0_stop")
1309 (exclusion_set "1b_1m_bs"
1310 "1b_1mi.i, 1b_1mm.i, 1b_1mf.i, 1b_1mb.b, 1b_1mi.b, 1b_1mf.b, 1b_1mm.b,\
1311 1b_1mlx., 1b_m1_stop")
1312 (exclusion_set "1b_0mi_bs" "1b_0mii., 1b_0mib., 1b_mi0_stop")
1313 (exclusion_set "1b_1mi_bs" "1b_1mii., 1b_1mib., 1b_mi1_stop")
1314 (exclusion_set "1b_0mm_bs" "1b_0mmi., 1b_0mmf., 1b_0mmb.")
1315 (exclusion_set "1b_1mm_bs" "1b_1mmi., 1b_1mmb.")
1316 (exclusion_set "1b_0mf_bs" "1b_0mfi., 1b_0mfb.")
1317 (exclusion_set "1b_1mf_bs" "1b_1mfi., 1b_1mfb.")
1318 (exclusion_set "1b_0b_bs" "1b_0bb.b")
1319 (exclusion_set "1b_1b_bs" "1b_1bb.b")
1320 (exclusion_set "1b_0bb_bs" "1b_0bbb.")
1321 (exclusion_set "1b_1bb_bs" "1b_1bbb.")
1322 (exclusion_set "1b_0mb_bs" "1b_0mbb.")
1323 (exclusion_set "1b_1mb_bs" "1b_1mbb.")
1326 "1b_0m_bs, 1b_0mi_bs, 1b_0mm_bs, 1b_0mf_bs, 1b_0b_bs, 1b_0bb_bs, 1b_0mb_bs,
1327 1b_1m_bs, 1b_1mi_bs, 1b_1mm_bs, 1b_1mf_bs, 1b_1b_bs, 1b_1bb_bs, 1b_1mb_bs"
1331 "1b_0mi.i, 1b_0mm.i, 1b_0mf.i, 1b_0mm.f, 1b_0mb.b,\
1332 1b_0mi.b, 1b_0mm.b, 1b_0mf.b, 1b_0mlx."
1334 (final_presence_set "1b_0mii., 1b_0mib." "1b_mi_cont")
1335 (final_presence_set "1b_0mmi., 1b_0mmf., 1b_0mmb." "1b_mm_cont")
1336 (final_presence_set "1b_0mfi., 1b_0mfb." "1b_mf_cont")
1337 (final_presence_set "1b_0bb.b" "1b_b_cont")
1338 (final_presence_set "1b_0bbb." "1b_bb_cont")
1339 (final_presence_set "1b_0mbb." "1b_mb_cont")
1342 "1b_0m.ii, 1b_0m.mi, 1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb,\
1343 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx"
1344 "1b_m_cont, 1b_mi_cont, 1b_mm_cont, 1b_mf_cont,\
1345 1b_mb_cont, 1b_b_cont, 1b_bb_cont")
1347 (exclusion_set "1b_empty"
1348 "1b_m_cont,1b_mi_cont,1b_mm_cont,1b_mf_cont,\
1349 1b_mb_cont,1b_b_cont,1b_bb_cont")
1352 (final_presence_set "1b_m0_stop" "1b_0m.mi")
1353 (final_presence_set "1b_0mm.i" "1b_0mmi_cont")
1354 (exclusion_set "1b_0mmi_cont"
1355 "1b_0m.ii, 1b_0m.mi, 1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb,\
1356 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1357 (exclusion_set "1b_m0_stop" "1b_0mm.i")
1358 (final_presence_set "1b_m1_stop" "1b_1m.mi")
1359 (exclusion_set "1b_m1_stop" "1b_1mm.i")
1360 (final_presence_set "1b_m_stop" "1b_m0_stop, 1b_m1_stop")
1363 (final_presence_set "1b_mi0_stop" "1b_0mi.i")
1364 (final_presence_set "1b_0mii." "1b_0mii_cont")
1365 (exclusion_set "1b_0mii_cont"
1366 "1b_0m.ii, 1b_0m.mi, 1b_0m.fi, 1b_0m.mf, 1b_0b.bb, 1b_0m.bb,\
1367 1b_0m.ib, 1b_0m.mb, 1b_0m.fb, 1b_0m.lx")
1368 (exclusion_set "1b_mi0_stop" "1b_0mii.")
1369 (final_presence_set "1b_mi1_stop" "1b_1mi.i")
1370 (exclusion_set "1b_mi1_stop" "1b_1mii.")
1371 (final_presence_set "1b_mi_stop" "1b_mi0_stop, 1b_mi1_stop")
1374 "1b_0m.ii,1b_0mi.i,1b_0mii.,1b_0m.mi,1b_0mm.i,1b_0mmi.,\
1375 1b_0m.fi,1b_0mf.i,1b_0mfi.,1b_0m.mf,1b_0mm.f,1b_0mmf.,\
1376 1b_0b.bb,1b_0bb.b,1b_0bbb.,1b_0m.bb,1b_0mb.b,1b_0mbb.,\
1377 1b_0m.ib,1b_0mi.b,1b_0mib.,1b_0m.mb,1b_0mm.b,1b_0mmb.,\
1378 1b_0m.fb,1b_0mf.b,1b_0mfb.,1b_0m.lx,1b_0mlx., \
1379 1b_1m.ii,1b_1mi.i,1b_1mii.,1b_1m.mi,1b_1mm.i,1b_1mmi.,\
1380 1b_1m.fi,1b_1mf.i,1b_1mfi.,\
1381 1b_1b.bb,1b_1bb.b,1b_1bbb.,1b_1m.bb,1b_1mb.b,1b_1mbb.,\
1382 1b_1m.ib,1b_1mi.b,1b_1mib.,1b_1m.mb,1b_1mm.b,1b_1mmb.,\
1383 1b_1m.fb,1b_1mf.b,1b_1mfb.,1b_1m.lx,1b_1mlx."
1384 "1b_m0_stop,1b_m1_stop,1b_mi0_stop,1b_mi1_stop")
1386 (define_reservation "1b_A" "1b_M|1b_I")
1388 (define_insn_reservation "1b_stop_bit" 0
1389 (and (and (eq_attr "cpu" "itanium")
1390 (eq_attr "itanium_class" "stop_bit"))
1391 (ne (symbol_ref "bundling_p") (const_int 0)))
1392 "1b_stop|1b_m0_stop|1b_m1_stop|1b_mi0_stop|1b_mi1_stop")
1393 (define_insn_reservation "1b_br" 0
1394 (and (and (eq_attr "cpu" "itanium")
1395 (eq_attr "itanium_class" "br"))
1396 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_B")
1397 (define_insn_reservation "1b_scall" 0
1398 (and (and (eq_attr "cpu" "itanium")
1399 (eq_attr "itanium_class" "scall"))
1400 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_B")
1401 (define_insn_reservation "1b_fcmp" 2
1402 (and (and (eq_attr "cpu" "itanium")
1403 (eq_attr "itanium_class" "fcmp"))
1404 (ne (symbol_ref "bundling_p") (const_int 0)))
1406 (define_insn_reservation "1b_fcvtfx" 7
1407 (and (and (eq_attr "cpu" "itanium")
1408 (eq_attr "itanium_class" "fcvtfx"))
1409 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_F")
1410 (define_insn_reservation "1b_fld" 9
1411 (and (and (eq_attr "cpu" "itanium")
1412 (eq_attr "itanium_class" "fld"))
1413 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1414 (define_insn_reservation "1b_fldp" 9
1415 (and (and (eq_attr "cpu" "itanium")
1416 (eq_attr "itanium_class" "fldp"))
1417 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1418 (define_insn_reservation "1b_fmac" 5
1419 (and (and (eq_attr "cpu" "itanium")
1420 (eq_attr "itanium_class" "fmac"))
1421 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_F")
1422 (define_insn_reservation "1b_fmisc" 5
1423 (and (and (eq_attr "cpu" "itanium")
1424 (eq_attr "itanium_class" "fmisc"))
1425 (ne (symbol_ref "bundling_p") (const_int 0)))
1427 (define_insn_reservation "1b_frar_i" 13
1428 (and (and (eq_attr "cpu" "itanium")
1429 (eq_attr "itanium_class" "frar_i"))
1430 (ne (symbol_ref "bundling_p") (const_int 0)))
1432 (define_insn_reservation "1b_frar_m" 6
1433 (and (and (eq_attr "cpu" "itanium")
1434 (eq_attr "itanium_class" "frar_m"))
1435 (ne (symbol_ref "bundling_p") (const_int 0)))
1437 (define_insn_reservation "1b_frbr" 2
1438 (and (and (eq_attr "cpu" "itanium")
1439 (eq_attr "itanium_class" "frbr"))
1440 (ne (symbol_ref "bundling_p") (const_int 0)))
1442 (define_insn_reservation "1b_frfr" 2
1443 (and (and (eq_attr "cpu" "itanium")
1444 (eq_attr "itanium_class" "frfr"))
1445 (ne (symbol_ref "bundling_p") (const_int 0)))
1447 (define_insn_reservation "1b_frpr" 2
1448 (and (and (eq_attr "cpu" "itanium")
1449 (eq_attr "itanium_class" "frpr"))
1450 (ne (symbol_ref "bundling_p") (const_int 0)))
1452 (define_insn_reservation "1b_ialu" 1
1453 (and (and (eq_attr "cpu" "itanium")
1454 (eq_attr "itanium_class" "ialu"))
1456 "bundling_p && !ia64_produce_address_p (insn)")
1459 (define_insn_reservation "1b_ialu_addr" 1
1460 (and (and (eq_attr "cpu" "itanium")
1461 (eq_attr "itanium_class" "ialu"))
1463 "bundling_p && ia64_produce_address_p (insn)")
1466 (define_insn_reservation "1b_icmp" 1
1467 (and (and (eq_attr "cpu" "itanium")
1468 (eq_attr "itanium_class" "icmp"))
1469 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_A")
1470 (define_insn_reservation "1b_ilog" 1
1471 (and (and (eq_attr "cpu" "itanium")
1472 (eq_attr "itanium_class" "ilog"))
1473 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_A")
1474 (define_insn_reservation "1b_mmalua" 2
1475 (and (and (eq_attr "cpu" "itanium")
1476 (eq_attr "itanium_class" "mmalua"))
1477 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_A")
1478 (define_insn_reservation "1b_ishf" 1
1479 (and (and (eq_attr "cpu" "itanium")
1480 (eq_attr "itanium_class" "ishf"))
1481 (ne (symbol_ref "bundling_p") (const_int 0)))
1483 (define_insn_reservation "1b_ld" 2
1484 (and (and (eq_attr "cpu" "itanium")
1485 (eq_attr "itanium_class" "ld"))
1486 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1487 (define_insn_reservation "1b_long_i" 1
1488 (and (and (eq_attr "cpu" "itanium")
1489 (eq_attr "itanium_class" "long_i"))
1490 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_L")
1491 (define_insn_reservation "1b_mmmul" 2
1492 (and (and (eq_attr "cpu" "itanium")
1493 (eq_attr "itanium_class" "mmmul"))
1494 (ne (symbol_ref "bundling_p") (const_int 0)))
1496 (define_insn_reservation "1b_mmshf" 2
1497 (and (and (eq_attr "cpu" "itanium")
1498 (eq_attr "itanium_class" "mmshf"))
1499 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_I")
1500 (define_insn_reservation "1b_mmshfi" 2
1501 (and (and (eq_attr "cpu" "itanium")
1502 (eq_attr "itanium_class" "mmshfi"))
1503 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_I")
1504 (define_insn_reservation "1b_rse_m" 0
1505 (and (and (eq_attr "cpu" "itanium")
1506 (eq_attr "itanium_class" "rse_m"))
1507 (ne (symbol_ref "bundling_p") (const_int 0)))
1508 "(1b_0m.ii|1b_0m.mi|1b_0m.fi|1b_0m.mf|1b_0b.bb|1b_0m.bb\
1509 |1b_0m.ib|1b_0m.mb|1b_0m.fb|1b_0m.lx)+1_1+1b_um0")
1510 (define_insn_reservation "1b_sem" 0
1511 (and (and (eq_attr "cpu" "itanium")
1512 (eq_attr "itanium_class" "sem"))
1513 (ne (symbol_ref "bundling_p") (const_int 0)))
1515 (define_insn_reservation "1b_stf" 1
1516 (and (and (eq_attr "cpu" "itanium")
1517 (eq_attr "itanium_class" "stf"))
1518 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1519 (define_insn_reservation "1b_st" 1
1520 (and (and (eq_attr "cpu" "itanium")
1521 (eq_attr "itanium_class" "st"))
1522 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1523 (define_insn_reservation "1b_syst_m0" 0
1524 (and (and (eq_attr "cpu" "itanium")
1525 (eq_attr "itanium_class" "syst_m0"))
1526 (ne (symbol_ref "bundling_p") (const_int 0)))
1528 (define_insn_reservation "1b_syst_m" 0
1529 (and (and (eq_attr "cpu" "itanium")
1530 (eq_attr "itanium_class" "syst_m"))
1531 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1532 (define_insn_reservation "1b_tbit" 1
1533 (and (and (eq_attr "cpu" "itanium")
1534 (eq_attr "itanium_class" "tbit"))
1535 (ne (symbol_ref "bundling_p") (const_int 0)))
1537 (define_insn_reservation "1b_toar_i" 0
1538 (and (and (eq_attr "cpu" "itanium")
1539 (eq_attr "itanium_class" "toar_i"))
1540 (ne (symbol_ref "bundling_p") (const_int 0)))
1542 (define_insn_reservation "1b_toar_m" 5
1543 (and (and (eq_attr "cpu" "itanium")
1544 (eq_attr "itanium_class" "toar_m"))
1545 (ne (symbol_ref "bundling_p") (const_int 0)))
1547 (define_insn_reservation "1b_tobr" 1
1548 (and (and (eq_attr "cpu" "itanium")
1549 (eq_attr "itanium_class" "tobr"))
1550 (ne (symbol_ref "bundling_p") (const_int 0)))
1552 (define_insn_reservation "1b_tofr" 9
1553 (and (and (eq_attr "cpu" "itanium")
1554 (eq_attr "itanium_class" "tofr"))
1555 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1556 (define_insn_reservation "1b_topr" 1
1557 (and (and (eq_attr "cpu" "itanium")
1558 (eq_attr "itanium_class" "topr"))
1559 (ne (symbol_ref "bundling_p") (const_int 0)))
1561 (define_insn_reservation "1b_xmpy" 7
1562 (and (and (eq_attr "cpu" "itanium")
1563 (eq_attr "itanium_class" "xmpy"))
1564 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_F")
1565 (define_insn_reservation "1b_xtd" 1
1566 (and (and (eq_attr "cpu" "itanium")
1567 (eq_attr "itanium_class" "xtd"))
1568 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_I")
1569 (define_insn_reservation "1b_chk_s" 0
1570 (and (and (eq_attr "cpu" "itanium")
1571 (eq_attr "itanium_class" "chk_s"))
1572 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_A")
1573 (define_insn_reservation "1b_lfetch" 0
1574 (and (and (eq_attr "cpu" "itanium")
1575 (eq_attr "itanium_class" "lfetch"))
1576 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1577 (define_insn_reservation "1b_nop_m" 0
1578 (and (and (eq_attr "cpu" "itanium")
1579 (eq_attr "itanium_class" "nop_m"))
1580 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_M")
1581 (define_insn_reservation "1b_nop_b" 0
1582 (and (and (eq_attr "cpu" "itanium")
1583 (eq_attr "itanium_class" "nop_b"))
1584 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_NB")
1585 (define_insn_reservation "1b_nop_i" 0
1586 (and (and (eq_attr "cpu" "itanium")
1587 (eq_attr "itanium_class" "nop_i"))
1588 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_I")
1589 (define_insn_reservation "1b_nop_f" 0
1590 (and (and (eq_attr "cpu" "itanium")
1591 (eq_attr "itanium_class" "nop_f"))
1592 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_F")
1593 (define_insn_reservation "1b_nop_x" 0
1594 (and (and (eq_attr "cpu" "itanium")
1595 (eq_attr "itanium_class" "nop_x"))
1596 (ne (symbol_ref "bundling_p") (const_int 0))) "1b_L")
1597 (define_insn_reservation "1b_unknown" 1
1598 (and (and (eq_attr "cpu" "itanium")
1599 (eq_attr "itanium_class" "unknown"))
1600 (ne (symbol_ref "bundling_p") (const_int 0)))
1602 (define_insn_reservation "1b_nop" 1
1603 (and (and (eq_attr "cpu" "itanium")
1604 (eq_attr "itanium_class" "nop"))
1605 (ne (symbol_ref "bundling_p") (const_int 0)))
1606 "1b_M|1b_NB|1b_I|1b_F")
1607 (define_insn_reservation "1b_ignore" 0
1608 (and (and (eq_attr "cpu" "itanium")
1609 (eq_attr "itanium_class" "ignore"))
1610 (ne (symbol_ref "bundling_p") (const_int 0)))
1613 (define_insn_reservation "1b_pre_cycle" 0
1614 (and (and (eq_attr "cpu" "itanium")
1615 (eq_attr "itanium_class" "pre_cycle"))
1616 (ne (symbol_ref "bundling_p") (const_int 0)))
1617 "(1b_0m_bs, 1b_m_cont) \
1618 | (1b_0mi_bs, 1b_mi_cont) \
1619 | (1b_0mm_bs, 1b_mm_cont) \
1620 | (1b_0mf_bs, 1b_mf_cont) \
1621 | (1b_0b_bs, 1b_b_cont) \
1622 | (1b_0bb_bs, 1b_bb_cont) \
1623 | (1b_0mb_bs, 1b_mb_cont) \
1624 | (1b_1m_bs, 1b_m_cont) \
1625 | (1b_1mi_bs, 1b_mi_cont) \
1626 | (1b_1mm_bs, 1b_mm_cont) \
1627 | (1b_1mf_bs, 1b_mf_cont) \
1628 | (1b_1b_bs, 1b_b_cont) \
1629 | (1b_1bb_bs, 1b_bb_cont) \
1630 | (1b_1mb_bs, 1b_mb_cont) \
1631 | (1b_m_stop, 1b_0mmi_cont) \
1632 | (1b_mi_stop, 1b_0mii_cont)")