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 target/43052] Inline memcmp is *much* slower than glibc's


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

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-11 10:39:35 UTC ---
(In reply to comment #4)
> Hmm, I should read testcases curefully. It is memcmp. GCC is not really smart
> on inlining this; I guess we should just disable the inline unless we optimize
> for size since we don't really have enough info to inline it well by default.

We can still inline for very small known sizes where the call overhead
would outweight any optimization in glibc.


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