Unverified Commit 933d6be8 authored by Alexandros Lamprineas's avatar Alexandros Lamprineas Committed by GitHub
Browse files

[FMV][compiler-rt] Fix cpu features initialization. (#95149)

To detect features we either use HWCAPs or directly extract system
register bitfields and compare with a value. In many cases equality
comparisons give wrong results for example FEAT_SVE is not set if SVE2
is available (see the issue #93651). I am also making the access to
__aarch64_cpu_features atomic.

The corresponding PR for the ACLE specification is
https://github.com/ARM-software/acle/pull/322.
parent 5563d914
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment