]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Make AARCH64_FL_CRYPTO always unset
authorAndrew Carlotti <andrew.carlotti@arm.com>
Thu, 9 Jan 2025 19:33:25 +0000 (19:33 +0000)
committerAndrew Carlotti <andrew.carlotti@arm.com>
Fri, 24 Jan 2025 19:09:10 +0000 (19:09 +0000)
commitb53781ce1e49fcaa18c2b7c0d4602c6ed780a9e9
treeb1481636c65745faa334f856d54a1fbc7d44b276
parentc6ef35b4c3c092bf5e0171827ed918d4249575ca
aarch64: Make AARCH64_FL_CRYPTO always unset

This feature flag bit only exists to support the +crypto alias.  Outside
of option processing this bit needs to be set or unset consistently.
This patch goes with the latter option.

gcc/ChangeLog:

* common/config/aarch64/aarch64-common.cc: Assert that CRYPTO
bit is not set.
* config/aarch64/aarch64-feature-deps.h
(info<FEAT>.explicit_on): Unset CRYPTO bit.
(cpu_##CORE_IDENT): Ditto.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/crypto-alias-1.c: New test.
gcc/common/config/aarch64/aarch64-common.cc
gcc/config/aarch64/aarch64-feature-deps.h
gcc/testsuite/gcc.target/aarch64/crypto-alias-1.c [new file with mode: 0644]