Re: [PATCH] Try LTO partial linking. (Was: Speed of compiling gimple-match.c)

2021-06-12 Thread Giuliano Belinassi via Gcc
Hi, all. Please CC me when I am mentioned into a mail. On Thu, 2021-05-20 at 15:16 +0200, Richard Biener via Gcc wrote: > On Thu, May 20, 2021 at 3:06 PM Martin Liška wrote: > > > > On 5/20/21 2:54 PM, Richard Biener wrote: > > > So why did you go from applying this per-file to multiple files?

Re: [GSoC] Automatic Parallel Compilation Viability -- Final Report

2020-08-31 Thread Giuliano Belinassi via Gcc
Hi, Richi. On 08/31, Richard Biener wrote: > On Mon, Aug 31, 2020 at 1:15 PM Jan Hubicka wrote: > > > > > On Fri, Aug 28, 2020 at 10:32 PM Giuliano Belinassi > > > wrote: > > > > > > > > Hi, > > > > > > > > This i

Re: [GSoC] Automatic Parallel Compilation Viability -- Final Report

2020-08-31 Thread Giuliano Belinassi via Gcc
Hi, Richi. On 08/31, Richard Biener wrote: > On Fri, Aug 28, 2020 at 10:32 PM Giuliano Belinassi > wrote: > > > > Hi, > > > > This is the final report of the "Automatic Parallel Compilation > > Viability" project. Please notice that this report i

[GSoC] Automatic Parallel Compilation Viability -- Final Report

2020-08-28 Thread Giuliano Belinassi via Gcc
Hi, This is the final report of the "Automatic Parallel Compilation Viability" project. Please notice that this report is pretty similar to the delivered from the 2nd evaluation, as this phase consisted of mostly rebasing and bug fixing. Please, reply this message for any question or suggestion.

[GSoC] Automatic Detection of Parallel Compilation Viability, Report 2

2020-07-29 Thread Giuliano Belinassi via Gcc
Hi. Here I present the second report of the "Automatic Detection of Parallel Compilation Viability" in Markdown format. --- # Automatic Parallel Compilation Viability: Second Report ## Complete Tasks For the second evaluation,

[GSOC] Automatic Parallel Compilation Viability, Report 1

2020-07-02 Thread Giuliano Belinassi via Gcc
Hi, I am attaching here the first report of the "Automatic Parallel Viability" project. Please feel free to suggest improvements to the project. The content below is presented in markdown format, and you can easily convert it to PDF with pandoc if you feel it uncomfortable to read in current form

Re: Writing automated tests for the GCC driver

2020-05-25 Thread Giuliano Belinassi via Gcc
Hi, On 05/22, Richard Biener wrote: > On Thu, May 21, 2020 at 11:00 PM Giuliano Belinassi via Gcc > wrote: > > > > Hi, all. > > > > GCC have a extensive testsuite, that is no news at all. However they are > > focused on the compiler (cc1*) or in libraries, a

Writing automated tests for the GCC driver

2020-05-21 Thread Giuliano Belinassi via Gcc
Hi, all. GCC have a extensive testsuite, that is no news at all. However they are focused on the compiler (cc1*) or in libraries, and I can't find tests related to the GCC driver. Are there tests to the GCC driver? If yes, is there any docs about how to write them? Thank you, Giuliano.

Re: Help implementing support for vec in gengtype

2020-04-21 Thread Giuliano Belinassi via Gcc
Hi, Richi On 04/21, Richard Biener wrote: > On Mon, Apr 20, 2020 at 11:45 PM Giuliano Belinassi > wrote: > > > > Hi. Sorry for the late reply. > > > > On 03/02, Richard Biener wrote: > > > On Thu, Feb 27, 2020 at 6:56 PM Giuliano Belinassi > > > w

Re: Help implementing support for vec in gengtype

2020-04-20 Thread Giuliano Belinassi via Gcc
Hi. Sorry for the late reply. On 03/02, Richard Biener wrote: > On Thu, Feb 27, 2020 at 6:56 PM Giuliano Belinassi > wrote: > > > > Hi, all. > > > > I am tying to fix an issue with a global variable in the parallel gcc > > project. For this, I am tryin

Re: [GSoC 2020] Automatic Detection of Parallel Compilation Viability

