Re: Use cmpmem optabs in builtins.c

2015-08-24 Thread Jeff Law
On 08/24/2015 05:18 AM, Richard Sandiford wrote: Similarly to the patch for cmpstr(n), this patch uses the optabs interface for cmpmem instead of using HAVE_cmpmmsi and CODE_FOR_cmpmemsi directly. Tested on x86_64-linux-gnu. OK to install? Thanks, Richard gcc/ * builtins.c (expand_cmp

Use cmpmem optabs in builtins.c

2015-08-24 Thread Richard Sandiford
Similarly to the patch for cmpstr(n), this patch uses the optabs interface for cmpmem instead of using HAVE_cmpmmsi and CODE_FOR_cmpmemsi directly. Tested on x86_64-linux-gnu. OK to install? Thanks, Richard gcc/ * builtins.c (expand_cmpstrn): Rename to... (expand_cmpstrn_or_cmpm