Implementation notes: amd64, h3neo, crypto_dh/ed521gs

Computer: h3neo
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20170105
Operation: crypto_dh
Primitive: ed521gs
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
6003638? ? ?? ? ?refclang_-O3_-fwrapv_-march=native_-fomit-frame-pointer_-Qunused-arguments2016111320161009
6003798? ? ?? ? ?refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2016111320161009
6357587? ? ?? ? ?refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2016111320161009
6364508? ? ?? ? ?refgcc_-m64_-Os_-fomit-frame-pointer2016111320161009
6365700? ? ?? ? ?refgcc_-Os_-fomit-frame-pointer2016111320161009
6369725? ? ?? ? ?refgcc_-march=k8_-Os_-fomit-frame-pointer2016111320161009
6376436? ? ?? ? ?refgcc_-m64_-march=k8_-Os_-fomit-frame-pointer2016111320161009
6379967? ? ?? ? ?refgcc_-march=barcelona_-Os_-fomit-frame-pointer2016111320161009
6380169? ? ?? ? ?refgcc_-m64_-march=barcelona_-Os_-fomit-frame-pointer2016111320161009
6386705? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2016111320161009
6387416? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-Os_-fomit-frame-pointer2016111320161009
6387440? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-Os_-fomit-frame-pointer2016111320161009
6408746? ? ?? ? ?refgcc_-funroll-loops_-m64_-Os_-fomit-frame-pointer2016111320161009
6409986? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2016111320161009
6410484? ? ?? ? ?refgcc_-funroll-loops_-Os_-fomit-frame-pointer2016111320161009
6426764? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-Os_-fomit-frame-pointer2016111320161009
6427648? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-Os_-fomit-frame-pointer2016111320161009
6449671? ? ?? ? ?refgcc_-m64_-march=corei7_-Os_-fomit-frame-pointer2016111320161009
6449863? ? ?? ? ?refgcc_-m64_-march=core2_-msse4_-Os_-fomit-frame-pointer2016111320161009
6449919? ? ?? ? ?refgcc_-m64_-march=core2_-Os_-fomit-frame-pointer2016111320161009
6450197? ? ?? ? ?refgcc_-m64_-march=core2_-msse4.1_-Os_-fomit-frame-pointer2016111320161009
6468330? ? ?? ? ?refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2016111320161009
6569643? ? ?? ? ?refgcc_-funroll-loops_-O3_-fomit-frame-pointer2016111320161009
6569850? ? ?? ? ?refgcc_-funroll-loops_-m64_-O3_-fomit-frame-pointer2016111320161009
6569868? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2016111320161009
6592330? ? ?? ? ?refgcc_-O3_-fomit-frame-pointer2016111320161009
6592506? ? ?? ? ?refgcc_-m64_-O3_-fomit-frame-pointer2016111320161009
6592564? ? ?? ? ?refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2016111320161009
6596253? ? ?? ? ?refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2016111320161009
6596582? ? ?? ? ?refclang_-mcpu=cortex-a8_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2016111320161009
6598682? ? ?? ? ?refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2016111320161009
6608189? ? ?? ? ?refclang_-mcpu=cortex-a9_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2016111320161009
6629561? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O3_-fomit-frame-pointer2016111320161009
6629912? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O3_-fomit-frame-pointer2016111320161009
6642331? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2016111320161009
6646537? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O3_-fomit-frame-pointer2016111320161009
6646542? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O3_-fomit-frame-pointer2016111320161009
6648029? ? ?? ? ?refgcc_-m64_-march=barcelona_-O3_-fomit-frame-pointer2016111320161009
6648148? ? ?? ? ?refgcc_-march=barcelona_-O3_-fomit-frame-pointer2016111320161009
6655138? ? ?? ? ?refgcc_-march=k8_-O3_-fomit-frame-pointer2016111320161009
6655167? ? ?? ? ?refgcc_-m64_-march=k8_-O3_-fomit-frame-pointer2016111320161009
6675160? ? ?? ? ?refgcc_-m64_-march=nocona_-Os_-fomit-frame-pointer2016111320161009
6675529? ? ?? ? ?refgcc_-march=nocona_-Os_-fomit-frame-pointer2016111320161009
6710142? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-Os_-fomit-frame-pointer2016111320161009
6711194? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-Os_-fomit-frame-pointer2016111320161009
6758269? ? ?? ? ?refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2016111320161009
6814486? ? ?? ? ?refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2016111320161009
6881663? ? ?? ? ?refgcc_-funroll-loops_-m64_-O2_-fomit-frame-pointer2016111320161009
6881731? ? ?? ? ?refgcc_-funroll-loops_-O2_-fomit-frame-pointer2016111320161009
6881952? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2016111320161009
6885408? ? ?? ? ?refgcc_-m64_-march=core2_-msse4_-O2_-fomit-frame-pointer2016111320161009
6885557? ? ?? ? ?refgcc_-m64_-march=core2_-msse4.1_-O2_-fomit-frame-pointer2016111320161009
6885586? ? ?? ? ?refgcc_-m64_-march=corei7_-O2_-fomit-frame-pointer2016111320161009
6891637? ? ?? ? ?refgcc_-m64_-march=core2_-O2_-fomit-frame-pointer2016111320161009
6913902? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O3_-fomit-frame-pointer2016111320161009
6914012? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O3_-fomit-frame-pointer2016111320161009
6918189? ? ?? ? ?refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2016111320161009
6923256? ? ?? ? ?refgcc_-m64_-O2_-fomit-frame-pointer2016111320161009
6923415? ? ?? ? ?refgcc_-O2_-fomit-frame-pointer2016111320161009
6933604? ? ?? ? ?refgcc_-m64_-march=nocona_-O3_-fomit-frame-pointer2016111320161009
6933841? ? ?? ? ?refgcc_-march=nocona_-O3_-fomit-frame-pointer2016111320161009
6940176? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O2_-fomit-frame-pointer2016111320161009
6940853? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O2_-fomit-frame-pointer2016111320161009
6957468? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O2_-fomit-frame-pointer2016111320161009
6957886? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O2_-fomit-frame-pointer2016111320161009
6966333? ? ?? ? ?refgcc_-march=barcelona_-O2_-fomit-frame-pointer2016111320161009
6966625? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2016111320161009
6967916? ? ?? ? ?refgcc_-m64_-march=barcelona_-O2_-fomit-frame-pointer2016111320161009
6999690? ? ?? ? ?refgcc_-m64_-march=k8_-O2_-fomit-frame-pointer2016111320161009
7000836? ? ?? ? ?refgcc_-march=k8_-O2_-fomit-frame-pointer2016111320161009
7221853? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O2_-fomit-frame-pointer2016111320161009
7222246? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O2_-fomit-frame-pointer2016111320161009
7233836? ? ?? ? ?refgcc_-m64_-march=nocona_-O2_-fomit-frame-pointer2016111320161009
7234161? ? ?? ? ?refgcc_-march=nocona_-O2_-fomit-frame-pointer2016111320161009
12518208? ? ?? ? ?refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2016111320161009
12518822? ? ?? ? ?refgcc_-funroll-loops_-m64_-O_-fomit-frame-pointer2016111320161009
12518886? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2016111320161009
12519022? ? ?? ? ?refgcc_-funroll-loops_-O_-fomit-frame-pointer2016111320161009
12544921? ? ?? ? ?refgcc_-m64_-O_-fomit-frame-pointer2016111320161009
12545096? ? ?? ? ?refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2016111320161009
12546575? ? ?? ? ?refgcc_-O_-fomit-frame-pointer2016111320161009
12573108? ? ?? ? ?refgcc_-m64_-march=core2_-msse4.1_-O_-fomit-frame-pointer2016111320161009
12573608? ? ?? ? ?refgcc_-m64_-march=core2_-msse4_-O_-fomit-frame-pointer2016111320161009
12573695? ? ?? ? ?refgcc_-m64_-march=core2_-O_-fomit-frame-pointer2016111320161009
12574518? ? ?? ? ?refgcc_-m64_-march=corei7_-O_-fomit-frame-pointer2016111320161009
12589799? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O_-fomit-frame-pointer2016111320161009
12592489? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O_-fomit-frame-pointer2016111320161009
12604594? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O_-fomit-frame-pointer2016111320161009
12604815? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O_-fomit-frame-pointer2016111320161009
12616680? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O_-fomit-frame-pointer2016111320161009
12617236? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O_-fomit-frame-pointer2016111320161009
12638993? ? ?? ? ?refgcc_-m64_-march=k8_-O_-fomit-frame-pointer2016111320161009
12639859? ? ?? ? ?refgcc_-march=k8_-O_-fomit-frame-pointer2016111320161009
12660024? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2016111320161009
12660266? ? ?? ? ?refgcc_-march=barcelona_-O_-fomit-frame-pointer2016111320161009
12660713? ? ?? ? ?refgcc_-m64_-march=barcelona_-O_-fomit-frame-pointer2016111320161009
12663707? ? ?? ? ?refgcc_-m64_-march=nocona_-O_-fomit-frame-pointer2016111320161009
12663710? ? ?? ? ?refgcc_-march=nocona_-O_-fomit-frame-pointer2016111320161009
24131381? ? ?? ? ?refgcc2016111320161009
24134655? ? ?? ? ?refcc2016111320161009
24135331? ? ?? ? ?refgcc_-funroll-loops2016111320161009

Test failure

Implementation: crypto_dh/ed521gs/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/ed521gs/ref
Compiler: cc
dh.c: dh.c: In function 'crypto_dh_ed521gs_ref_keypair':
dh.c: dh.c:771: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/ed521gs/ref
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
dh.c: dh.c:771: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/ed521gs/ref
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
dh.c: dh.c: In function 'crypto_dh_ed521gs_ref_keypair':
dh.c: dh.c:771: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_ed521gs_ref_keypair':
dh.c: dh.c:771: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