[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7ea06c6c-d1dd-4607-b0d8-fb60a9ce6f65@gmail.com>
Date: Wed, 11 Dec 2024 02:08:44 +0500
From: irecca.kun@...il.com
To: Arnd Bergmann <arnd@...db.de>, Arnd Bergmann <arnd@...nel.org>,
linux-kernel@...r.kernel.org, x86@...nel.org
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
Borislav Petkov <bp@...en8.de>, Dave Hansen <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andy Shevchenko <andy@...nel.org>, Matthew Wilcox <willy@...radead.org>
Subject: Re: [PATCH v2 05/11] x86: add CONFIG_X86_64_NATIVE option
On 12/11/24 01:56, Arnd Bergmann wrote:
> -ftree-vectorize is only enabled by default at -O3 level
You maybe missed it, but vectorization is enabled at -O2 level since GCC 12. https://www.phoronix.com/news/GCC-12-Auto-Vec-O2
Same goes for clang, it pretty much always had vectorized on -O2, iirc.
> avx2 is already turned off because of -mno-avx,
Hmm, I'm not sure. But if we look at existing KBUILD_RUSTFLAGS below, it has both -avx and -avx2.
Powered by blists - more mailing lists