new cpu's for rs6000 target
Richard Henderson
rth@redhat.com
Fri Sep 21 15:40:00 GMT 2001
On Fri, Sep 21, 2001 at 12:35:09PM -0700, Dale Johannesen wrote:
> >> (define_function_unit "iu" 1 0
> >> (and (eq_attr "type" "compare,delayed_compare")
> >> (eq_attr "cpu" "ppc750,ppc7400"))
> >> 1 1 [(eq_attr "type" "!branch")])
> >>
> >> (define_function_unit "iu" 1 0
> >> (and (eq_attr "type" "compare,delayed_compare")
> >> (eq_attr "cpu" "ppc750,ppc7400"))
> >> 3 1 [(eq_attr "type" "branch")])
> >
> This means: if the compare/delayed_compare is followed by a dependent
> branch, assume a 3-cycle issue delay; if followed by anything else, assume
> a 1-cycle issue delay.
Not really. This doesn't model a producer/consumer relationship,
only a before/after issue relationship. What you want is to
manipulate ADJUST_COST.
r~
More information about the Gcc-patches
mailing list