This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Remove small copy optimization from xsputn


On 03/29/2012 12:52 AM, David Miller wrote:
> Any objections?
> 
> 2012-03-28  David S. Miller  <davem@davemloft.net>
> 
> 	* libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
> 	small copies by hand.

None from me.

Amusingly, I can imagine gcc's vector pattern recognizer turning
the byte-at-time loop back into a memmove.  ;-)


r~


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