1169689Skan;; R4000 pipeline description.
2169689Skan;;   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
3169689Skan;;
4169689Skan;; This file is part of GCC.
5169689Skan
6169689Skan;; GCC is free software; you can redistribute it and/or modify it
7169689Skan;; under the terms of the GNU General Public License as published
8169689Skan;; by the Free Software Foundation; either version 2, or (at your
9169689Skan;; option) any later version.
10169689Skan
11169689Skan;; GCC is distributed in the hope that it will be useful, but WITHOUT
12169689Skan;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13169689Skan;; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
14169689Skan;; License for more details.
15169689Skan
16169689Skan;; You should have received a copy of the GNU General Public License
17169689Skan;; along with GCC; see the file COPYING.  If not, write to the
18169689Skan;; Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
19169689Skan;; MA 02110-1301, USA.
20169689Skan
21169689Skan
22169689Skan;; This file overrides parts of generic.md.  It is derived from the
23169689Skan;; old define_function_unit description.
24169689Skan
25169689Skan(define_insn_reservation "r4k_imul" 10
26169689Skan  (and (eq_attr "cpu" "r4000")
27169689Skan       (eq_attr "type" "imul,imul3,imadd"))
28169689Skan  "imuldiv*10")
29169689Skan
30169689Skan(define_insn_reservation "r4k_idiv" 69
31169689Skan  (and (eq_attr "cpu" "r4000")
32169689Skan       (eq_attr "type" "idiv"))
33169689Skan  "imuldiv*69")
34