Get the latest tech news

GCC 17 Now Supports Using -mtune=native -mcpu=native On RISC-V


As a follow up to last month's article about patches being posted for enabling '-mcpu=native -mtune=native' support for RISC-V with the GCC compiler, that code is now merged for what will become the GCC 17.1 release in the early months of 2027.

None

Get the Android app

Or read this on Phoronix

Read more on:

Photo of gcc

gcc

Photo of -mtune

-mtune

Photo of native -mcpu

native -mcpu

Related news:

News photo

GCC 17 Compiler Merges Initial Support For Intel/AMD AI Compute Extensions "ACE"

News photo

Indirect Calling of Nested Functions on GCC Without Executable Stack

News photo

Using GCC's Nested Functions with Wide Pointers and No Trampolines II