This is the mail archive of the gcc@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: Empty loop elimination in 4.0 ?


Luca Benini wrote:
Andrew Pinski wrote:

We can convert it if the sizeof(*f) is 1 or if f is a pattern
which can converted for use with memset.

How many code-line to optimize 128 (at most) cases over 2^32 cases (at least)?

Though, the common case of zeroing is caught by this optimization.


Paolo


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