Re: RFA: Do not use cmpstrnsi to implement builtin memcmp

2011-08-12 Thread Nick Clifton
Hi Jeff, The point of the patch is that the cmpstrnsi machine pattern should not be used to implement the memcmp builtin function. This is because a string comparison will terminate if two zero bytes are read whereas a memory comparison should continue. OK. Kindof surprised this wasn't deal

Re: RFA: Do not use cmpstrnsi to implement builtin memcmp

2011-08-10 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/10/11 09:49, Nick Clifton wrote: > Hi Guys, > > This is a resend of a previously submitted patch: > > http://gcc.gnu.org/ml/gcc-patches/2009-03/msg00363.html > > This version of the patch has been adjusted to apply to today's > sources, but ot