Re: [PATCH] Add a bootstrap-native build config

2025-04-28 Thread Richard Biener
On Fri, Apr 25, 2025 at 3:06 PM Andi Kleen wrote: > > On 2025-04-23 10:18, Richard Biener wrote: > > On Tue, Apr 22, 2025 at 5:43 PM Andi Kleen wrote: > >> > >> On 2025-04-22 13:22, Richard Biener wrote: > >> > On Sat, Apr 12, 2025 at 5:09 PM Andi Kleen wrote: > >> >> > >> >> From: Andi Kleen >

Re: [PATCH] Add a bootstrap-native build config

2025-04-25 Thread Andi Kleen
On 2025-04-23 10:18, Richard Biener wrote: On Tue, Apr 22, 2025 at 5:43 PM Andi Kleen wrote: On 2025-04-22 13:22, Richard Biener wrote: > On Sat, Apr 12, 2025 at 5:09 PM Andi Kleen wrote: >> >> From: Andi Kleen >> >> ... that uses -march=native -mtune=native to build a compiler >> optimized

RE: [PATCH] Add a bootstrap-native build config

2025-04-23 Thread Tamar Christina
> -Original Message- > From: Jakub Jelinek > Sent: Wednesday, April 23, 2025 10:39 AM > To: Tamar Christina > Cc: Richard Biener ; Andi Kleen > ; GCC Patches > Subject: Re: [PATCH] Add a bootstrap-native build config > > On Wed, Apr 23, 2025 at 09:36:11AM +

Re: [PATCH] Add a bootstrap-native build config

2025-04-23 Thread Jakub Jelinek
On Wed, Apr 23, 2025 at 10:05:25AM +, Tamar Christina wrote: > > -Original Message- > > From: Jakub Jelinek > > Sent: Wednesday, April 23, 2025 10:39 AM > > To: Tamar Christina > > Cc: Richard Biener ; Andi Kleen > > ; GCC Patches > > S

Re: [PATCH] Add a bootstrap-native build config

2025-04-23 Thread Jakub Jelinek
On Wed, Apr 23, 2025 at 09:36:11AM +, Tamar Christina wrote: > On AArch64 it does but only if no other > tuning options are specified. That is the case on x86 as well, -march=native -mtune=znver5 will still tune for znver5, but -march=native will tune for native. Jakub

RE: [PATCH] Add a bootstrap-native build config

2025-04-23 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Wednesday, April 23, 2025 9:19 AM > To: Andi Kleen ; GCC Patches > Subject: Re: [PATCH] Add a bootstrap-native build config > > On Tue, Apr 22, 2025 at 5:43 PM Andi Kleen wrote: > > > > On 2025-

Re: [PATCH] Add a bootstrap-native build config

2025-04-23 Thread Richard Biener
On Tue, Apr 22, 2025 at 5:43 PM Andi Kleen wrote: > > On 2025-04-22 13:22, Richard Biener wrote: > > On Sat, Apr 12, 2025 at 5:09 PM Andi Kleen wrote: > >> > >> From: Andi Kleen > >> > >> ... that uses -march=native -mtune=native to build a compiler > >> optimized > >> for the host. > > > > -mar

Re: [PATCH] Add a bootstrap-native build config

2025-04-22 Thread Richard Biener
On Sat, Apr 12, 2025 at 5:09 PM Andi Kleen wrote: > > From: Andi Kleen > > ... that uses -march=native -mtune=native to build a compiler optimized > for the host. -march=native implies -mtune=native so I think the latter is redundant. > config/ChangeLog: > > * bootstrap-native.mk: New f

[PATCH] Add a bootstrap-native build config

2025-04-12 Thread Andi Kleen
From: Andi Kleen ... that uses -march=native -mtune=native to build a compiler optimized for the host. config/ChangeLog: * bootstrap-native.mk: New file. gcc/ChangeLog: * doc/install.texi: Document bootstrap-native. --- config/bootstrap-native.mk | 1 + gcc/doc/install.texi

Re: [PATCH] Add a bootstrap-native build config

2024-11-06 Thread Andi Kleen
On Tue, Jul 30, 2024 at 09:40:42AM -0700, Andi Kleen wrote: > From: Andi Kleen > > ... that uses -march=native -mtune=native to build a compiler optimized > for the host. > > config/ChangeLog: > > * bootstrap-native.mk: New file. > > gcc/ChangeLog: > > * doc/install.texi: Document

