builtins.c (expand_builtin_memcmp): Do not use cmpstrnsi pattern.
authorNick Clifton <nickc@redhat.com>
Fri, 12 Aug 2011 16:26:11 +0000 (16:26 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 12 Aug 2011 16:26:11 +0000 (16:26 +0000)
commit9b0f6f5e511ca512e4faeabc81d2fd3abad9b02f
treea50ea2c82520d1f93b27686bceb3419f587bb2c8
parentc49b1a299e4be73819e3f12394eeb2681057e8fc
builtins.c (expand_builtin_memcmp): Do not use cmpstrnsi pattern.

* builtins.c (expand_builtin_memcmp): Do not use cmpstrnsi
pattern.
* doc/md.texi (cmpstrn): Note that the comparison stops if both
fetched bytes are zero.
(cmpstr): Likewise.
(cmpmem): Note that the comparison does not stop if both of the
fetched bytes are zero.

From-SVN: r177701
gcc/ChangeLog
gcc/builtins.c
gcc/doc/md.texi