This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Store scheduling with DFA scheduler
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Jon Beniston <jon at beniston dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 26 Apr 2005 11:57:17 +0100
- Subject: Re: Store scheduling with DFA scheduler
- Organization: CodeSourcery LLC
- References: <200504251936.j3PJaBke003918@mx1.messagewash.net>
Jon,
(define_insn_reservation "arith" 1 (eq_attr "type" "arith") "x")
(define_insn_reservation "loads" 2 (eq_attr "type" "load") "x,m")
(define_insn_reservation "stores" 3 (eq_attr "type" "store") "x,m*2")
Stores don't really have a 'result', why have you set the cycle
count to 3? Shouldn't it be '1'? (then you won't need store bypasses
for autoincrements)
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk