Re: [PATCH, SH] Add support for inlined builtin-strcmp (1/2)

2013-10-19 Thread Oleg Endo
On Fri, 2013-10-18 at 09:38 +0200, Christian Bruel wrote: > On 10/18/2013 12:53 AM, Oleg Endo wrote: > > Hi, > > > > On Thu, 2013-10-17 at 16:13 +0200, Christian Bruel wrote: > >> Hello, > >> > >> This patch just reorganizes the SH code used for memory builtins into > >> its own file, in preparatio

Re: [PATCH, SH] Add support for inlined builtin-strcmp (1/2)

2013-10-18 Thread Kaz Kojima
Christian Bruel wrote: > This patch just reorganizes the SH code used for memory builtins into > its own file, in preparation of the RTL strcmp hoisting in the next part. > > OK for trunk ? A minor nit: > * gcc/config/sh/sh-mem (expand_block_move): Moved here. lost .c? Ok with that chan

Re: [PATCH, SH] Add support for inlined builtin-strcmp (1/2)

2013-10-18 Thread Christian Bruel
On 10/18/2013 12:53 AM, Oleg Endo wrote: > Hi, > > On Thu, 2013-10-17 at 16:13 +0200, Christian Bruel wrote: >> Hello, >> >> This patch just reorganizes the SH code used for memory builtins into >> its own file, in preparation of the RTL strcmp hoisting in the next part. >> > Since GCC is now bein

Re: [PATCH, SH] Add support for inlined builtin-strcmp (1/2)

2013-10-17 Thread Oleg Endo
Hi, On Thu, 2013-10-17 at 16:13 +0200, Christian Bruel wrote: > Hello, > > This patch just reorganizes the SH code used for memory builtins into > its own file, in preparation of the RTL strcmp hoisting in the next part. > Since GCC is now being compiled as C++, it's probably better to name new

[PATCH, SH] Add support for inlined builtin-strcmp (1/2)

2013-10-17 Thread Christian Bruel
Hello, This patch just reorganizes the SH code used for memory builtins into its own file, in preparation of the RTL strcmp hoisting in the next part. OK for trunk ? Thanks Christian 2013-10-17 Christian Bruel * config.gcc (sh-*): Add sh-mem.o to extra_obj. * gcc/config/sh/t-sh (sh-m