Implementation notes: amd64, waldorf, crypto_dh/ed448goldilocks

Computer: waldorf
Architecture: amd64
CPU ID: GenuineIntel-000106e5-bfebfbff
SUPERCOP version: 20160715
Operation: crypto_dh
Primitive: ed448goldilocks
TimeImplementationCompilerBenchmark dateSUPERCOP version
4194548amd64clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715
4457232amd64gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
4836560amd64gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
544984064gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
558070464gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
598719664gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
599897264gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
6490020arm32clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715
1249473264clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715
2790272432gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
2807500832gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
2818495232gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
2855322832clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715
2918324432gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715

Test failure

Implementation: crypto_dh/ed448goldilocks/amd64
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
error 111
crypto_dh returns nonzero

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv amd64

Test failure

Implementation: crypto_dh/ed448goldilocks/amd64
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
error 111
crypto_dh not associative

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv amd64

Compiler output

Implementation: crypto_dh/ed448goldilocks/arm32
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
crandom.c: In file included from magic.h:15:0,
crandom.c: from crandom.c:11:
crandom.c: p448.h: In function 'p448_cond_swap':
crandom.c: p448.h:194:24: error: incompatible types when initializing type 'big_register_t' using type 'mask_t'
crandom.c: big_register_t m = doswap;
crandom.c: ^
crandom.c: p448.h: In function 'p448_cond_neg':
crandom.c: p448.h:270:24: error: incompatible types when initializing type 'big_register_t' using type 'mask_t'
crandom.c: big_register_t m = doNegate;
crandom.c: ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv arm32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv arm32
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv arm32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv arm32