Hi Everyone,

The makefile uses -O2 as the default optimization level.

The source code can support -O3 as the optimization level. In fact, we 
support -O5, -Os and -Ofast. We regularly test them in cryptest.sh 
(https://github.com/weidai11/cryptopp/blob/master/cryptest.sh).

At -O3, GCC and other compilers will vectorize, meaning they will use SIMD 
units, like SSE and NEON. When the compiler takes an opportunity it is 
often a non-trivial speedup.

My question is, should we switch to -O3 as the default? Or maybe, is anyone 
opposed to doing so?

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to