1117395Skan;; Scheduling description for SPARClet. 2117395Skan;; Copyright (C) 2002 Free Software Foundation, Inc. 3117395Skan;; 4132718Skan;; This file is part of GCC. 5117395Skan;; 6132718Skan;; GCC is free software; you can redistribute it and/or modify 7117395Skan;; it under the terms of the GNU General Public License as published by 8117395Skan;; the Free Software Foundation; either version 2, or (at your option) 9117395Skan;; any later version. 10117395Skan;; 11132718Skan;; GCC is distributed in the hope that it will be useful, 12117395Skan;; but WITHOUT ANY WARRANTY; without even the implied warranty of 13117395Skan;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14117395Skan;; GNU General Public License for more details. 15117395Skan;; 16117395Skan;; You should have received a copy of the GNU General Public License 17132718Skan;; along with GCC; see the file COPYING. If not, write to 18169689Skan;; the Free Software Foundation, 51 Franklin Street, Fifth Floor, 19169689Skan;; Boston, MA 02110-1301, USA. 20117395Skan 21117395Skan;; The SPARClet is a single-issue processor. 22117395Skan 23117395Skan(define_automaton "sparclet") 24117395Skan 25117395Skan(define_cpu_unit "sl_load0,sl_load1,sl_load2,sl_load3" "sparclet") 26117395Skan(define_cpu_unit "sl_store,sl_imul" "sparclet") 27117395Skan 28117395Skan(define_reservation "sl_load_any" "(sl_load0 | sl_load1 | sl_load2 | sl_load3)") 29117395Skan(define_reservation "sl_load_all" "(sl_load0 + sl_load1 + sl_load2 + sl_load3)") 30117395Skan 31117395Skan(define_insn_reservation "sl_ld" 3 32117395Skan (and (eq_attr "cpu" "tsc701") 33117395Skan (eq_attr "type" "load,sload")) 34117395Skan "sl_load_any, sl_load_any, sl_load_any") 35117395Skan 36117395Skan(define_insn_reservation "sl_st" 3 37117395Skan (and (eq_attr "cpu" "tsc701") 38117395Skan (eq_attr "type" "store")) 39117395Skan "(sl_store+sl_load_all)*3") 40117395Skan 41117395Skan(define_insn_reservation "sl_imul" 5 42117395Skan (and (eq_attr "cpu" "tsc701") 43117395Skan (eq_attr "type" "imul")) 44117395Skan "sl_imul*5") 45