aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/cpuid
Commit message (Collapse)AuthorAgeFilesLines
* Add PVR identifer for POWER9Jack Lloyd2018-12-031-1/+3
| | | | According to qemu-ppc64le -cpu help output
* Fix [ci skip]Jack Lloyd2018-10-011-1/+1
|
* Handle PPC crypto bit in tests [ci skip]Jack Lloyd2018-10-011-0/+2
|
* Fix ARMv7 buildJack Lloyd2018-07-091-0/+3
| | | | These hwcaps dont exist in 32-bit mode
* Add support for ARMv8 SM4 instructionsJack Lloyd2018-07-093-5/+70
| | | | Tested in qemu
* Fix handling of SHA instructions in testsJack Lloyd2018-06-291-0/+2
|
* Add BMI2-specific SHA-256Jack Lloyd2018-05-273-2/+25
| | | | | Currently just a copy of the baseline compression function, but compiled with BMI2 flags. On Skylake improves performance by about 40%.
* Fix CPUID::has_cpuid_bitJack Lloyd2018-03-171-1/+3
| | | | | | It would return true if any bits were set instead of if all the bits were set. It is only currently called with a single bit but that might change in the future.
* Avoid unused arg warning in PowerPC CPUID codeJack Lloyd2018-03-171-0/+2
|
* Do runtime endian check when CPUID is initializedJack Lloyd2018-02-231-0/+1
| | | | | Otherwise cross-endian builds (ie building big-endian for little-endian) can have massive test breakage but with no hints.
* Add support for detecting POWER crypto using getauxvalJack Lloyd2018-01-073-1/+34
| | | | See #1206
* Apply final annotations to the library alsoJack Lloyd2017-09-221-1/+1
| | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures.
* Header file cleanupsJack Lloyd2017-09-211-0/+1
| | | | Some help from include-what-you-use
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Add additional ids for AltiVec enabled POWER processorsJack Lloyd2017-09-191-3/+5
| | | | Taken from a patch to 1.10 in Debian
* More annotationsJack Lloyd2017-09-191-1/+1
|
* Add ARM feature detection for systems without getauxvalJack Lloyd2017-09-172-15/+129
| | | | | | | | For iOS use sysctl to get the product name and use a static table of minimum versions. For everything else (not Linux/Android or iOS) try probe functions. Only for Aarch64 to keep things simple.
* Split up cpuid.cpp into arch-specific filesJack Lloyd2017-09-176-0/+854
As more archs and detection methods are used, the file was getting a little hard to follow.