[PATCH][1/3] Target independent changes to support ColdFire scheduling

Maxim Kuvyrkov maxim@codesourcery.com
Mon Aug 20 14:09:00 GMT 2007


Hello Vladimir,

This is the first patch to add support for ColdFire scheduling.

Prologue: All ColdFire cores have two pipelines decoupled by instruction
buffer: first pipeline prefetches instruction words any cycle when
memory bus is available and puts them into buffer.  Second pipeline
takes instruction words from the buffer, decodes and executes them.

This patch adds two new hooks that help accurately model this behavior. 
  Every cycle we check if memory unit is busy and, if not, increase the
number of prefetched instruction words.  Thus we don't issue an
instruction which doesn't have all its words ready.

Second thing in this patch is a new DFA interface function that helps in
development and debugging of DFA description: it provides information on
the insns, that don't have DFA reservations assigned.

The patch was bootstrapped and regtested on x86_64-linux-gnu.

OK for trunk?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cf-sched-5.clg
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070820/581cb4e9/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cf-sched-5.patch
Type: text/x-patch
Size: 7026 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070820/581cb4e9/attachment.bin>


More information about the Gcc-patches mailing list