]>
Commit | Line | Data |
---|---|---|
bdcee471 CL |
1 | ;; Machine description for Sunplus S+CORE |
2 | ;; Sunplus S+CORE 7 Pipeline Description | |
2f83c7d6 | 3 | ;; Copyright (C) 2005, 2007 |
bdcee471 CL |
4 | ;; Free Software Foundation, Inc. |
5 | ;; Contributed by Sunnorth. | |
6 | ||
7 | ;; This file is part of GCC. | |
8 | ||
9 | ;; GCC is free software; you can redistribute it and/or modify | |
10 | ;; it under the terms of the GNU General Public License as published by | |
2f83c7d6 | 11 | ;; the Free Software Foundation; either version 3, or (at your option) |
bdcee471 CL |
12 | ;; any later version. |
13 | ||
14 | ;; GCC is distributed in the hope that it will be useful, | |
15 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | ;; GNU General Public License for more details. | |
18 | ||
19 | ;; You should have received a copy of the GNU General Public License | |
2f83c7d6 NC |
20 | ;; along with GCC; see the file COPYING3. If not see |
21 | ;; <http://www.gnu.org/licenses/>. | |
bdcee471 CL |
22 | |
23 | (define_automaton "score") | |
24 | ||
25 | (define_cpu_unit "core" "score") | |
26 | ||
27 | (define_insn_reservation "memory" 3 | |
28 | (eq_attr "type" "load") | |
29 | "core") | |
30 | ||
31 | (define_insn_reservation "mul" 3 | |
32 | (eq_attr "type" "mul,div") | |
33 | "core") | |
34 | ||
35 | (define_insn_reservation "fce" 1 | |
36 | (eq_attr "type" "fce") | |
37 | "core") | |
38 | ||
39 | (define_insn_reservation "tsr" 1 | |
40 | (eq_attr "type" "tsr,fsr") | |
41 | "core") | |
42 | ||
43 | (define_insn_reservation "up_c" 1 | |
44 | (eq_attr "up_c" "yes") | |
45 | "core") |