aboutsummaryrefslogtreecommitdiffstats
path: root/core/cpu_caps.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace al::optional with std::optionalChris Robinson2023-05-041-2/+2
|
* Use std::optional instead of a custom implementationChris Robinson2023-05-041-0/+1
|
* clang-tidy cleanups (#800)Rosen Penev2023-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]>
* Avoid unnecessary uses of make_optionalChris Robinson2023-01-131-1/+1
|
* Avoid including intrin.h with cpuid.hChris Robinson2022-06-171-4/+3
| | | | On certain versions of MinGW, that leads to a redefinition errors.
* Avoid dereferencing the end iteratorChris Robinson2021-01-081-4/+4
|
* Move cpu_caps and fpu_ctrl to coreChris Robinson2020-12-311-0/+142