This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with Delayed Branch Scheduling
- From: Steven Bosscher <stevenb at suse dot de>
- To: gcc at gcc dot gnu dot org
- Cc: Balaji S <sivanbalaji at acmet dot com>
- Date: Mon, 4 Jul 2005 12:01:41 +0200
- Subject: Re: Problem with Delayed Branch Scheduling
- References: <42C8D032.8070902@acmet.com>
On Monday 04 July 2005 07:59, Balaji S wrote:
> Hi everybody,
>
> I have a problem with delayed branch scheduling. Problem in a DSP porting
> which has VLIW instructions and delayed branches. While scheduling delayed
> branches, GCC (3.4.3) schedules an instruction which is a part of a VLIW
> instruction. Is this the problem of the following define_delay description?
>
> (define_delay (eq_attr "type" "jump")
> [(eq_attr "type" "!jump") (nil) (nil)
> (eq_attr "type" "!jump") (nil) (nil)])
Add an attribute to those instructions that cannot be in delay slots,
and change this define_delay to disallow instructions with that attr?
Gr.
Steven