AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Slashdot  <--  <--- Return to Home Page
   Local Database  Slashdot   [278 / 361] RSS
 From   To   Subject   Date/Time 
Message   VRSS    All   Linux 6.16 Adds 'X86_NATIVE_CPU' Option To Optimize Your Kernel   May 27, 2025
 8:40 PM  

Feed: Slashdot
Feed Link: https://slashdot.org/
---

Title: Linux 6.16 Adds 'X86_NATIVE_CPU' Option To Optimize Your Kernel Build

Link: https://linux.slashdot.org/story/25/05/27/222...

unixbhaskar shares a report from Phoronix: The X86_NATIVE_CPU Kconfig build
time option has been merged for the Linux 6.16 merge window as an easy means
of enforcing "-march=native" compiler behavior on AMD and Intel processors to
optimize your kernel build for the local CPU architecture/family of your
system. For those wanting to "-march=native" your Linux kernel build on
AMD/Intel x86_64 processors, the new CONFIG_X86_NATIVE_CPU option can be
easily enabled for setting that compiler option on your local kernel builds.
The CONFIG_X86_NATIVE_CPU option is honored if compiling the Linux x86_64
kernel with GCC or LLVM Clang when using Clang 19 or newer due to a compiler
bug with the Linux kernel on older compiler versions. In addition to setting
the "-march=native" compiler option for the Linux kernel C code, enabling
this new Kconfig build option also sets "-Ctarget-cpu=native" for the
kernel's Rust code too. "It seems interesting though," comments unixbhaskar.
"If the detailed benchmark shows some improvement with the option selected,
then distros might start to adopt it for their flavor."

Read more of this story at Slashdot.

---
VRSS v2.1.180528
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Slashdot  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0172 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2025 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.250224