Get the latest tech news

GCC On AArch64 Handles Rewriting "-march=native" To "-mcpu=native"


Toward the end of 2022 a GCC AArch64 compiler change was quietly made by Arm that allows '-march=native' to be handled on 64-bit ARM by treating it as the equivalent '-mcpu=native' option

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of aarch64

aarch64

Photo of gcc

gcc

Photo of -march =

-march =

Related news:

News photo

GCC's new fortification level: The gains and costs (2022)

News photo

GCC 15 Adds NVIDIA Grace CPU Support With "-mcpu=grace" Option

News photo

How GCC and Clang handle statically known undefined behaviour