Skip to content

Detect the used SIMD instructions to compile Jolt. #585

Answered by jrouwe
AndreaCatania asked this question in Q&A
Discussion options

You must be logged in to vote

The SIMD instruction sets are not detected, you specify which ones you want to use by passing the variables to cmake, e.g.:

cmake [...] -DUSE_SSE4_2=Yes

The machine you compile the code on does not need to have the same capabilities as the machine you intend to distribute the compiled code to. So you choose what the minimum spec machine is and then define the variables that correspond to that minimum spec.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AndreaCatania
Comment options

Answer selected by AndreaCatania
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants