OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [config/] [sh/] [sh4-300.md] - Diff between revs 282 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 282 Rev 384
;; DFA scheduling description for ST40-300.
;; DFA scheduling description for ST40-300.
;; Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
;; Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
;; This file is part of GCC.
;; This file is part of GCC.
;; GCC is free software; you can redistribute it and/or modify
;; GCC is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; any later version.
;; GCC is distributed in the hope that it will be useful,
;; GCC is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; You should have received a copy of the GNU General Public License
;; along with GCC; see the file COPYING3.  If not see
;; along with GCC; see the file COPYING3.  If not see
;; .
;; .
;; Load and store instructions save a cycle if they are aligned on a
;; Load and store instructions save a cycle if they are aligned on a
;; four byte boundary.  Using a function unit for stores encourages
;; four byte boundary.  Using a function unit for stores encourages
;; gcc to separate load and store instructions by one instruction,
;; gcc to separate load and store instructions by one instruction,
;; which makes it more likely that the linker will be able to word
;; which makes it more likely that the linker will be able to word
;; align them when relaxing.
;; align them when relaxing.
;; The following description models the ST40-300 pipeline using the DFA based
;; The following description models the ST40-300 pipeline using the DFA based
;; scheduler.
;; scheduler.
;; Two automata are defined to reduce number of states
;; Two automata are defined to reduce number of states
;; which a single large automaton will have. (Factoring)
;; which a single large automaton will have. (Factoring)
(define_automaton "sh4_300_inst_pipeline,sh4_300_fpu_pipe")
(define_automaton "sh4_300_inst_pipeline,sh4_300_fpu_pipe")
;; This unit is basically the decode unit of the processor.
;; This unit is basically the decode unit of the processor.
;; Since SH4 is a dual issue machine,it is as if there are two
;; Since SH4 is a dual issue machine,it is as if there are two
;; units so that any insn can be processed by either one
;; units so that any insn can be processed by either one
;; of the decoding unit.
;; of the decoding unit.
(define_cpu_unit "sh4_300_pipe_01,sh4_300_pipe_02" "sh4_300_inst_pipeline")
(define_cpu_unit "sh4_300_pipe_01,sh4_300_pipe_02" "sh4_300_inst_pipeline")
;; The floating point units.
;; The floating point units.
(define_cpu_unit "sh4_300_fpt,sh4_300_fpu,sh4_300_fds" "sh4_300_fpu_pipe")
(define_cpu_unit "sh4_300_fpt,sh4_300_fpu,sh4_300_fds" "sh4_300_fpu_pipe")
;; integer multiplier unit
;; integer multiplier unit
(define_cpu_unit "sh4_300_mul" "sh4_300_inst_pipeline")
(define_cpu_unit "sh4_300_mul" "sh4_300_inst_pipeline")
;; LS unit
;; LS unit
(define_cpu_unit "sh4_300_ls" "sh4_300_inst_pipeline")
(define_cpu_unit "sh4_300_ls" "sh4_300_inst_pipeline")
;; The address calculator used for branch instructions.
;; The address calculator used for branch instructions.
;; This will be reserved after "issue" of branch instructions
;; This will be reserved after "issue" of branch instructions
;; and this is to make sure that no two branch instructions
;; and this is to make sure that no two branch instructions
;; can be issued in parallel.
;; can be issued in parallel.
(define_cpu_unit "sh4_300_br" "sh4_300_inst_pipeline")
(define_cpu_unit "sh4_300_br" "sh4_300_inst_pipeline")
;; ----------------------------------------------------
;; ----------------------------------------------------
;; This reservation is to simplify the dual issue description.
;; This reservation is to simplify the dual issue description.
(define_reservation  "sh4_300_issue"  "sh4_300_pipe_01|sh4_300_pipe_02")
(define_reservation  "sh4_300_issue"  "sh4_300_pipe_01|sh4_300_pipe_02")
(define_reservation "all" "sh4_300_pipe_01+sh4_300_pipe_02")
(define_reservation "all" "sh4_300_pipe_01+sh4_300_pipe_02")
;;(define_insn_reservation "nil" 0 (eq_attr "type" "nil") "nothing")
;;(define_insn_reservation "nil" 0 (eq_attr "type" "nil") "nothing")
;; MOV RM,RN / MOV #imm8,RN / STS PR,RN
;; MOV RM,RN / MOV #imm8,RN / STS PR,RN
(define_insn_reservation "sh4_300_mov" 0
(define_insn_reservation "sh4_300_mov" 0
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "move,movi8,prget"))
       (eq_attr "type" "move,movi8,prget"))
  "sh4_300_issue")
  "sh4_300_issue")
;; Fixed STS from MACL / MACH
;; Fixed STS from MACL / MACH
(define_insn_reservation "sh4_300_mac_gp" 0
(define_insn_reservation "sh4_300_mac_gp" 0
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "mac_gp"))
       (eq_attr "type" "mac_gp"))
  "sh4_300_issue+sh4_300_mul")
  "sh4_300_issue+sh4_300_mul")
;; Fixed LDS to MACL / MACH
;; Fixed LDS to MACL / MACH
(define_insn_reservation "sh4_300_gp_mac" 1
(define_insn_reservation "sh4_300_gp_mac" 1
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "gp_mac"))
       (eq_attr "type" "gp_mac"))
  "sh4_300_issue+sh4_300_mul")
  "sh4_300_issue+sh4_300_mul")
;; Instructions without specific resource requirements with latency 1.
;; Instructions without specific resource requirements with latency 1.
(define_insn_reservation "sh4_300_simple_arith" 1
(define_insn_reservation "sh4_300_simple_arith" 1
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "mt_group,arith,dyn_shift,prset"))
       (eq_attr "type" "mt_group,arith,dyn_shift,prset"))
  "sh4_300_issue")
  "sh4_300_issue")
;; Load and store instructions have no alignment peculiarities for the ST40-300,
;; Load and store instructions have no alignment peculiarities for the ST40-300,
;; but they use the load-store unit, which they share with the fmove type
;; but they use the load-store unit, which they share with the fmove type
;; insns (fldi[01]; fmov frn,frm; flds; fsts; fabs; fneg) .
;; insns (fldi[01]; fmov frn,frm; flds; fsts; fabs; fneg) .
;; Loads have a latency of three.
;; Loads have a latency of three.
;; Load Store instructions.
;; Load Store instructions.
(define_insn_reservation "sh4_300_load" 3
(define_insn_reservation "sh4_300_load" 3
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "load,pcload,load_si,pcload_si,pload"))
       (eq_attr "type" "load,pcload,load_si,pcload_si,pload"))
  "sh4_300_issue+sh4_300_ls")
  "sh4_300_issue+sh4_300_ls")
(define_insn_reservation "sh4_300_mac_load" 3
(define_insn_reservation "sh4_300_mac_load" 3
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "mem_mac"))
       (eq_attr "type" "mem_mac"))
  "sh4_300_issue+sh4_300_ls+sh4_300_mul")
  "sh4_300_issue+sh4_300_ls+sh4_300_mul")
(define_insn_reservation "sh4_300_fload" 4
(define_insn_reservation "sh4_300_fload" 4
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "fload,pcfload"))
       (eq_attr "type" "fload,pcfload"))
  "sh4_300_issue+sh4_300_ls+sh4_300_fpt")
  "sh4_300_issue+sh4_300_ls+sh4_300_fpt")
;; sh_adjust_cost describes the reduced latency of the feeding insns of a store.
;; sh_adjust_cost describes the reduced latency of the feeding insns of a store.
;; The latency of an auto-increment register is 1; the latency of the memory
;; The latency of an auto-increment register is 1; the latency of the memory
;; output is not actually considered here anyway.
;; output is not actually considered here anyway.
(define_insn_reservation "sh4_300_store" 1
(define_insn_reservation "sh4_300_store" 1
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "store,pstore"))
       (eq_attr "type" "store,pstore"))
  "sh4_300_issue+sh4_300_ls")
  "sh4_300_issue+sh4_300_ls")
(define_insn_reservation "sh4_300_fstore" 1
(define_insn_reservation "sh4_300_fstore" 1
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "fstore"))
       (eq_attr "type" "fstore"))
  "sh4_300_issue+sh4_300_ls+sh4_300_fpt")
  "sh4_300_issue+sh4_300_ls+sh4_300_fpt")
;; Fixed STS.L from MACL / MACH
;; Fixed STS.L from MACL / MACH
(define_insn_reservation "sh4_300_mac_store" 1
(define_insn_reservation "sh4_300_mac_store" 1
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "mac_mem"))
       (eq_attr "type" "mac_mem"))
  "sh4_300_issue+sh4_300_mul+sh4_300_ls")
  "sh4_300_issue+sh4_300_mul+sh4_300_ls")
(define_insn_reservation "sh4_300_gp_fpul" 2
(define_insn_reservation "sh4_300_gp_fpul" 2
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "gp_fpul"))
       (eq_attr "type" "gp_fpul"))
  "sh4_300_issue+sh4_300_fpt")
  "sh4_300_issue+sh4_300_fpt")
(define_insn_reservation "sh4_300_fpul_gp" 1
(define_insn_reservation "sh4_300_fpul_gp" 1
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "fpul_gp"))
       (eq_attr "type" "fpul_gp"))
  "sh4_300_issue+sh4_300_fpt")
  "sh4_300_issue+sh4_300_fpt")
;; Branch (BF,BF/S,BT,BT/S,BRA)
;; Branch (BF,BF/S,BT,BT/S,BRA)
;; Branch Far (JMP,RTS,BRAF)
;; Branch Far (JMP,RTS,BRAF)
;; Group:       BR
;; Group:       BR
;; When displacement is 0 for BF / BT, we have effectively conditional
;; When displacement is 0 for BF / BT, we have effectively conditional
;; execution of one instruction, without pipeline disruption.
;; execution of one instruction, without pipeline disruption.
;; Otherwise, the latency depends on prediction success.
;; Otherwise, the latency depends on prediction success.
;; We can't really do much with the latency, even if we could express it,
;; We can't really do much with the latency, even if we could express it,
;; but the pairing restrictions are useful to take into account.
;; but the pairing restrictions are useful to take into account.
;; ??? If the branch is likely, and not paired with a preceding insn,
;; ??? If the branch is likely, and not paired with a preceding insn,
;; or likely and likely not predicted, we might want to fill the delay slot.
;; or likely and likely not predicted, we might want to fill the delay slot.
;; However, there appears to be no machinery to make the compiler
;; However, there appears to be no machinery to make the compiler
;; recognize these scenarios.
;; recognize these scenarios.
(define_insn_reservation "sh4_300_branch"  1
(define_insn_reservation "sh4_300_branch"  1
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "cbranch,jump,return,jump_ind"))
       (eq_attr "type" "cbranch,jump,return,jump_ind"))
  "sh4_300_issue+sh4_300_br")
  "sh4_300_issue+sh4_300_br")
;; RTE
;; RTE
(define_insn_reservation "sh4_300_return_from_exp" 9
(define_insn_reservation "sh4_300_return_from_exp" 9
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "rte"))
       (eq_attr "type" "rte"))
  "sh4_300_pipe_01+sh4_300_pipe_02*9")
  "sh4_300_pipe_01+sh4_300_pipe_02*9")
;; OCBP, OCBWB
;; OCBP, OCBWB
;; Group:       CO
;; Group:       CO
;; Latency:     1-5
;; Latency:     1-5
;; Issue Rate:  1
;; Issue Rate:  1
;; cwb is used for the sequence ocbwb @%0; extu.w %0,%2; or %1,%2; mov.l %0,@%2
;; cwb is used for the sequence ocbwb @%0; extu.w %0,%2; or %1,%2; mov.l %0,@%2
;; This description is likely inexact, but this pattern should not actually
;; This description is likely inexact, but this pattern should not actually
;; appear when compiling for sh4-300; we should use isbi instead.
;; appear when compiling for sh4-300; we should use isbi instead.
;; If a -mtune option is added later, we should use the icache array
;; If a -mtune option is added later, we should use the icache array
;; dispatch method instead.
;; dispatch method instead.
(define_insn_reservation "sh4_300_ocbwb"  3
(define_insn_reservation "sh4_300_ocbwb"  3
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "cwb"))
       (eq_attr "type" "cwb"))
  "all*3")
  "all*3")
