Implementation notes: amd64, h3neo, crypto_dh/nist521gs

Computer: h3neo
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20170105
Operation: crypto_dh
Primitive: nist521gs
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
7241719? ? ?? ? ?refclang_-O3_-fwrapv_-march=native_-fomit-frame-pointer_-Qunused-arguments2016111320161009
7244603? ? ?? ? ?refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2016111320161009
7669785? ? ?? ? ?refgcc_-m64_-march=barcelona_-Os_-fomit-frame-pointer2016111320161009
7672190? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2016111320161009
7674852? ? ?? ? ?refgcc_-march=barcelona_-Os_-fomit-frame-pointer2016111320161009
7677524? ? ?? ? ?refgcc_-m64_-Os_-fomit-frame-pointer2016111320161009
7678179? ? ?? ? ?refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2016111320161009
7678461? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-Os_-fomit-frame-pointer2016111320161009
7678943? ? ?? ? ?refgcc_-Os_-fomit-frame-pointer2016111320161009
7679734? ? ?? ? ?refgcc_-funroll-loops_-Os_-fomit-frame-pointer2016111320161009
7679772? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-Os_-fomit-frame-pointer2016111320161009
7679794? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2016111320161009
7682020? ? ?? ? ?refgcc_-funroll-loops_-m64_-Os_-fomit-frame-pointer2016111320161009
7698559? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-Os_-fomit-frame-pointer2016111320161009
7699426? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-Os_-fomit-frame-pointer2016111320161009
7699720? ? ?? ? ?refgcc_-m64_-march=k8_-Os_-fomit-frame-pointer2016111320161009
7700191? ? ?? ? ?refgcc_-march=k8_-Os_-fomit-frame-pointer2016111320161009
7701356? ? ?? ? ?refgcc_-m64_-march=core2_-msse4_-Os_-fomit-frame-pointer2016111320161009
7704720? ? ?? ? ?refgcc_-m64_-march=core2_-Os_-fomit-frame-pointer2016111320161009
7707748? ? ?? ? ?refgcc_-m64_-march=corei7_-Os_-fomit-frame-pointer2016111320161009
7708083? ? ?? ? ?refgcc_-m64_-march=core2_-msse4.1_-Os_-fomit-frame-pointer2016111320161009
7760440? ? ?? ? ?refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2016111320161009
7791943? ? ?? ? ?refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2016111320161009
7894395? ? ?? ? ?refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2016111320161009
7894769? ? ?? ? ?refclang_-mcpu=cortex-a8_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2016111320161009
7897264? ? ?? ? ?refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2016111320161009
7899028? ? ?? ? ?refclang_-mcpu=cortex-a9_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2016111320161009
7954926? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O3_-fomit-frame-pointer2016111320161009
7955046? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O3_-fomit-frame-pointer2016111320161009
7961361? ? ?? ? ?refgcc_-march=nocona_-Os_-fomit-frame-pointer2016111320161009
7961602? ? ?? ? ?refgcc_-m64_-march=nocona_-Os_-fomit-frame-pointer2016111320161009
7964432? ? ?? ? ?refgcc_-march=barcelona_-O3_-fomit-frame-pointer2016111320161009
7964673? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O3_-fomit-frame-pointer2016111320161009
7965053? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O3_-fomit-frame-pointer2016111320161009
7965858? ? ?? ? ?refgcc_-m64_-march=barcelona_-O3_-fomit-frame-pointer2016111320161009
7965966? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2016111320161009
7972613? ? ?? ? ?refgcc_-march=k8_-O3_-fomit-frame-pointer2016111320161009
7973486? ? ?? ? ?refgcc_-m64_-march=k8_-O3_-fomit-frame-pointer2016111320161009
7982270? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-Os_-fomit-frame-pointer2016111320161009
7987064? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-Os_-fomit-frame-pointer2016111320161009
7994507? ? ?? ? ?refgcc_-funroll-loops_-m64_-O3_-fomit-frame-pointer2016111320161009
7994604? ? ?? ? ?refgcc_-funroll-loops_-O3_-fomit-frame-pointer2016111320161009
7994970? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2016111320161009
8000387? ? ?? ? ?refgcc_-O3_-fomit-frame-pointer2016111320161009
8000418? ? ?? ? ?refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2016111320161009
8000558? ? ?? ? ?refgcc_-m64_-O3_-fomit-frame-pointer2016111320161009
8012987? ? ?? ? ?refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2016111320161009
8138388? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O2_-fomit-frame-pointer2016111320161009
8142243? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O2_-fomit-frame-pointer2016111320161009
8145817? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O2_-fomit-frame-pointer2016111320161009
8149365? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O2_-fomit-frame-pointer2016111320161009
8188560? ? ?? ? ?refgcc_-march=barcelona_-O2_-fomit-frame-pointer2016111320161009
8190539? ? ?? ? ?refgcc_-m64_-march=barcelona_-O2_-fomit-frame-pointer2016111320161009
8190542? ? ?? ? ?refgcc_-march=k8_-O2_-fomit-frame-pointer2016111320161009
8191537? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2016111320161009
8192407? ? ?? ? ?refgcc_-m64_-march=k8_-O2_-fomit-frame-pointer2016111320161009
8205772? ? ?? ? ?refgcc_-funroll-loops_-m64_-O2_-fomit-frame-pointer2016111320161009
8205850? ? ?? ? ?refgcc_-funroll-loops_-O2_-fomit-frame-pointer2016111320161009
8205880? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2016111320161009
8244935? ? ?? ? ?refgcc_-m64_-O2_-fomit-frame-pointer2016111320161009
8245085? ? ?? ? ?refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2016111320161009
8251892? ? ?? ? ?refgcc_-O2_-fomit-frame-pointer2016111320161009
8269837? ? ?? ? ?refgcc_-m64_-march=core2_-msse4.1_-O2_-fomit-frame-pointer2016111320161009
8270660? ? ?? ? ?refgcc_-m64_-march=core2_-msse4_-O2_-fomit-frame-pointer2016111320161009
8271142? ? ?? ? ?refgcc_-m64_-march=core2_-O2_-fomit-frame-pointer2016111320161009
8271195? ? ?? ? ?refgcc_-m64_-march=corei7_-O2_-fomit-frame-pointer2016111320161009
8340474? ? ?? ? ?refgcc_-march=nocona_-O3_-fomit-frame-pointer2016111320161009
8341825? ? ?? ? ?refgcc_-m64_-march=nocona_-O3_-fomit-frame-pointer2016111320161009
8355660? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O3_-fomit-frame-pointer2016111320161009
8363037? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O3_-fomit-frame-pointer2016111320161009
8541918? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O2_-fomit-frame-pointer2016111320161009
8547942? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O2_-fomit-frame-pointer2016111320161009
8579829? ? ?? ? ?refgcc_-m64_-march=nocona_-O2_-fomit-frame-pointer2016111320161009
8588510? ? ?? ? ?refgcc_-march=nocona_-O2_-fomit-frame-pointer2016111320161009
15144677? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O_-fomit-frame-pointer2016111320161009
15146114? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O_-fomit-frame-pointer2016111320161009
15152561? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O_-fomit-frame-pointer2016111320161009
15161168? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O_-fomit-frame-pointer2016111320161009
15185834? ? ?? ? ?refgcc_-m64_-march=barcelona_-O_-fomit-frame-pointer2016111320161009
15186768? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2016111320161009
15187951? ? ?? ? ?refgcc_-march=barcelona_-O_-fomit-frame-pointer2016111320161009
15190970? ? ?? ? ?refgcc_-m64_-march=k8_-O_-fomit-frame-pointer2016111320161009
15195548? ? ?? ? ?refgcc_-march=k8_-O_-fomit-frame-pointer2016111320161009
15264555? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O_-fomit-frame-pointer2016111320161009
15266782? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O_-fomit-frame-pointer2016111320161009
15305156? ? ?? ? ?refgcc_-march=nocona_-O_-fomit-frame-pointer2016111320161009
15308357? ? ?? ? ?refgcc_-m64_-march=nocona_-O_-fomit-frame-pointer2016111320161009
15364827? ? ?? ? ?refgcc_-m64_-march=core2_-O_-fomit-frame-pointer2016111320161009
15364942? ? ?? ? ?refgcc_-m64_-march=core2_-msse4.1_-O_-fomit-frame-pointer2016111320161009
15365764? ? ?? ? ?refgcc_-m64_-march=corei7_-O_-fomit-frame-pointer2016111320161009
15367527? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2016111320161009
15367712? ? ?? ? ?refgcc_-funroll-loops_-O_-fomit-frame-pointer2016111320161009
15367806? ? ?? ? ?refgcc_-funroll-loops_-m64_-O_-fomit-frame-pointer2016111320161009
15369382? ? ?? ? ?refgcc_-m64_-march=core2_-msse4_-O_-fomit-frame-pointer2016111320161009
15389959? ? ?? ? ?refgcc_-m64_-O_-fomit-frame-pointer2016111320161009
15390085? ? ?? ? ?refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2016111320161009
15393682? ? ?? ? ?refgcc_-O_-fomit-frame-pointer2016111320161009
15627267? ? ?? ? ?refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2016111320161009
28380369? ? ?? ? ?refgcc_-funroll-loops2016111320161009
28384056? ? ?? ? ?refcc2016111320161009
28384963? ? ?? ? ?refgcc2016111320161009

