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

Giuliano Belinassi giuliano.belinassi@usp.br
Sun Jul 21 19:45:00 GMT 2019


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 my current branch, use the following steps:

1-) Clone https://gitlab.com/flusp/gcc/tree/giulianob_parallel

2-) Edit gcc/graphunit.c's variable `num_threads` to 1.

3-) Compile with --disable-bootstrap --enable-languages=c

4-) make

5-) Edit gcc/graphunit.c's variable `num_threads` to 2, for instance.

6-) make install DESTDIR="somewhere_else_that_doesnt_break_your_gcc"

7-) compile the program using -O2

I a attaching my report in markdown format, which you can convert to pdf
using `pandoc` if you find it difficult to read in the current format.

I am also open to suggestions. Please do not hesitate to comment :)

Thank you,
Giuliano.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_atan2.c
Type: text/x-csrc
Size: 2505 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20190721/891a2e81/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parallel_deliver_2.md
Type: text/markdown
Size: 19923 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20190721/891a2e81/attachment.md>


More information about the Gcc mailing list