This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000] refactor/cleanup in rs6000-string.c


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  <acsawdey@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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]