Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/sh/sh4a.md @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | a06113de4d67 |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 ;; Scheduling description for Renesas SH4a | 1 ;; Scheduling description for Renesas SH4a |
2 ;; Copyright (C) 2003, 2004, 2006, 2007 Free Software Foundation, Inc. | 2 ;; Copyright (C) 2003-2017 Free Software Foundation, Inc. |
3 ;; | 3 ;; |
4 ;; This file is part of GCC. | 4 ;; This file is part of GCC. |
5 ;; | 5 ;; |
6 ;; GNU CC is free software; you can redistribute it and/or modify | 6 ;; GNU CC is free software; you can redistribute it and/or modify |
7 ;; it under the terms of the GNU General Public License as published by | 7 ;; it under the terms of the GNU General Public License as published by |
17 ;; along with GCC; see the file COPYING3. If not see | 17 ;; along with GCC; see the file COPYING3. If not see |
18 ;; <http://www.gnu.org/licenses/>. | 18 ;; <http://www.gnu.org/licenses/>. |
19 | 19 |
20 ;; The following description models the SH4A pipeline | 20 ;; The following description models the SH4A pipeline |
21 ;; using the DFA based scheduler. | 21 ;; using the DFA based scheduler. |
22 | |
23 (define_automaton "sh4a") | 22 (define_automaton "sh4a") |
24 | 23 |
25 (define_cpu_unit "sh4a_ex" "sh4a") | 24 (define_cpu_unit "sh4a_ex" "sh4a") |
26 (define_cpu_unit "sh4a_ls" "sh4a") | 25 (define_cpu_unit "sh4a_ls" "sh4a") |
27 (define_cpu_unit "sh4a_fex" "sh4a") | 26 (define_cpu_unit "sh4a_fex" "sh4a") |
33 ;; sh4. Define issue to be the | of the two pipelines | 32 ;; sh4. Define issue to be the | of the two pipelines |
34 ;; to control how often instructions are issued. | 33 ;; to control how often instructions are issued. |
35 (define_reservation "ID_or" "sh4a_ex|sh4a_ls") | 34 (define_reservation "ID_or" "sh4a_ex|sh4a_ls") |
36 (define_reservation "ID_and" "sh4a_ex+sh4a_ls") | 35 (define_reservation "ID_and" "sh4a_ex+sh4a_ls") |
37 | 36 |
38 | |
39 ;; ======================================================= | 37 ;; ======================================================= |
40 ;; Locking Descriptions | 38 ;; Locking Descriptions |
41 | 39 |
42 ;; Sh4a_Memory access on the LS pipeline. | 40 ;; Sh4a_Memory access on the LS pipeline. |
43 (define_cpu_unit "sh4a_memory" "sh4a") | 41 (define_cpu_unit "sh4a_memory" "sh4a") |