This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

haifa-sched.c


sir,
i am using gcc to study the scheduling of ultrasparc.

The file haifa-sched.c contains the global variable
"last_scheduled_insn".
It should be an array of ISSUE_RATE.

The function schedule_block() updates the "last_scheduled_insn"
whenever an insn is moved from the ready list to the fired list.

For super-scalars like ultrasparc, where the issue-rate is 4
the last_sheduled_insn should be an array of 4.

SHED_SORT->qsort->rank_for_schedule()
uses the last_scheduled_insn, for calculating tmp_class and
sorts the insns based on the value returned by the insn_cost().

If  last_scheduled_insn is made an array of the ISSUE_RATE
and tmp_class+= tmp_class, a more accurate value of the data_hazard
of the insn can be obtained in the rank_of_schedule().

sincierly,
phani.




begin:vcard 
n:M.V.S;Phani Narasimham
tel;work:5530053 ext 1053
x-mozilla-html:FALSE
org:Wipro Global R&D;NSBU
version:2.1
email;internet:phani.sesha@wipro.com
title:Sr. Software Engineer
adr;quoted-printable:;;Office Addr:=0D=0A1 st Block, 7 th Main Road,N0.8=0D=0AKoramangala, Banglore - 36=0D=0AHouse Addr=0D=0AH.No 78,34 th A cross,=0D=0A11 th main, Jayanagar 4th T block;Banglore;Karnataka;;INDIA
note;quoted-printable:The deepest hunger of a faithful heart is faithfulness =0D=0A                                                               -Geo.Eliot.
fn:M.V.S Phani Narasimham
end:vcard

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]