> -----Original Message----- > From: Kyrylo Tkachov <[email protected]> > Sent: 10 December 2025 09:05 > To: GCC Patches <[email protected]> > Cc: Tamar Christina <[email protected]>; Wilco Dijkstra > <[email protected]>; Alice Carlotti <[email protected]>; Alex > Coplan <[email protected]>; Andrew Pinski > <[email protected]>; Richard Earnshaw > <[email protected]> > Subject: [PATCH] aarch64: Remove RNG from -mcpu=neoverse-v2 > > Hi all, > > We've received reports from users confused about -mcpu=neoverse-v2 > enabling > the RNG intrinsics by default, even though it is an optional feature in the > core and not implemented in their implementation. > > We think it'd be cleaner to not enable it by default for -mcpu=neoverse-v2, > same as for -mcpu=grace. We'll also propose the change to Clang to keep > the two compilers consistent. > > Bootstrapped and tested on aarch64-none-linux-gnu. > Ok for trunk if the Clang change is also agreed upon?
OK with me. Thanks, Tamar > > Signed-off-by: Kyrylo Tkachov <[email protected]> > > gcc/ > > * config/aarch64/aarch64-cores.def (neoverse-v2): Remove RNG.