Re: [PING^4] [PATCH] Add a bootstrap-native build config

2024-09-10 Thread Andi Kleen
On Tue, Sep 10, 2024 at 03:29:08AM +, Ramana Radhakrishnan wrote: > > diff --git a/config/bootstrap-native.mk b/config/bootstrap-native.mk > > new file mode 100644 > > index ..a4a3d8594089 > > --- /dev/null > > +++ b/config/bootstrap-native.mk > > @@ -0,0 +1

Re: [PING^4] [PATCH] Add a bootstrap-native build config

2024-09-09 Thread Ramana Radhakrishnan
> On 9 Sep 2024, at 10:34 PM, Andi Kleen wrote: > > External email: Use caution opening links or attachments > > > Andi Kleen writes: > > Ping^4 > > Could someone please approve this (nearly trivial) patch? > > Thanks, > -Andi > >> Andi Kleen writes: >> >> Ping^3 >> >>> Andi Kleen wr

[PING^4] [PATCH] Add a bootstrap-native build config

2024-09-09 Thread Andi Kleen
Andi Kleen writes: Ping^4 Could someone please approve this (nearly trivial) patch? Thanks, -Andi > Andi Kleen writes: > > Ping^3 > >> Andi Kleen writes: >> >> PING^2 for the patch. >> >> (not sure if there is any maintainer to cc here, this is generic build >> infrastructure) >> >>> Andi K

[PING^3] [PATCH] Add a bootstrap-native build config

2024-09-02 Thread Andi Kleen
Andi Kleen writes: Ping^3 > Andi Kleen writes: > > PING^2 for the patch. > > (not sure if there is any maintainer to cc here, this is generic build > infrastructure) > >> Andi Kleen writes: >> >> I wanted to ping this patch: >> >> https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658729.htm

[PING^2] [PATCH] Add a bootstrap-native build config

2024-08-25 Thread Andi Kleen
Andi Kleen writes: PING^2 for the patch. (not sure if there is any maintainer to cc here, this is generic build infrastructure) > Andi Kleen writes: > > I wanted to ping this patch: > > https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658729.html > > >> From: Andi Kleen >> >> ... that use

[PING] [PATCH] Add a bootstrap-native build config

2024-08-12 Thread Andi Kleen
Andi Kleen writes: I wanted to ping this patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658729.html > From: Andi Kleen > > ... that uses -march=native -mtune=native to build a compiler optimized > for the host. > > config/ChangeLog: > > * bootstrap-native.mk: New file. > > g

Re: [PATCH] Add a bootstrap-native build config

2024-08-10 Thread Gerald Pfeifer
On Tue, 30 Jul 2024, Andi Kleen wrote: > config/ChangeLog: > > * bootstrap-native.mk: New file. > > gcc/ChangeLog: > > * doc/install.texi: Document bootstrap-native. This makes sense to me, and the documentation is fine (with "latter" instead of "later"); I cannot approve the code

Re: [PATCH] Add a bootstrap-native build config

2024-07-30 Thread Andi Kleen
> > +BOOT_CFLAGS := -march=native -mtune=native $(BOOT_CFLAGS) > > I was under the impression that -mtune=native is useless with > -march=native. Is that wrong? On x86 it's right, but not sure about other architectures. I suppose it doesn't hurt. -Andi

Re: [PATCH] Add a bootstrap-native build config

2024-07-30 Thread Sam James
Andi Kleen writes: > From: Andi Kleen > > ... that uses -march=native -mtune=native to build a compiler optimized > for the host. > I like the idea and I'll probably use this. (I can't approve it though.) > config/ChangeLog: > > * bootstrap-native.mk: New file. > > gcc/ChangeLog: > >

[PATCH] Add a bootstrap-native build config

2024-07-30 Thread Andi Kleen
From: Andi Kleen ... that uses -march=native -mtune=native to build a compiler optimized for the host. config/ChangeLog: * bootstrap-native.mk: New file. gcc/ChangeLog: * doc/install.texi: Document bootstrap-native. --- config/bootstrap-native.mk | 1 + gcc/doc/install.texi