;; JSR,BSR,BSRF
;; JSR,BSR,BSRF
;; Calls have a mandatory delay slot, which we'd like to fill with an insn
;; Calls have a mandatory delay slot, which we'd like to fill with an insn
;; that can be paired with the call itself.
;; that can be paired with the call itself.
;; Scheduling runs before reorg, so we approximate this by saying that we
;; Scheduling runs before reorg, so we approximate this by saying that we
;; want the call to be paired with a preceding insn.
;; want the call to be paired with a preceding insn.
;; In most cases, the insn that loads the address of the call should have
;; In most cases, the insn that loads the address of the call should have
;; a nonzero latency (mov rn,rm doesn't make sense since we could use rn
;; a nonzero latency (mov rn,rm doesn't make sense since we could use rn
;; for the address then).  Thus, a preceding insn that can be paired with
;; for the address then).  Thus, a preceding insn that can be paired with
;; a call should be eligible for the delay slot.
;; a call should be eligible for the delay slot.
;;
;;
;; calls introduce a longisch delay that is likely to flush the pipelines
;; calls introduce a longisch delay that is likely to flush the pipelines
;; of the caller's instructions.  Ordinary functions tend to end with a
;; of the caller's instructions.  Ordinary functions tend to end with a
;; load to restore a register (in the delay slot of rts), while sfuncs
;; load to restore a register (in the delay slot of rts), while sfuncs
;; tend to end with an EX or MT insn.  But that is not actually relevant,
;; tend to end with an EX or MT insn.  But that is not actually relevant,
;; since there are no instructions that contend for memory access early.
;; since there are no instructions that contend for memory access early.
;; We could, of course, provide exact scheduling information for specific
;; We could, of course, provide exact scheduling information for specific
;; sfuncs, if that should prove useful.
;; sfuncs, if that should prove useful.
(define_insn_reservation "sh4_300_call" 16
(define_insn_reservation "sh4_300_call" 16
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "call,sfunc"))
       (eq_attr "type" "call,sfunc"))
  "sh4_300_issue+sh4_300_br,all*15")
  "sh4_300_issue+sh4_300_br,all*15")
;; FMOV.S / FMOV.D
;; FMOV.S / FMOV.D
(define_insn_reservation "sh4_300_fmov" 1
(define_insn_reservation "sh4_300_fmov" 1
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "fmove"))
       (eq_attr "type" "fmove"))
  "sh4_300_issue+sh4_300_fpt")
  "sh4_300_issue+sh4_300_fpt")
;; LDS to FPSCR
;; LDS to FPSCR
(define_insn_reservation "sh4_300_fpscr_load" 8
(define_insn_reservation "sh4_300_fpscr_load" 8
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "gp_fpscr"))
       (eq_attr "type" "gp_fpscr"))
  "sh4_300_issue+sh4_300_fpu+sh4_300_fpt")
  "sh4_300_issue+sh4_300_fpu+sh4_300_fpt")
;; LDS.L to FPSCR
;; LDS.L to FPSCR
(define_insn_reservation "sh4_300_fpscr_load_mem" 8
(define_insn_reservation "sh4_300_fpscr_load_mem" 8
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type"  "mem_fpscr"))
       (eq_attr "type"  "mem_fpscr"))
  "sh4_300_issue+sh4_300_fpu+sh4_300_fpt+sh4_300_ls")
  "sh4_300_issue+sh4_300_fpu+sh4_300_fpt+sh4_300_ls")


;; Fixed point multiplication (DMULS.L DMULU.L MUL.L MULS.W,MULU.W)
;; Fixed point multiplication (DMULS.L DMULU.L MUL.L MULS.W,MULU.W)
(define_insn_reservation "multi" 2
(define_insn_reservation "multi" 2
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "smpy,dmpy"))
       (eq_attr "type" "smpy,dmpy"))
  "sh4_300_issue+sh4_300_mul")
  "sh4_300_issue+sh4_300_mul")
;; FPCHG, FRCHG, FSCHG
;; FPCHG, FRCHG, FSCHG
(define_insn_reservation "fpscr_toggle"  1
(define_insn_reservation "fpscr_toggle"  1
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "fpscr_toggle"))
       (eq_attr "type" "fpscr_toggle"))
  "sh4_300_issue+sh4_300_fpu+sh4_300_fpt")
  "sh4_300_issue+sh4_300_fpu+sh4_300_fpt")
