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] |
since we are again in stage 1, I am re-submitting an improved the pass
converting constant assignments in switch statements into assignments
from a static array.
I know that some people were not convinced about the usefulness of this pass. I would therefore like to stress again that the overhead is very low as it only examines the last statements of every BB and I believe Honza thinks that the improvements for inlining of large switch initializations are substantial. I have measured the number of conversions when bootstrapping gcc some time ago but I somehow lost the results but I remember they were slightly better than before. I will try to do that again soon.
-- Mark Mitchell CodeSourcery mark@codesourcery.com (650) 331-3385 x713
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |