6000.md revision 169689
1169689Skan;; R6000 pipeline description. 2169689Skan;; Copyright (C) 2004 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 "r6k_fcmp" 2 26169689Skan (and (eq_attr "cpu" "r6000") 27169689Skan (eq_attr "type" "fcmp")) 28169689Skan "alu") 29169689Skan 30169689Skan(define_insn_reservation "r6k_fadd" 3 31169689Skan (and (eq_attr "cpu" "r6000") 32169689Skan (eq_attr "type" "fadd")) 33169689Skan "alu") 34169689Skan 35169689Skan(define_insn_reservation "r6k_fmul_single" 5 36169689Skan (and (eq_attr "cpu" "r6000") 37169689Skan (and (eq_attr "type" "fmul,fmadd") 38169689Skan (eq_attr "mode" "SF"))) 39169689Skan "alu") 40169689Skan 41169689Skan(define_insn_reservation "r6k_fmul_double" 6 42169689Skan (and (eq_attr "cpu" "r6000") 43169689Skan (and (eq_attr "type" "fmul,fmadd") 44169689Skan (eq_attr "mode" "DF"))) 45169689Skan "alu") 46169689Skan 47169689Skan(define_insn_reservation "r6k_fdiv_single" 15 48169689Skan (and (eq_attr "cpu" "r6000") 49169689Skan (and (eq_attr "type" "fdiv,frdiv") 50169689Skan (eq_attr "mode" "SF"))) 51169689Skan "alu") 52169689Skan 53169689Skan(define_insn_reservation "r6k_fdiv_double" 16 54169689Skan (and (eq_attr "cpu" "r6000") 55169689Skan (and (eq_attr "type" "fdiv,frdiv") 56169689Skan (eq_attr "mode" "DF"))) 57169689Skan "alu") 58