2020-03-24 Thread Giuliano Belinassi via Gcc
for trunk. Thank you, Giuliano. On 03/24, Richard Biener wrote: > On Mon, 23 Mar 2020, Giuliano Belinassi wrote: > > > Hi, Richi > > > > On 03/18, Richard Biener wrote: > > > On Tue, 17 Mar 2020, Giuliano Belinassi wrote: > > > > > > > Hi,

Re: [GSoC 2020] Automatic Detection of Parallel Compilation Viability

2020-03-23 Thread Giuliano Belinassi via Gcc
Hi, Richi On 03/18, Richard Biener wrote: > On Tue, 17 Mar 2020, Giuliano Belinassi wrote: > > > Hi, all > > > > I have applied some revews to the project. Please see the new proposal > > here: > > Looks good, some editorial changes below >

Re: [GSoC 2020] Automatic Detection of Parallel Compilation Viability

2020-03-17 Thread Giuliano Belinassi via Gcc
Hi, all I have applied some revews to the project. Please see the new proposal here: https://www.ime.usp.br/~belinass/Automatic_Detection_of_Parallel_Compilation_Viability.pdf **Automatic Detection of Parallel Compilation Viability** [Giuliano Belinassi]{style="color: darkgreen"}

Re: [GSoC 2020] Automatic Detection of Parallel Compilation Viability

2020-03-17 Thread Giuliano Belinassi via Gcc
Hi, Richi Thank you for your review! On 03/16, Richard Biener wrote: > On Fri, 13 Mar 2020, Giuliano Belinassi wrote: > > > Hi, all > > > > I want to propose and apply for the following GSoC project: Automatic > > Detection of Parallel Compilation Viability. >

Re: GSOC

2020-03-16 Thread Giuliano Belinassi via Gcc
Hi, Shivan. On 03/15, shivam tiwari via Gcc wrote: > In Which Format I have to Send Gsoc Proposal On this Mail PDF or DOC Format Perhaps the best way to write your proposal is to write LaTeX, and then convert it to Markdown using pandoc, and attach it to the mailing list. One example of this appr

[GSoC 2020] Automatic Detection of Parallel Compilation Viability

2020-03-13 Thread Giuliano Belinassi via Gcc
of Parallel Compilation Viability** [Giuliano Belinassi]{style="color: darkgreen"}\ Timezone: GMT$-$3:00\ University of São Paulo -- Brazil\ IRC: giulianob in \#gcc\ Email: [`giuliano.belina...@usp.br`](mailto:giuliano.belina...@usp.br)\ Github: <https://github.com/giulianobelinassi/&g

Help implementing support for vec in gengtype

2020-02-27 Thread Giuliano Belinassi
Hi, all. I am tying to fix an issue with a global variable in the parallel gcc project. For this, I am trying to move some global variables from tree-ssa-operands to struct function. One of this variable is a vec type, and gengtype doesn't look so happy with it. In this context, I am trying to ad

