Re: [PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-31 Thread Jan Hubicka
> > Yeah. Or even refactor the output machinery so that in theory > we can create asm fragments [into memory] for functions and variables > and only at the end concat/output them in a desired order (cf. > -fno-toplevel-reorder > wrt toporder code-generation we'd prefer). That would also be one

Re: [PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-31 Thread Richard Biener via Gcc-patches
On Sat, Aug 29, 2020 at 1:31 PM Jan Hubicka wrote: > > > > > It not only creates hidden symbols, but it also changes the original > > symbol name to avoid clashses with other object files. It could be > > very nice to avoid doing this at all. > > > > There was once an idea (I don't remember if fro

Re: [PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-29 Thread Jan Hubicka
> > It not only creates hidden symbols, but it also changes the original > symbol name to avoid clashses with other object files. It could be > very nice to avoid doing this at all. > > There was once an idea (I don't remember if from Richi or Honza) to > avoid using partial linking, but instead

Re: [PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-25 Thread Richard Biener via Gcc-patches
On Mon, Aug 24, 2020 at 8:39 PM Giuliano Belinassi via Gcc-patches wrote: > > Ho, Josh. > > On 08/24, Josh Triplett wrote: > > On Sat, Aug 22, 2020 at 06:04:48PM -0300, Giuliano Belinassi wrote: > > > Hi, Josh > > > > > > On 08/21, Josh Triplett wrote: > > > > On Thu, Aug 20, 2020 at 07:00:13PM -0

Re: [PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-24 Thread Giuliano Belinassi via Gcc-patches
Ho, Josh. On 08/24, Josh Triplett wrote: > On Sat, Aug 22, 2020 at 06:04:48PM -0300, Giuliano Belinassi wrote: > > Hi, Josh > > > > On 08/21, Josh Triplett wrote: > > > On Thu, Aug 20, 2020 at 07:00:13PM -0300, Giuliano Belinassi wrote: > > > > This patch series add a new flag "-fparallel-jobs="

Re: [PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-24 Thread Josh Triplett
On Sat, Aug 22, 2020 at 06:04:48PM -0300, Giuliano Belinassi wrote: > Hi, Josh > > On 08/21, Josh Triplett wrote: > > On Thu, Aug 20, 2020 at 07:00:13PM -0300, Giuliano Belinassi wrote: > > > This patch series add a new flag "-fparallel-jobs=" to control if the > > > compiler should try to compile

Re: [PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-24 Thread Giuliano Belinassi via Gcc-patches
Hi, Richi. On 08/24, Richard Biener wrote: > On Fri, Aug 21, 2020 at 12:00 AM Giuliano Belinassi > wrote: > > > > This patch series add a new flag "-fparallel-jobs=" to control if the > > compiler should try to compile the current file in parallel. > > > > There are three modes which is supported

Re: [PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-24 Thread Richard Biener via Gcc-patches
On Fri, Aug 21, 2020 at 12:00 AM Giuliano Belinassi wrote: > > This patch series add a new flag "-fparallel-jobs=" to control if the > compiler should try to compile the current file in parallel. > > There are three modes which is supported by now: > > 1. -fparallel-jobs=: Try to compile the file

Re: [PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-22 Thread Giuliano Belinassi via Gcc-patches
Hi, Josh On 08/21, Josh Triplett wrote: > On Thu, Aug 20, 2020 at 07:00:13PM -0300, Giuliano Belinassi wrote: > > This patch series add a new flag "-fparallel-jobs=" to control if the > > compiler should try to compile the current file in parallel. > [...] > > Bootstrapped and Regtested on Linux x

Re: [PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-21 Thread Josh Triplett
On Thu, Aug 20, 2020 at 07:00:13PM -0300, Giuliano Belinassi wrote: > This patch series add a new flag "-fparallel-jobs=" to control if the > compiler should try to compile the current file in parallel. [...] > Bootstrapped and Regtested on Linux x86_64. > > Giuliano Belinassi (6): > Modify gcc

[PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

2020-08-20 Thread Giuliano Belinassi via Gcc-patches
This patch series add a new flag "-fparallel-jobs=" to control if the compiler should try to compile the current file in parallel. There are three modes which is supported by now: 1. -fparallel-jobs=: Try to compile the file using a maximum of N jobs. 2. -fparallel-jobs=jobserver: Check if there