This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Speedup by 3.5% by overhauling rtx classes
> It would also be nice if he verified that it doesn't produce assembly
> code differences in some random large piecse of code (IE just compiling
> some large preprocessed files and comparing the assembly files) to make
> sure nothing got screwed up.
Yep. I will do so on GNU Smalltalk on Monday.
> Because, if i understand the patch right, it shouldn't actually affect
> the code generated, just make gcc faster.
Yes, that's right. There should be no change at all, or close to that.
> Then again, I could imagine a few cases where we weren't testing for
> the right codes, and we now are. Though this should just improve code,
> not make it worse.
The only change should be that where we were testing against EQ/NE, now we are
also testing against ORDERED/UNORDERED/UNEQ/LTGT because they are in the same
rtx code class. But it should not be harmful, since it is mostly about
putting constants second in the expressions.
Paolo
ps: nice that this thing is listed as a beginner project. :-)