aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorAaron Sawdey <acsawdey@linux.vnet.ibm.com>2017-01-18 20:56:16 +0000
committerAaron Sawdey <acsawdey@gcc.gnu.org>2017-01-18 14:56:16 -0600
commit0edd264dfc29db3c30641771d46634b4ef3ffe10 (patch)
tree7b74e876028ea84d7f5106ead28c3723393320c6 /gcc/ChangeLog
parent551914b748a9bafe51ed7192c3e7b3d4366211bb (diff)
downloadgcc-0edd264dfc29db3c30641771d46634b4ef3ffe10.zip
gcc-0edd264dfc29db3c30641771d46634b4ef3ffe10.tar.gz
gcc-0edd264dfc29db3c30641771d46634b4ef3ffe10.tar.bz2
rs6000-protos.h (expand_strn_compare): Add arg.
2017-01-18 Aaron Sawdey <acsawdey@linux.vnet.ibm.com> * config/rs6000/rs6000-protos.h (expand_strn_compare): Add arg. * config/rs6000/rs6000.c (expand_strn_compare): Add ability to expand strcmp. Fix bug where comparison didn't stop with zero byte. Fix case where N arg is SIZE_MAX. * config/rs6000/rs6000.md (cmpstrnsi): Args to expand_strn_compare. (cmpstrsi): Add pattern. 2017-01-18 Aaron Sawdey <acsawdey@linux.vnet.ibm.com> * gcc.dg/strcmp-1.c: New test. * gcc.dg/strncmp-1.c: Add test for a bug that escaped. From-SVN: r244598
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6e9bfb6..77732e9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2017-01-18 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
+ * config/rs6000/rs6000-protos.h (expand_strn_compare): Add arg.
+ * config/rs6000/rs6000.c (expand_strn_compare): Add ability to expand
+ strcmp. Fix bug where comparison didn't stop with zero byte. Fix
+ case where N arg is SIZE_MAX.
+ * config/rs6000/rs6000.md (cmpstrnsi): Args to expand_strn_compare.
+ (cmpstrsi): Add pattern.
+
2017-01-18 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add