This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: PA problem
- To: Richard dot Earnshaw at arm dot com
- Subject: Re: PA problem
- From: Jeffrey A Law <law at redhat dot com>
- Date: Wed, 28 Feb 2001 11:41:01 -0700
- cc: Alexandre Oliva <aoliva at redhat dot com>, gcc-bugs at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <200102281706.RAA05092@cam-mail2.cambridge.arm.com>you write:
> Of course, the other alternative is to disable the splitter until after
> reload has completed. I'm not sure which will lead to the best code.
But we want to schedule those instructions independently.
Basically what we've done is take something like this
t1 = a * b;
t2 = t1 + c
And turns it into
t1 = a * b;
t2 = a * b + c
Note how t2 is no longer dependent on t1. That allows the instructions to
execute and retire independently of each other which gives the scheduler
more freedom in their placement in the insn stream.
jeff