This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386 performance problem due to regmove.c change
- To: john at feith dot com (John Wehle)
- Subject: Re: i386 performance problem due to regmove.c change
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 28 Jun 1998 01:47:48 -0600
- cc: meissner at cygnus dot com, egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199806241723.NAA13994@jwlab.FEITH.COM>you write:
> I seem to be seeing around a 3 percent performance hit when
> running the crafty chess benchmark and the Brl-Cad raytracing
> benchmarks on an Intel Pentium II with:
>
> Thu Jun 11 14:50:02 1998 Michael Meissner <meissner@cygnus.com>
>
> * regmove.c (regmove_optimize): If we can't replace the
> destination in an insn that sets the source, generate an explicit
> move of the source to the destination.
> (copy_src_to_dest): New function.
>
> installed. If I remove this patch then life gets better (not to
> mention faster :-).
I would be very curious to know if this performance regression went
away after my changes to recompute register set/reference counts.
jeff