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/] [cypress.md] - Diff between revs 282 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 282 Rev 384
;; Scheduling description for SPARC Cypress.
;; Scheduling description for SPARC Cypress.
;;   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 Cypress is a pretty simple single-issue processor.
;; The Cypress is a pretty simple single-issue processor.
(define_automaton "cypress_0,cypress_1")
(define_automaton "cypress_0,cypress_1")
(define_cpu_unit "cyp_memory, cyp_fpalu" "cypress_0")
(define_cpu_unit "cyp_memory, cyp_fpalu" "cypress_0")
(define_cpu_unit "cyp_fpmds" "cypress_1")
(define_cpu_unit "cyp_fpmds" "cypress_1")
(define_insn_reservation "cyp_load" 2
(define_insn_reservation "cyp_load" 2
  (and (eq_attr "cpu" "cypress")
  (and (eq_attr "cpu" "cypress")
    (eq_attr "type" "load,sload,fpload"))
    (eq_attr "type" "load,sload,fpload"))
  "cyp_memory, nothing")
  "cyp_memory, nothing")
(define_insn_reservation "cyp_fp_alu" 5
(define_insn_reservation "cyp_fp_alu" 5
  (and (eq_attr "cpu" "cypress")
  (and (eq_attr "cpu" "cypress")
    (eq_attr "type" "fp,fpmove"))
    (eq_attr "type" "fp,fpmove"))
  "cyp_fpalu, nothing*3")
  "cyp_fpalu, nothing*3")
(define_insn_reservation "cyp_fp_mult" 7
(define_insn_reservation "cyp_fp_mult" 7
  (and (eq_attr "cpu" "cypress")
  (and (eq_attr "cpu" "cypress")
    (eq_attr "type" "fpmul"))
    (eq_attr "type" "fpmul"))
  "cyp_fpmds, nothing*5")
  "cyp_fpmds, nothing*5")
(define_insn_reservation "cyp_fp_div" 37
(define_insn_reservation "cyp_fp_div" 37
  (and (eq_attr "cpu" "cypress")
  (and (eq_attr "cpu" "cypress")
    (eq_attr "type" "fpdivs,fpdivd"))
    (eq_attr "type" "fpdivs,fpdivd"))
  "cyp_fpmds, nothing*35")
  "cyp_fpmds, nothing*35")
(define_insn_reservation "cyp_fp_sqrt" 63
(define_insn_reservation "cyp_fp_sqrt" 63
  (and (eq_attr "cpu" "cypress")
  (and (eq_attr "cpu" "cypress")
    (eq_attr "type" "fpsqrts,fpsqrtd"))
    (eq_attr "type" "fpsqrts,fpsqrtd"))
  "cyp_fpmds, nothing*61")
  "cyp_fpmds, nothing*61")
 
 

powered by: WebSVN 2.1.0

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