;; FCMP/EQ, FCMP/GT
;; FCMP/EQ, FCMP/GT
(define_insn_reservation "fp_cmp"  3
(define_insn_reservation "fp_cmp"  3
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "fp_cmp,dfp_cmp"))
       (eq_attr "type" "fp_cmp,dfp_cmp"))
  "sh4_300_issue+sh4_300_fpu")
  "sh4_300_issue+sh4_300_fpu")
;; Single precision floating point (FADD,FLOAT,FMAC,FMUL,FSUB,FTRC)
;; Single precision floating point (FADD,FLOAT,FMAC,FMUL,FSUB,FTRC)
;; Double-precision floating-point (FADD,FCNVDS,FCNVSD,FLOAT,FSUB,FTRC)
;; Double-precision floating-point (FADD,FCNVDS,FCNVSD,FLOAT,FSUB,FTRC)
(define_insn_reservation "fp_arith"  6
(define_insn_reservation "fp_arith"  6
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "fp,ftrc_s,dfp_arith,dfp_conv"))
       (eq_attr "type" "fp,ftrc_s,dfp_arith,dfp_conv"))
  "sh4_300_issue+sh4_300_fpu")
  "sh4_300_issue+sh4_300_fpu")
;; Single Precision FDIV/SQRT
;; Single Precision FDIV/SQRT
(define_insn_reservation "fp_div" 19
(define_insn_reservation "fp_div" 19
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "fdiv"))
       (eq_attr "type" "fdiv"))
  "sh4_300_issue+sh4_300_fpu+sh4_300_fds,sh4_300_fds*15")
  "sh4_300_issue+sh4_300_fpu+sh4_300_fds,sh4_300_fds*15")
;; Double-precision floating-point FMUL
;; Double-precision floating-point FMUL
(define_insn_reservation "dfp_mul" 9
(define_insn_reservation "dfp_mul" 9
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "dfp_mul"))
       (eq_attr "type" "dfp_mul"))
  "sh4_300_issue+sh4_300_fpu,sh4_300_fpu*3")
  "sh4_300_issue+sh4_300_fpu,sh4_300_fpu*3")
;; Double precision FDIV/SQRT
;; Double precision FDIV/SQRT
(define_insn_reservation "dp_div" 35
(define_insn_reservation "dp_div" 35
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "dfdiv"))
       (eq_attr "type" "dfdiv"))
  "sh4_300_issue+sh4_300_fpu+sh4_300_fds,sh4_300_fds*31")
  "sh4_300_issue+sh4_300_fpu+sh4_300_fds,sh4_300_fds*31")
;; ??? We don't really want these for sh4-300.
;; ??? We don't really want these for sh4-300.
;; this pattern itself is likely to finish in 3 cycles, but also
;; this pattern itself is likely to finish in 3 cycles, but also
;; to disrupt branch prediction for taken branches for the following
;; to disrupt branch prediction for taken branches for the following
;; condbranch.
;; condbranch.
(define_insn_reservation "sh4_300_arith3" 5
(define_insn_reservation "sh4_300_arith3" 5
  (and (eq_attr "pipe_model" "sh4_300")
  (and (eq_attr "pipe_model" "sh4_300")
       (eq_attr "type" "arith3"))
       (eq_attr "type" "arith3"))
  "sh4_300_issue,all*4")
  "sh4_300_issue,all*4")
;; arith3b insns without brach redirection make use of the 0-offset 0-latency
;; arith3b insns without brach redirection make use of the 0-offset 0-latency
;; branch feature, and thus schedule the same no matter if the branch is taken
;; branch feature, and thus schedule the same no matter if the branch is taken
;; or not.  If the branch is redirected, the taken branch might take longer,
;; or not.  If the branch is redirected, the taken branch might take longer,
;; but then, we don't have to take the next branch.
;; but then, we don't have to take the next branch.
;; ??? should we suppress branch redirection for sh4-300 to improve branch
;; ??? should we suppress branch redirection for sh4-300 to improve branch
;; target hit rates?
;; target hit rates?
(define_insn_reservation "arith3b" 2
(define_insn_reservation "arith3b" 2
  (and (eq_attr "pipe_model" "sh4")
  (and (eq_attr "pipe_model" "sh4")
       (eq_attr "type" "arith3"))
       (eq_attr "type" "arith3"))
  "issue,all")
  "issue,all")
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.