[GSoC'19] Parallelize GCC with Threads -- Second Evaluation Status

2019-07-21 Thread Giuliano Belinassi
Hi all, Here is my second evaluation report, together with a simple program that I was able to compile with my parallel version of GCC. Keep in mind that I still have lots of concurrent issues inside the compiler and therefore my branch will fail to compile pretty much anything else. To reproduce

Threadsafe Garbage Collection allocation

2019-06-28 Thread Giuliano Belinassi
Hi, *** Question: What are all the possible ways to allocate and deallocate memory through the Garbage Collector? *** Context: I am parallelizing GCC internals and I am facing problems with the GCC Garbage Collector, and therefore I need to make it threadsafe to continue with the project. Curren

Re: Parallelize GCC with Threads -- First Evaluation

2019-06-25 Thread Giuliano Belinassi
On 06/25, Richard Biener wrote: > On Tue, 25 Jun 2019, Giuliano Belinassi wrote: > > > Hi, Richard > > > > On 06/25, Richard Biener wrote: > > > On Mon, 24 Jun 2019, Giuliano Belinassi wrote: > > > > > > > Hi, > > > > > >

Re: Parallelize GCC with Threads -- First Evaluation

2019-06-25 Thread Giuliano Belinassi
Hi On 06/24, nick wrote: > > > On 2019-06-24 8:59 a.m., Giuliano Belinassi wrote: > > Hi, > > > > Parallelize GCC with Threads -- First Evaluation > > > > Hi everyone, > > > > I am attaching the first evaluation report here publicly for gat

Re: Parallelize GCC with Threads -- First Evaluation

2019-06-25 Thread Giuliano Belinassi
Hi, Richard On 06/25, Richard Biener wrote: > On Mon, 24 Jun 2019, Giuliano Belinassi wrote: > > > Hi, > > > > Parallelize GCC with Threads -- First Evaluation > > > > Hi everyone, > > > > I am attaching the first evaluation report here pub

Parallelize GCC with Threads -- First Evaluation

2019-06-24 Thread Giuliano Belinassi
Hi, Parallelize GCC with Threads -- First Evaluation Hi everyone, I am attaching the first evaluation report here publicly for gathering feedback. The file is in markdown format and it can be easily be converted to PDF for better visualization. I am also open to suggestions and ideas in order t

Re: GSOC

2019-05-13 Thread Giuliano Belinassi
On 05/13, Richard Biener wrote: > On Sun, 12 May 2019, Giuliano Belinassi wrote: > > > Hi, Richard > > > > On 05/07, Richard Biener wrote: > > > On Mon, 6 May 2019, Giuliano Belinassi wrote: > > > > > > > Hi, > > > > >

Re: GSOC

2019-05-12 Thread Giuliano Belinassi
Hi, Richard On 05/07, Richard Biener wrote: > On Mon, 6 May 2019, Giuliano Belinassi wrote: > > > Hi, > > > > On 03/29, Richard Biener wrote: > > > On Thu, 28 Mar 2019, Giuliano Belinassi wrote: > > > > > > > Hi, Richard > > > >

Re: GSOC

2019-05-06 Thread Giuliano Belinassi
Hi, On 03/29, Richard Biener wrote: > On Thu, 28 Mar 2019, Giuliano Belinassi wrote: > > > Hi, Richard > > > > On 03/28, Richard Biener wrote: > > > On Wed, Mar 27, 2019 at 2:55 PM Giuliano Belinassi > > > wrote: > > > > > > > >

[GSoC 2019] Proposal: Parallelize GCC With Threads

2019-03-31 Thread Giuliano Belinassi
Hi, I wrote my GSoC Proposal to the "Parallelize GCC with threads" project, and if someone is interested in it, I am linking the text here in order to get feedback. Please let me know if something is not entirely clear, or if there are any problems with the calendar, or if you have any suggestions

Re: GSOC

2019-03-28 Thread Giuliano Belinassi
Hi, Richard On 03/28, Richard Biener wrote: > On Wed, Mar 27, 2019 at 2:55 PM Giuliano Belinassi > wrote: > > > > Hi, > > > > On 03/26, Richard Biener wrote: > > > On Tue, 26 Mar 2019, David Malcolm wrote: > > > > > > > On Mon, 20

Re: GSOC

2019-03-27 Thread Giuliano Belinassi
gt; Cheers, > > > > > > Nick > > > > It's good to see that you've gotten as far as attaching a patch to BZ > > [1] > > > > I think someone was going to attempt the "parallelize compilation using > > threads" idea last year,

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
Hi, Since gimple-match.c takes so long to compile, I was wondering if it might be possible to reorder the compilation so we can push its compilation early in the dependency graph. I've attached a graphic showing what I mean and the methodology into PR84402 (https://gcc.gnu.org/bugzilla/show_bug.c

Re: Parallelize the compilation using Threads

2019-01-15 Thread Giuliano Belinassi
ard Biener wrote: > On Mon, Jan 14, 2019 at 12:41 PM Giuliano Belinassi > wrote: > > > > Hi, > > > > I am currently studying the GIMPLE IR documentation and thinking about a > > way easily gather the timing information. I was thinking about about > > adding t

Re: Parallelize the compilation using Threads

2019-01-14 Thread Giuliano Belinassi
Hi, I am currently studying the GIMPLE IR documentation and thinking about a way easily gather the timing information. I was thinking about about adding this feature to gcc to show/dump the elapsed time on GIMPLE. Does this makes sense? Is this already implemented somewhere? Where is a good way to

Re: Parallelize the compilation using Threads

2018-12-14 Thread Giuliano Belinassi
Hi, See comments inline. On 12/13, Bin.Cheng wrote: > On Wed, Dec 12, 2018 at 11:46 PM Giuliano Augusto Faulin Belinassi > wrote: > > > > Hi, I have some news. :-) > > > > I replicated the Martin Liška experiment [1] on a 64-cores machine for > > gcc [2] and Linux kernel [3] (Linux kernel was fu