[AArch64] Add Linux hwcap strings for some extensions
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 3 Sep 2019 08:06:43 +0000 (08:06 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 3 Sep 2019 08:06:43 +0000 (08:06 +0000)
commit75f935365dba3eb5e9cbd11bc0d75009cad3d019
tree31000c7537366a134dc5d5338ba63e9754929335
parent3729852e407e5e1c4f1bbacea1b53e61d7609dad
[AArch64] Add Linux hwcap strings for some extensions

This patch adds feature strings for some of the extensions. This string is what is read from /proc/cpuinfo on Linux systems
and used during -march=native detection.

The strings are taken from the kernel source tree at:
https://github.com/torvalds/linux/blob/master/arch/arm64/kernel/cpuinfo.c#L45

* config/aarch64/aarch64-option-extensions.def (sb): Add feature
string.
(ssbs): Likewise.
(sve2): Likewise.
(sve2-sm4): Likewise.
(sveaes): Likewise.
(svesha3): Likewise.
(svebitperm): Likewise.

From-SVN: r275331
gcc/ChangeLog
gcc/config/aarch64/aarch64-option-extensions.def