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] |
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_cmpstrn): Rename to... (expand_cmpstrn_or_cmpmem): ...this. (expand_builtin_strcmp, expand_builtin_strncmp): Update accordingly. (expand_builtin_memcmp): Use optabs instead of HAVE_cmpmem/gen_cmpmem. Remove mode argument. (expand_builtin): Update accordingly.
OK. jeff
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |