Bug in sha512 digest with -march=native -mtune=native -m64

Peter Gutmann pgut001 at cs.auckland.ac.nz
Thu Jun 20 07:51:28 CEST 2013


Remko van der Vossen <wich at yuugen.jp> writes:

>Compiling with -O2 is still okay it seems.

Yep, see my earlier message.  I'm willing to bet that if you do a build with 
-S at -O3 you'll see that the resulting asm code for wherever the problem is 
bears little to no resemblance to the C source code.  I'd recommend switching 
to -O2 as a default.

(or LLVM :-).

Peter.



More information about the Gnupg-devel mailing list