Re: Parallelize the compilation using Threads

2019-02-15 Thread Oleg Endo
On Tue, 2019-02-12 at 15:12 +0100, Richard Biener wrote: > On Mon, Feb 11, 2019 at 10:46 PM Giuliano Belinassi > wrote: > > > > Hi, > > > > I was just wondering what API should I use to spawn threads and > > control > > its flow. Should I use OpenMP, pthreads, or something else? > > > > My poin

Re: Parallelize the compilation using Threads

2019-02-12 Thread Richard Biener
On Mon, Feb 11, 2019 at 10:46 PM Giuliano Belinassi wrote: > > Hi, > > I was just wondering what API should I use to spawn threads and control > its flow. Should I use OpenMP, pthreads, or something else? > > My point what if we break compatibility with something. If we use > OpenMP, I'm afraid th

Re: Parallelize the compilation using Threads

2019-02-11 Thread Giuliano Belinassi
Hi, I was just wondering what API should I use to spawn threads and control its flow. Should I use OpenMP, pthreads, or something else? My point what if we break compatibility with something. If we use OpenMP, I'm afraid that we will break compatibility with compilers not supporting it. On the ot

Re: Parallelize the compilation using Threads

2019-02-07 Thread Giuliano Belinassi
gt; wrote: > > > > > > > > As a brief introduction, I am a graduate student that got interested > > > > > > > > in the "Parallelize the compilation using threads"(GSoC 2018 [1]). I > > > > am a newcommer in GCC, but already have sen

Re: Parallelize the compilation using Threads

2019-01-16 Thread Richard Biener
improve it. > > > > > 2- Find and document the global states (Try to reduce the gcc's > > > > > global states as well). > > > > > 3- Define the parallelization strategy. > > > > > 4- First parallelization attempt. > > &

Re: Parallelize the compilation using Threads

2019-01-15 Thread Giuliano Belinassi
periment.svg > > > > On Mon, Nov 19, 2018 at 8:53 AM Richard Biener > > > > wrote: > > > > > > > > > > On Fri, Nov 16, 2018 at 8:00 PM Giuliano Augusto Faulin Belinassi > > > > > wrote: > > > > > > > > >

Re: Parallelize the compilation using Threads

2019-01-14 Thread Richard Biener
64cores-kernel-experiment.svg > > > On Mon, Nov 19, 2018 at 8:53 AM Richard Biener > > > wrote: > > > > > > > > On Fri, Nov 16, 2018 at 8:00 PM Giuliano Augusto Faulin Belinassi > > > > wrote: > > > > > > > > > > Hi! Sorry fo

Re: Parallelize the compilation using Threads

2019-01-14 Thread Giuliano Belinassi
gt; > wrote: > > > > > > > > Hi! Sorry for the late reply again :P > > > > > > > > On Thu, Nov 15, 2018 at 8:29 AM Richard Biener > > > > wrote: > > > > > > > > > > On Wed, Nov 14, 2018 at 10:47 PM Giulia

Re: Parallelize the compilation using Threads

2018-12-17 Thread Richard Biener
: > > > > > > Hi! Sorry for the late reply again :P > > > > > > On Thu, Nov 15, 2018 at 8:29 AM Richard Biener > > > wrote: > > > > > > > > On Wed, Nov 14, 2018 at 10:47 PM Giuliano Augusto Faulin Belinassi > > > >

Re: Parallelize the compilation using Threads

2018-12-14 Thread Giuliano Belinassi
gt; wrote: > > > > > > > > Hi! Sorry for the late reply again :P > > > > > > > > On Thu, Nov 15, 2018 at 8:29 AM Richard Biener > > > > wrote: > > > > > > > > > > On Wed, Nov 14, 2018 at 10:47 PM Giuli

Re: Parallelize the compilation using Threads

2018-12-13 Thread Bin.Cheng
at 8:29 AM Richard Biener > > > wrote: > > > > > > > > On Wed, Nov 14, 2018 at 10:47 PM Giuliano Augusto Faulin Belinassi > > > > wrote: > > > > > > > > > > As a brief introduction, I am a graduate student that got intereste

Re: Parallelize the compilation using Threads

2018-12-12 Thread Giuliano Augusto Faulin Belinassi
troduction, I am a graduate student that got interested > > > > > > > > in the "Parallelize the compilation using threads"(GSoC 2018 [1]). I > > > > am a newcommer in GCC, but already have sent some patches, some of > > > > them have already

Re: Parallelize the compilation using Threads

2018-11-19 Thread Richard Biener
t; wrote: > > > > > > As a brief introduction, I am a graduate student that got interested > > > > > > in the "Parallelize the compilation using threads"(GSoC 2018 [1]). I > > > am a newcommer in GCC, but already have sent some patches, some of > >

Re: Parallelize the compilation using Threads

2018-11-16 Thread Giuliano Augusto Faulin Belinassi
Hi! Sorry for the late reply again :P On Thu, Nov 15, 2018 at 8:29 AM Richard Biener wrote: > > On Wed, Nov 14, 2018 at 10:47 PM Giuliano Augusto Faulin Belinassi > wrote: > > > > As a brief introduction, I am a graduate student that got interested > > > > in

Re: Parallelize the compilation using Threads

2018-11-16 Thread Martin Jambor
Hi Giuliano, On Thu, Nov 15 2018, Richard Biener wrote: > You may want to search the mailing list archives since we had a > student application (later revoked) for the task with some discussion. Specifically, the whole thread beginning with https://gcc.gnu.org/ml/gcc/2018-03/msg00179.html Martin

Re: Parallelize the compilation using Threads

2018-11-15 Thread Szabolcs Nagy
On 15/11/18 10:29, Richard Biener wrote: > In my view (I proposed the thing) the most interesting parts are > getting GCCs global state documented and reduced. The parallelization > itself is an interesting experiment but whether there will be any > substantial improvement for builds that can alre

Re: Parallelize the compilation using Threads

2018-11-15 Thread Jeff Law
On 11/15/18 3:29 AM, Richard Biener wrote: > >> 2. Did I correctly understand the goal of the parallelization? Can >> anyone provide extra details to me? > > You may want to search the mailing list archives since we had a > student application (later revoked) for the task with some discussion. >

Re: Parallelize the compilation using Threads

2018-11-15 Thread Jonathan Wakely
On Thu, 15 Nov 2018 at 10:29, Richard Biener wrote: > > On Wed, Nov 14, 2018 at 10:47 PM Giuliano Augusto Faulin Belinassi > wrote: > > Additionally, I know that GCC must not > > change the project layout, but from the software engineering perspective, > > this may be a bad smell that indicates t

Re: Parallelize the compilation using Threads

2018-11-15 Thread Richard Biener
On Wed, Nov 14, 2018 at 10:47 PM Giuliano Augusto Faulin Belinassi wrote: > > As a brief introduction, I am a graduate student that got interested > > in the "Parallelize the compilation using threads"(GSoC 2018 [1]). I > am a newcommer in GCC, but already have sent som

Parallelize the compilation using Threads

2018-11-14 Thread Giuliano Augusto Faulin Belinassi
As a brief introduction, I am a graduate student that got interested in the "Parallelize the compilation using threads"(GSoC 2018 [1]). I am a newcommer in GCC, but already have sent some patches, some of them have already been accepted [2]. I brought this subject up in IRC, but maybe