Test failure

Implementation: crypto_dh/nist521gs/ref
Compiler: gcc -m64 -march=core2 -O3 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -m64 -march=core2 -O3 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/nist521gs/ref
Compiler: cc
dh.c: dh.c: In function 'crypto_dh_nist521gs_ref_keypair':
dh.c: dh.c:831:2: warning: implicit declaration of function 'randombytes' [-Wimplicit-function-declaration]
dh.c: randombytes(sk,PANES-1);
dh.c: ^

Number of similar (compiler,implementation) pairs: 92, namely:
CompilerImplementations
cc ref
gcc ref
gcc -O2 -fomit-frame-pointer ref
gcc -O3 -fomit-frame-pointer ref
gcc -O -fomit-frame-pointer ref
gcc -Os -fomit-frame-pointer ref
gcc -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops ref
gcc -funroll-loops -O2 -fomit-frame-pointer ref
gcc -funroll-loops -O3 -fomit-frame-pointer ref
gcc -funroll-loops -O -fomit-frame-pointer ref
gcc -funroll-loops -Os -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer ref
gcc -m64 -O2 -fomit-frame-pointer ref
gcc -m64 -O3 -fomit-frame-pointer ref
gcc -m64 -O -fomit-frame-pointer ref
gcc -m64 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O -fomit-frame-pointer ref
gcc -m64 -march=corei7 -Os -fomit-frame-pointer ref
gcc -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer ref
gcc -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -march=barcelona -O2 -fomit-frame-pointer ref
gcc -march=barcelona -O3 -fomit-frame-pointer ref
gcc -march=barcelona -O -fomit-frame-pointer ref
gcc -march=barcelona -Os -fomit-frame-pointer ref
gcc -march=k8 -O2 -fomit-frame-pointer ref
gcc -march=k8 -O3 -fomit-frame-pointer ref
gcc -march=k8 -O -fomit-frame-pointer ref
gcc -march=k8 -Os -fomit-frame-pointer ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref
gcc -march=nocona -O2 -fomit-frame-pointer ref
gcc -march=nocona -O3 -fomit-frame-pointer ref
gcc -march=nocona -O -fomit-frame-pointer ref
gcc -march=nocona -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/nist521gs/ref
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
dh.c: dh.c:831:2: warning: implicit declaration of function 'randombytes' is invalid in C99 [-Wimplicit-function-declaration]
dh.c: randombytes(sk,PANES-1);
dh.c: ^
dh.c: 1 warning generated.

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_dh/nist521gs/ref
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
dh.c: dh.c: In function 'crypto_dh_nist521gs_ref_keypair':
dh.c: dh.c:831:2: warning: implicit declaration of function 'randombytes' [-Wimplicit-function-declaration]
dh.c: randombytes(sk,PANES-1);
dh.c: ^
dh.c: dh.c: In function 'crypto_dh_nist521gs_ref_keypair':
dh.c: dh.c:831:2: warning: implicit declaration of function 'randombytes' [-Wimplicit-function-declaration]
dh.c: randombytes(sk,PANES-1);
dh.c: ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O2 -fomit-frame-pointer ref
gcc -m64 -march=barcelona -O3 -fomit-frame-pointer ref
gcc -m64 -march=barcelona -O -fomit-frame-pointer ref
gcc -m64 -march=barcelona -Os -fomit-frame-pointer ref