inerting nop's using the DFA scheduler
Danish Samad
danishsamad@yahoo.com
Wed Jul 17 07:45:00 GMT 2002
hello,
The current gcc scheduler does not insert nops when
there is a stall in the pipeline.
Since our processor does not automatically stall when
a hazard is detected we modified the function
queue_to_ready()present in haifa-sched.c, as suggested
Naveen sharma.
Now whenever a stall is detected explicit nops are
emiited. The problem is that this technique works only
with the old scheduler and not with the DFA scheduler.
Especially when data dependency between two
instructions is represented through define_bypass
there are no stalls and hence nop's cannot be emitted.
Doesnt queue_to_ready() handle data hazards,
described through define_bypass or is there some other
way the scheduler handles data hazards?
regards,
danish
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
More information about the Gcc
mailing list