This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: schedule_block



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]