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: [patch] Tweak for constrain_operands


Steven Bosscher wrote:
There is no need to look for earlyclobber classes if we did
not see an '&' constraint.  We also do not have to look at
all operands from 0 to n_operands - just remember where we
saw the '&'.  This gives me about half a percent on all the
components of cc1.  Not surprising because for the i386 and
rs6000 ports only ~10% of all insns have an earlyclobber
constraint.

Bootstrapped and tested on x86_64-suse-linux-gnu. OK?

Looks reasonable enough, although I'm surprised it makes such a difference (and I can reproduce only about a .2% speedup on i686-linux).


Ok, but please post a ChangeLog entry next time.


Bernd



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