This is the mail archive of the gcc-patches@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: The recent regclass.c change



  In message <Pine.SOL.3.90.981007151903.14501N-100000@matula.informatik.rwth-a
  > I tried with the kernel, and the REG_WAS_0 optimization does trigger still.
  > It appears that the move2add optimization requires RTX_COSTS to be tweaked.
  > This ought to be investigated, but for now I'm afraid I might break the
  > other cost calculations if I go mucking about with that macro, so this fix
  > here seems like a safer solution for now.
Hmm.  OK.  Good info to have.  Let's revisit this sometime in the future.

  > Note: the patch is untested.
  > 
  > Bernd
  > 
  > 	* jump.c (duplicate_loop_exit_test): Strip REG_WAS_0 notes off all
  > 	insns we're going to copy.
  > 	* regclass.c (reg_scan_mark_refs): Don't test X for NULL_RTX.
Installed.  It looks like the right approach.  We'll deal with any problems :-)

Thanks!
jeff


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