On Tue, Jul 31, 2018 at 10:33:59AM -0500, Aaron Sawdey wrote: > Just teasing things apart a bit more in this function so I can add > vec/vsx code generation without making it enormous and > incomprehensible. > > Bootstrap/regtest passes on powerpc64le, ok for trunk?
Yes please. Thanks! Segher > 2018-07-31 Aaron Sawdey <acsaw...@linux.ibm.com> > > * config/rs6000/rs6000-string.c (select_block_compare_mode): Move test > for word_mode_ok here instead of passing as argument. > (expand_block_compare): Change select_block_compare_mode() call. > (expand_strncmp_gpr_sequence): New function. > (expand_strn_compare): Make use of expand_strncmp_gpr_sequence.