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] Generate switch statements in genpreds.c


Roger Sayle wrote:
> The patch below addresses some of the performance loss (on all
> platforms) by enhancing genpreds.c to write switch statements
> when testing the not-uncommon case of checking against a list of
> RTX codes.

> Ok for mainline?

Not sure if it's really stage3 material.

It might be more profitable to teach the compiler to do transformations
like this by itself.


Bernd


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