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

2020-08-27 Thread Jojo R
Jojo 在 2020年8月2日 +0800 AM8:09,Segher Boessenkool ,写道: > On Sat, Aug 01, 2020 at 07:02:07PM +0800, Jojo R wrote: > > +insn-generated-split-num = $(shell nproc) > > nproc isn't portable, is not the same on every system, and can lead to > a number of processes quadratic in the number of processors b

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

2020-08-25 Thread Jeff Law via Gcc-patches
On Sat, 2020-08-01 at 13:38 +0200, Václav Haisman via Gcc-patches wrote: > On 01. 08. 20 13:02, Jojo R wrote: > > gcc/ChangeLog: > > > > * genemit.c (main): Print 'split line'. > > * Makefile.in (insn-emit.c): Define split count and file > > > > --- > > gcc/Makefile.in | 11 +++ > >

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

2020-08-01 Thread Segher Boessenkool
On Sat, Aug 01, 2020 at 07:02:07PM +0800, Jojo R wrote: > +insn-generated-split-num = $(shell nproc) nproc isn't portable, is not the same on every system, and can lead to a number of processes quadratic in the number of processors being launched (say, if someone does make -jK with K some fracti

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

2020-08-01 Thread Václav Haisman via Gcc-patches
On 01. 08. 20 13:02, Jojo R wrote: > gcc/ChangeLog: > > * genemit.c (main): Print 'split line'. > * Makefile.in (insn-emit.c): Define split count and file > > --- > gcc/Makefile.in | 11 +++ > gcc/genemit.c | 87 - > 2 files chang

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

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