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] |
\he's not actually citing the e-mail with the timings, so does he really mean
that this is OK? It appears to me that expensive_optimizations is turned on
at -O2, so will this make the -O2 compiles 1% slower looking for bswap
opportunities? (Again, a real question, I don't understand the organization
of the passes.c file.)
Yes, I meant that 1% is a reasonable slowdown for -O2. We can probably
try to reduce this by not starting the pattern matching from each stmt.
Timings are ok for expensive_optimizations I guess. Some more comments inline...
In response to a request from Paolo Bonzini I updated data for PR26854, and
on that benchmark cc1 is nearly 36% slower than last September 26, a bit
over 4 months ago. I don't know what happened over those 4 months, but
adding 1% passes for a very specific optimization seems like a strange
trade-off.
Sure, you may think so.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |