]> git.ipfire.org Git - thirdparty/gcc.git/commit
builtins.c (expand_builtin_memcmp): Do not use cmpstrnsi pattern.
authorNick Clifton <nickc@redhat.com>
Fri, 12 Aug 2011 16:27:23 +0000 (16:27 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 12 Aug 2011 16:27:23 +0000 (16:27 +0000)
commit19e6bb92171dca0d8fe6c039f1bfdf8892d24a02
treea3b2e9908f1146c156021e23eaa3a635651a62bf
parent7f718a0a794c6f7117c11daea6a1b7dcb5ab5000
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: r177702
gcc/ChangeLog
gcc/builtins.c
gcc/doc/md.texi