Hi Everyone, We began testing a new cpu branch today. You can find it at http://github.com/weidai11/cryptopp/tree/cpu .
The branch addresses broken compiles for GCC 4.6-4.9 in Debug configurations, and with -std=c++11 and -std=c++17. Keeping GCC 4.8 and 4.9 in good woring order was a priority because Debian Jessie (Debian 8) provides it by default. You can see artifacts of the problem at http://stackoverflow.com/questions/38051959/where-is-v2di-declared-when-using-std-c11-under-gcc . There were lots of one-off problems like it. The branch effectively removes the intrinsics provided by the library in cpu.h, which means its no longer automatically available in some configurations. The library providing them was useful 10 or 15 years ago, but its less useful today. If you are using a down level compiler on old hardware, like GCC 4.6 on a Core2, then you need to add -maes to CXXFLAGS to get AESNI instructions (which you will never use, btw). Another benefit of the removal was folding of defines. We no longer need many of the separate *_ASM_AVAILABLE and *_INTRINSIC_AVAILABLE defines. Where applicable, they have been folded into a single *_AVAILABLE define. The folding of *_AVAILABLE and removal of the one-off work-arounds tidied up the source code considerably. Please provide comments and report problems. Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
