mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 15:40:55 +08:00
AArch64: Add Linux cpuinfo string for rng feature
The Linux kernel has defined the cpuinfo string for the +rng feature, so this patch adds that to GCC so that -march=native can pick it up. Bootstrapped and tested on aarch64-none-linux-gnu. gcc/ * config/aarch64/aarch64-option-extensions.def (rng): Add cpuinfo string.
This commit is contained in:
parent
4af3472517
commit
0d8f3f612d
@ -155,7 +155,7 @@ AARCH64_OPT_EXTENSION("sve", AARCH64_FL_SVE, AARCH64_FL_FP | AARCH64_FL_SIMD | \
|
||||
AARCH64_OPT_EXTENSION("profile", AARCH64_FL_PROFILE, 0, 0, false, "")
|
||||
|
||||
/* Enabling/Disabling "rng" only changes "rng". */
|
||||
AARCH64_OPT_EXTENSION("rng", AARCH64_FL_RNG, 0, 0, false, "")
|
||||
AARCH64_OPT_EXTENSION("rng", AARCH64_FL_RNG, 0, 0, false, "rng")
|
||||
|
||||
/* Enabling/Disabling "memtag" only changes "memtag". */
|
||||
AARCH64_OPT_EXTENSION("memtag", AARCH64_FL_MEMTAG, 0, 0, false, "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user