comparison gcc/config/mips/7000.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 ;; DFA-based pipeline description for the RM7000. 1 ;; DFA-based pipeline description for the RM7000.
2 ;; Copyright (C) 2003, 2004, 2005, 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 ;; GCC is free software; you can redistribute it and/or modify it 6 ;; GCC is free software; you can redistribute it and/or modify it
7 ;; under the terms of the GNU General Public License as published 7 ;; under the terms of the GNU General Public License as published
132 "rm7_impydiv+(rm7_impydiv_iter*8)") 132 "rm7_impydiv+(rm7_impydiv_iter*8)")
133 133
134 ;; Move to/from HI/LO. 134 ;; Move to/from HI/LO.
135 (define_insn_reservation "rm7_mthilo" 3 135 (define_insn_reservation "rm7_mthilo" 3
136 (and (eq_attr "cpu" "r7000") 136 (and (eq_attr "cpu" "r7000")
137 (eq_attr "type" "mthilo")) 137 (eq_attr "type" "mthi,mtlo"))
138 "rm7_impydiv") 138 "rm7_impydiv")
139 139
140 (define_insn_reservation "rm7_mfhilo" 1 140 (define_insn_reservation "rm7_mfhilo" 1
141 (and (eq_attr "cpu" "r7000") 141 (and (eq_attr "cpu" "r7000")
142 (eq_attr "type" "mfhilo")) 142 (eq_attr "type" "mfhi,mflo"))
143 "rm7_impydiv") 143 "rm7_impydiv")
144 144
145 ;; Move to/from fp coprocessor. 145 ;; Move to/from fp coprocessor.
146 (define_insn_reservation "rm7_ixfer" 2 146 (define_insn_reservation "rm7_ixfer" 2
147 (and (eq_attr "cpu" "r7000") 147 (and (eq_attr "cpu" "r7000")
208 "rm7_fpmpy+(rm7_fpmpy_iter*2)") 208 "rm7_fpmpy+(rm7_fpmpy_iter*2)")
209 209
210 ;; Force single-dispatch for unknown or multi. 210 ;; Force single-dispatch for unknown or multi.
211 (define_insn_reservation "rm7_unknown" 1 211 (define_insn_reservation "rm7_unknown" 1
212 (and (eq_attr "cpu" "r7000") 212 (and (eq_attr "cpu" "r7000")
213 (eq_attr "type" "unknown,multi")) 213 (eq_attr "type" "unknown,multi,atomic,syncloop"))
214 "rm7_single_dispatch") 214 "rm7_single_dispatch")