Problem with Delayed Branch Scheduling
Richard Sandiford
richard@codesourcery.com
Tue Jul 5 05:45:00 GMT 2005
Ian Lance Taylor <ian@airs.com> writes:
> Steven Bosscher <stevenb@suse.de> writes:
>> So you have a few instructions bundled into a VLIW instruction, and
>> one of the instructions in the bundle is moved into the delay slot,
>> thus breaking your VLIW bundle. Right?
>
> I think there are two natural approaches.
>
> 1) Do the VLIW bundling after delayed branch scheduling. The way to
> do that is to the bundling in TARGET_ASM_FUNCTION_PROLOGUE. The
> FRV backend does this. I've done this successfully in the past.
To avoid any confusion: FR-V does indeed do the bundling here,
but FR-V doesn't have delay slots, and so it isn't affected the
OP's problem. (I realise you weren't claiming otherwise. I just
thought I'd better mention it explicitly.)
Richard
More information about the Gcc
mailing list