This is the mail archive of the gcc-bugs@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]

[Bug middle-end/30442] Expanded array initialization can use memset builtin function



------- Comment #4 from ubizjak at gmail dot com  2008-03-12 11:05 -------
This still happens on mainline.

I wonder if vectorizer infrastructure can be re-used here to detect unrolled
and looped version of memset. In addition to loop that can be "vectorized", we
have something resembling "vectorization" of straight code.

And looking at comment #3, the rewards from real-world code look really
promising.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30442


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