6000.md revision 169689
160786Sps;; R6000 pipeline description. 260786Sps;; Copyright (C) 2004 Free Software Foundation, Inc. 360786Sps;; 460786Sps;; This file is part of GCC. 560786Sps 660786Sps;; GCC is free software; you can redistribute it and/or modify it 760786Sps;; under the terms of the GNU General Public License as published 860786Sps;; by the Free Software Foundation; either version 2, or (at your 960786Sps;; option) any later version. 1060786Sps 1160786Sps;; GCC is distributed in the hope that it will be useful, but WITHOUT 1260786Sps;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 1360786Sps;; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 1460786Sps;; License for more details. 1560786Sps 1660786Sps;; You should have received a copy of the GNU General Public License 1760786Sps;; along with GCC; see the file COPYING. If not, write to the 1860786Sps;; Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, 1960786Sps;; MA 02110-1301, USA. 2060786Sps 2160786Sps 2260786Sps;; This file overrides parts of generic.md. It is derived from the 2360786Sps;; old define_function_unit description. 2460786Sps 2560786Sps(define_insn_reservation "r6k_fcmp" 2 2660786Sps (and (eq_attr "cpu" "r6000") 2760786Sps (eq_attr "type" "fcmp")) 2860786Sps "alu") 2960786Sps 3060786Sps(define_insn_reservation "r6k_fadd" 3 3160786Sps (and (eq_attr "cpu" "r6000") 3260786Sps (eq_attr "type" "fadd")) 3360786Sps "alu") 3460786Sps 3560786Sps(define_insn_reservation "r6k_fmul_single" 5 3660786Sps (and (eq_attr "cpu" "r6000") 3760786Sps (and (eq_attr "type" "fmul,fmadd") 3860786Sps (eq_attr "mode" "SF"))) 3960786Sps "alu") 4060786Sps 4160786Sps(define_insn_reservation "r6k_fmul_double" 6 4260786Sps (and (eq_attr "cpu" "r6000") 4360786Sps (and (eq_attr "type" "fmul,fmadd") 4460786Sps (eq_attr "mode" "DF"))) 4560786Sps "alu") 4660786Sps 4760786Sps(define_insn_reservation "r6k_fdiv_single" 15 4860786Sps (and (eq_attr "cpu" "r6000") 4960786Sps (and (eq_attr "type" "fdiv,frdiv") 5060786Sps (eq_attr "mode" "SF"))) 5160786Sps "alu") 5260786Sps 5360786Sps(define_insn_reservation "r6k_fdiv_double" 16 5460786Sps (and (eq_attr "cpu" "r6000") 5560786Sps (and (eq_attr "type" "fdiv,frdiv") 5660786Sps (eq_attr "mode" "DF"))) 5760786Sps "alu") 5860786Sps