OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [config/] [sparc/] [sparclet.md] - Diff between revs 282 and 384

Only display areas with differences | Details | Blame | View Log

Rev 282 Rev 384
;; Scheduling description for SPARClet.
;; Scheduling description for SPARClet.
;;   Copyright (C) 2002, 2007 Free Software Foundation, Inc.
;;   Copyright (C) 2002, 2007 Free Software Foundation, Inc.
;;
;;
;; This file is part of GCC.
;; This file is part of GCC.
;;
;;
;; GCC is free software; you can redistribute it and/or modify
;; GCC is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; any later version.
;;
;;
;; GCC is distributed in the hope that it will be useful,
;; GCC is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;; GNU General Public License for more details.
;;
;;
;; You should have received a copy of the GNU General Public License
;; You should have received a copy of the GNU General Public License
;; along with GCC; see the file COPYING3.  If not see
;; along with GCC; see the file COPYING3.  If not see
;; .
;; .
;; The SPARClet is a single-issue processor.
;; The SPARClet is a single-issue processor.
(define_automaton "sparclet")
(define_automaton "sparclet")
(define_cpu_unit "sl_load0,sl_load1,sl_load2,sl_load3" "sparclet")
(define_cpu_unit "sl_load0,sl_load1,sl_load2,sl_load3" "sparclet")
(define_cpu_unit "sl_store,sl_imul" "sparclet")
(define_cpu_unit "sl_store,sl_imul" "sparclet")
(define_reservation "sl_load_any" "(sl_load0 | sl_load1 | sl_load2 | sl_load3)")
(define_reservation "sl_load_any" "(sl_load0 | sl_load1 | sl_load2 | sl_load3)")
(define_reservation "sl_load_all" "(sl_load0 + sl_load1 + sl_load2 + sl_load3)")
(define_reservation "sl_load_all" "(sl_load0 + sl_load1 + sl_load2 + sl_load3)")
(define_insn_reservation "sl_ld" 3
(define_insn_reservation "sl_ld" 3
  (and (eq_attr "cpu" "tsc701")
  (and (eq_attr "cpu" "tsc701")
   (eq_attr "type" "load,sload"))
   (eq_attr "type" "load,sload"))
  "sl_load_any, sl_load_any, sl_load_any")
  "sl_load_any, sl_load_any, sl_load_any")
(define_insn_reservation "sl_st" 3
(define_insn_reservation "sl_st" 3
  (and (eq_attr "cpu" "tsc701")
  (and (eq_attr "cpu" "tsc701")
    (eq_attr "type" "store"))
    (eq_attr "type" "store"))
  "(sl_store+sl_load_all)*3")
  "(sl_store+sl_load_all)*3")
(define_insn_reservation "sl_imul" 5
(define_insn_reservation "sl_imul" 5
  (and (eq_attr "cpu" "tsc701")
  (and (eq_attr "cpu" "tsc701")
    (eq_attr "type" "imul"))
    (eq_attr "type" "imul"))
  "sl_imul*5")
  "sl_imul*5")
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.