Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPUID #2990

Merged
merged 8 commits into from
May 27, 2021
Merged

CPUID #2990

merged 8 commits into from
May 27, 2021

Conversation

eggrobin
Copy link
Member

The code in the #else branches was tested on godbolt: https://gcc.godbolt.org/z/89fovf4cK.

base/cpuid.cpp Outdated Show resolved Hide resolved
base/cpuid.hpp Outdated Show resolved Hide resolved
base/cpuid.hpp Outdated Show resolved Hide resolved
base/cpuid.hpp Outdated Show resolved Hide resolved
base/cpuid.hpp Outdated Show resolved Hide resolved
base/cpuid.cpp Outdated Show resolved Hide resolved
base/cpuid.cpp Outdated Show resolved Hide resolved
base/cpuid.hpp Outdated Show resolved Hide resolved
numerics/numerics.vcxproj Outdated Show resolved Hide resolved
base/macros.hpp Outdated
@@ -128,6 +128,7 @@ inline void noreturn() { std::exit(0); }
// We assume that the processor is at least a Prescott since we only support
// 64-bit architectures.
#define PRINCIPIA_USE_SSE3_INTRINSICS !_DEBUG
#define PRINCIPIA_USE_FMA_IF_AVAILABLE !_DEBUG
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't belong in this PR, I think.

@pleroy pleroy added the LGTM label May 26, 2021
@eggrobin eggrobin merged commit 0a368e3 into mockingbirdnest:master May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants