Jon Beniston wrote:
Hi Vlad,
There is not enough information to say what is wrong. It
would be better if you send gcc output when
-fsched-verbose=10 is used.
Cheers,
Jon
;; Ready list (t = 10):32 28 24
;; 10--> 24 [`y']=r43 :x,m*2
;; Ready
Hi Vlad,
> There is not enough information to say what is wrong. It
> would be better if you send gcc output when
> -fsched-verbose=10 is used.
Cheers,
Jon
;; ==
;; -- basic block 0 from 18 to 32 -- before reload
;; ==
David Edelsohn wrote:
Nathan Sidwell writes:
(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")
Nathan> Stores don't really have a 'result', why ha
> Nathan Sidwell writes:
>> (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")
Nathan> Stores don't really have a 'result', why have you
Jon Beniston wrote:
Hi,
I'm trying to get the DFA scheduler in GCC 4.0.0 to schedule loads and
stores, but I can only get it to work for loads. I have an automaton defined
as follows:
(define_automaton "cpu")
(define_cpu_unit "x" "cpu")
(define_cpu_unit "m" "cpu")
(define_insn_reservation "arith" 1
On Tue, 2005-04-26 at 12:52, Jon Beniston wrote:
> > 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
Jon Beniston wrote:
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
> 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 c
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