cpuid.cpp |
|
6456 |
cpuid.h |
A class handling runtime CPU feature detection. It is limited to
just the features necessary to implement CPU specific code in Botan,
rather than being a general purpose utility.
This class supports:
- x86 features using CPUID. x86 is also the only processor with
accurate cache line detection currently.
- PowerPC AltiVec detection on Linux, NetBSD, OpenBSD, and macOS
- ARM NEON and crypto extensions detection. On Linux and Android
systems which support getauxval, that is used to access CPU
feature information. Otherwise a relatively portable but
thread-unsafe mechanism involving executing probe functions which
catching SIGILL signal is used.
|
13369 |
cpuid_arm.cpp |
This relies on a map of known machine names to features. This
will quickly grow out of date as new products are introduced, but
is apparently the best we can do for iOS.
|
6947 |
cpuid_ppc.cpp |
On macOS and OpenBSD ppc, use sysctl to detect AltiVec
|
3341 |
cpuid_x86.cpp |
|
7231 |
info.txt |
|
81 |