summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2023-10-20Ensure cpuid macro is only defined on AMD64sigsegv7
Signed-off-by: sigsegv7 <ian@vegaa.systems>
2023-09-18Fix overflow issue + odd behavioursigsegv7
It is best to check for an overflow risk and lower the step BEFORE we actually perform the inversion Signed-off-by: sigsegv7 <ian@vegaa.systems>
2023-09-18Shift step left by 1 if SSE is supportedsigsegv7
This is a faster way of increasing the step as they are in powers of two. Signed-off-by: sigsegv7 <ian@vegaa.systems>
2023-09-18Optimize with SSE2/SSE3 and 128 bit inversionssigsegv7
Signed-off-by: sigsegv7 <ian@vegaa.systems>