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]
Other format: [Raw text]

Re: Speedup CSE by 5%


On Tue, 2005-01-25 at 20:01 +0100, Arend Bayer wrote:
> 
> On Mon, 17 Jan 2005, Jeffrey A Law wrote:
> 
> > Our of curiosity, do your profiles indicate if there's any call
> > sites for approx_reg_cost which are particularly abusive? 
> 
> I didn't see anything abusive. However, the patch below saves 10%
> completely unnecessary calls for lpgparse.i: There is no need to copy_rtx
> before calling fold_rtx, as fold_rtx always makes a copy if it changes
> anything.
Err, I don't think that patch is safe.  See the various calls to
validate_change from within fold_rtx.


Jeff


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