This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: schedule_block
- To: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>
- Subject: Re: schedule_block
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Tue, 15 Dec 1998 02:20:27 -0700
- cc: meissner at cygnus dot com, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <13942.9379.994325.687846@ongaonga.elec.canterbury.ac.nz>you write
:
>
> [I posted this a week ago but it never appeared on the egcs mailing
> list, so I'm trying again in case there were mailer gremlins..]
>
> The following patch to the scheduler results in poor global
> register allocation for the C4x. What was the philosophy behind
> the patch and could it be more selective?
>
> Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
>
> * sched.c (schedule_block): Remove code to get arguments from hard
> regs into pseudos early. Same as Aug 25, 1997 change to
> haifa-sched.c.
I've already said, getting args out of regs early in that manner is broken,
simply broken. It will cause compiler aborts and incorrect code.
It would take a while to dig up the testcases, but after making 3 attempts to
fix all the problems this stupidity introduced I deemed it not worth the
effort in general.
jeff