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] Sign extension elimination, complete patch.


Overhead of about 0.75% in compile time on SPEC2000, 64-bit compiler.

Just out of curiosity, what was the overhead with the previous version? :-)


The only comment I can make right now, is that in Kenny's function you can zap the initial loop

+   rtx pat_end = pat;
+
+   while (NEXT_INSN (pat_end) != NULL_RTX)
+     pat_end = NEXT_INSN (pat_end);

because it is unused and it is probably complicating your code unnecessarily (I also have 4.2 code using Kenny's function, and I had to remove these lines).

I'll try to look at the patch before the end of this week.

Paolo


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