Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/rs6000/titan.md @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 ;; Pipeline description for the AppliedMicro Titan core. | 1 ;; Pipeline description for the AppliedMicro Titan core. |
2 ;; Copyright (C) 2010-2017 Free Software Foundation, Inc. | 2 ;; Copyright (C) 2010-2018 Free Software Foundation, Inc. |
3 ;; Contributed by Theobroma Systems Design und Consulting GmbH | 3 ;; Contributed by Theobroma Systems Design und Consulting GmbH |
4 ;; | 4 ;; |
5 ;; This file is part of GCC. | 5 ;; This file is part of GCC. |
6 ;; | 6 ;; |
7 ;; GCC is free software; you can redistribute it and/or modify it | 7 ;; GCC is free software; you can redistribute it and/or modify it |
83 ;; === BPU scheduling === | 83 ;; === BPU scheduling === |
84 | 84 |
85 (define_cpu_unit "titan_bpu_sh" "titan_bpu") | 85 (define_cpu_unit "titan_bpu_sh" "titan_bpu") |
86 | 86 |
87 (define_insn_reservation "titan_bpu" 2 | 87 (define_insn_reservation "titan_bpu" 2 |
88 (and (eq_attr "type" "branch,jmpreg,cr_logical,delayed_cr") | 88 (and (eq_attr "type" "branch,jmpreg,cr_logical") |
89 (eq_attr "cpu" "titan")) | 89 (eq_attr "cpu" "titan")) |
90 "titan_issue,titan_bpu_sh") | 90 "titan_issue,titan_bpu_sh") |
91 | 91 |
92 ;; === LSU scheduling === | 92 ;; === LSU scheduling === |
93 | 93 |
146 (define_insn_reservation "titan_fp_div_single" 46 | 146 (define_insn_reservation "titan_fp_div_single" 46 |
147 (and (eq_attr "type" "sdiv") | 147 (and (eq_attr "type" "sdiv") |
148 (eq_attr "cpu" "titan")) | 148 (eq_attr "cpu" "titan")) |
149 "titan_issue,titan_fpdiv*46,titan_fpwb") | 149 "titan_issue,titan_fpdiv*46,titan_fpwb") |
150 | 150 |
151 (define_insn_reservation "titan_fp_single" 12 | |
152 (and (eq_attr "fp_type" "fp_addsub_s,fp_mul_s,fp_maddsub_s") | |
153 (eq_attr "cpu" "titan")) | |
154 "titan_issue,titan_fp0*2,nothing*10,titan_fpwb") | |
155 | |
156 ;; Make sure the "titan_fp" rule stays last, as it's a catch all for | 151 ;; Make sure the "titan_fp" rule stays last, as it's a catch all for |
157 ;; double-precision and unclassified (e.g. fsel) FP-instructions | 152 ;; double-precision and unclassified (e.g. fsel) FP-instructions |
158 (define_insn_reservation "titan_fp" 10 | 153 (define_insn_reservation "titan_fp" 10 |
159 (and (eq_attr "type" "fpcompare,fp,fpsimple,dmul") | 154 (and (eq_attr "type" "fpcompare,fp,fpsimple,dmul") |
160 (eq_attr "cpu" "titan")) | 155 (eq_attr "cpu" "titan")) |