[NDS32] Implement n7 pipeline.
[official-gcc.git] / gcc / config / nds32 / pipelines.md
blob34288076f42d50a41310b32e902d7eb6f5f4dfba
1 ;; Pipeline descriptions of Andes NDS32 cpu for GNU compiler
2 ;; Copyright (C) 2012-2018 Free Software Foundation, Inc.
3 ;; Contributed by Andes Technology Corporation.
4 ;;
5 ;; This file is part of GCC.
6 ;;
7 ;; GCC is free software; you can redistribute it and/or modify it
8 ;; under the terms of the GNU General Public License as published
9 ;; by the Free Software Foundation; either version 3, or (at your
10 ;; option) any later version.
12 ;; GCC is distributed in the hope that it will be useful, but WITHOUT
13 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 ;; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
15 ;; License for more details.
17 ;; You should have received a copy of the GNU General Public License
18 ;; along with GCC; see the file COPYING3.  If not see
19 ;; <http://www.gnu.org/licenses/>.
21 ;; ------------------------------------------------------------------------
22 ;; Include N7 pipeline settings.
23 ;; ------------------------------------------------------------------------
24 (include "nds32-n7.md")
27 ;; ------------------------------------------------------------------------
28 ;; Include N8 pipeline settings.
29 ;; ------------------------------------------------------------------------
30 (include "nds32-n8.md")
33 ;; ------------------------------------------------------------------------
34 ;; Include E8 pipeline settings.
35 ;; ------------------------------------------------------------------------
36 (include "nds32-e8.md")
39 ;; ------------------------------------------------------------------------
40 ;; Include N9/N10 pipeline settings.
41 ;; ------------------------------------------------------------------------
42 (include "nds32-n9-3r2w.md")
43 (include "nds32-n9-2r1w.md")
46 ;; ------------------------------------------------------------------------
47 ;; Define simple pipeline settings.
48 ;; ------------------------------------------------------------------------
50 (define_automaton "nds32_simple_machine")
52 (define_cpu_unit "simple_unit" "nds32_simple_machine")
54 (define_insn_reservation "simple_insn" 1
55   (eq_attr "pipeline_model" "simple")
56   "simple_unit")
58 ;; ------------------------------------------------------------------------