r243813 - in /trunk/gcc: ChangeLog config/rs600...
acsawdey@gcc.gnu.org
acsawdey@gcc.gnu.org
Mon Dec 19 21:32:00 GMT 2016
Author: acsawdey
Date: Mon Dec 19 21:32:16 2016
New Revision: 243813
URL: https://gcc.gnu.org/viewcvs?rev=243813&root=gcc&view=rev
Log:
* config/rs6000/rs6000-protos.h (expand_strn_compare): Declare.
* config/rs6000/rs6000.md (UNSPEC_CMPB): New unspec.
(cmpb<mode>3): pattern for generating cmpb.
(cmpstrnsi): pattern to expand strncmp ().
* config/rs6000/rs6000.opt (mstring-compare-inline-limit): Add a new
target option for controlling how much code inline expansion of
strncmp() will be allowed to generate.
* config/rs6000/rs6000.c (expand_strncmp_align_check): generate code
for runtime page crossing check of strncmp () args.
(expand_strn_compare): Function to do builtin expansion of strncmp ().
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000-protos.h
trunk/gcc/config/rs6000/rs6000.c
trunk/gcc/config/rs6000/rs6000.md
trunk/gcc/config/rs6000/rs6000.opt
More information about the Gcc-cvs
mailing list