Re: [PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-29 Thread Segher Boessenkool
Hi! On Wed, Jul 29, 2020 at 05:02:04PM +0800, Jojo R wrote: > 在 2020年7月24日 +0800 PM9:19,Segher Boessenkool ,写道: > > On Fri, Jul 24, 2020 at 12:03:16PM +0200, Richard Biener via Gcc-patches > > wrote: > > > It will also produce different build results depending on the build host > > > which is

Re: [PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-29 Thread Jojo R
在 2020年7月24日 +0800 PM9:19,Segher Boessenkool ,写道: > On Fri, Jul 24, 2020 at 12:03:16PM +0200, Richard Biener via Gcc-patches > wrote: > > On Fri, Jul 24, 2020 at 10:13 AM Rainer Orth > > wrote: > > > Jojo R writes: > > > > +insn-generated-split-num = $(shell grep -c ^processor /proc/cpuinfo) >

Re: [PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-29 Thread Jojo R
在 2020年7月24日 +0800 PM9:57,Joseph Myers ,写道: > On Fri, 24 Jul 2020, Jojo R wrote: > > > + -csplit insn-$*.c /parallel\ compilation/ -k -s > > {$(insn-generated-split-num)} -f insn-$* -b "%d.c" > > + -( [ ! -s insn-$*0.c ] && for i in {1..$(insn-generated-split-num)}; do > > touch insn-$*$$i.c;

Re: [PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-29 Thread Jojo R
在 2020年7月24日 +0800 PM6:03,Richard Biener ,写道: > On Fri, Jul 24, 2020 at 10:13 AM Rainer Orth > wrote: > > > > Jojo R writes: > > > > > gcc/ChangeLog: > > > > > > * genemit.c (main): Print 'split line'. > > > * Makefile.in (insn-emit.c): Define split count and file > > [...] > > > diff --git

Re: [PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-29 Thread Martin Liška
On 7/29/20 10:01 AM, Jojo R wrote: Thank you and it’s fixed in the next version patch Hey. One small note: can you please link the next v4 email thread to this one? It's much easier to follow all the discussion related to your patch set. Thanks, Martin

Re: [PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-29 Thread Jojo R
在 2020年7月24日 +0800 PM4:12,Rainer Orth ,写道: > Jojo R writes: > > > gcc/ChangeLog: > > > > * genemit.c (main): Print 'split line'. > > * Makefile.in (insn-emit.c): Define split count and file > [...] > > diff --git a/gcc/Makefile.in b/gcc/Makefile.in > > index 2ba76656dbf..75841e49127 100644 > >

Re: [PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-24 Thread Joseph Myers
On Fri, 24 Jul 2020, Jojo R wrote: > + -csplit insn-$*.c /parallel\ compilation/ -k -s > {$(insn-generated-split-num)} -f insn-$* -b "%d.c" > + -( [ ! -s insn-$*0.c ] && for i in {1..$(insn-generated-split-num)}; do > touch insn-$*$$i.c; done && echo "" > insn-$*.c) Ignoring errors

Re: [PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-24 Thread Segher Boessenkool
On Fri, Jul 24, 2020 at 12:03:16PM +0200, Richard Biener via Gcc-patches wrote: > On Fri, Jul 24, 2020 at 10:13 AM Rainer Orth > wrote: > > Jojo R writes: > > > +insn-generated-split-num = $(shell grep -c ^processor /proc/cpuinfo) > > > > This is highly unportable, probably Linux-only. It

Re: [PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-24 Thread Richard Biener via Gcc-patches
On Fri, Jul 24, 2020 at 10:13 AM Rainer Orth wrote: > > Jojo R writes: > > > gcc/ChangeLog: > > > > * genemit.c (main): Print 'split line'. > > * Makefile.in (insn-emit.c): Define split count and file > [...] > > diff --git a/gcc/Makefile.in b/gcc/Makefile.in > > index

Re: [PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-24 Thread Rainer Orth
Jojo R writes: > gcc/ChangeLog: > > * genemit.c (main): Print 'split line'. > * Makefile.in (insn-emit.c): Define split count and file [...] > diff --git a/gcc/Makefile.in b/gcc/Makefile.in > index 2ba76656dbf..75841e49127 100644 > --- a/gcc/Makefile.in > +++ b/gcc/Makefile.in > @@

[PATCH v3] genemit.c (main): split insn-emit.c for compiling parallelly

2020-07-23 Thread Jojo R
gcc/ChangeLog: * genemit.c (main): Print 'split line'. * Makefile.in (insn-emit.c): Define split count and file --- gcc/Makefile.in | 10 ++ gcc/genemit.c | 87 - 2 files changed, 59 insertions(+), 38 deletions(-) diff --git