This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Efficiency of memmove vs. generic typed copy


Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

> So, I'm wondering if GCC has machinery that 
> detects the alignment property of memcpy() arguments (in the source
> code) so that faster paths are used to move data.

Yes, it does.

Ian


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