Implementation notes: amd64, rumba7, crypto_dh/nist521gs

Computer: rumba7
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20171218
Operation: crypto_dh
Primitive: nist521gs
TimeImplementationCompilerBenchmark dateSUPERCOP version
4745430refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2018053020171218
4825020refgcc -m64 -march=corei7-avx -Os -fomit-frame-pointer2018053020171218
4833840refgcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2018053020171218
4836780refgcc -m64 -march=corei7 -Os -fomit-frame-pointer2018053020171218
4837140refgcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2018053020171218
4841790refgcc -m64 -march=core2 -Os -fomit-frame-pointer2018053020171218
4859730refgcc -m64 -march=core-avx-i -Os -fomit-frame-pointer2018053020171218
4874070refclang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments2018053020171218
4874580refgcc -Os -fomit-frame-pointer2018053020171218
4879680refgcc -m64 -Os -fomit-frame-pointer2018053020171218
4879950refgcc -fno-schedule-insns -Os -fomit-frame-pointer2018053020171218
4880490refgcc -m64 -march=k8 -Os -fomit-frame-pointer2018053020171218
4882650refgcc -funroll-loops -m64 -Os -fomit-frame-pointer2018053020171218
4887450refgcc -funroll-loops -Os -fomit-frame-pointer2018053020171218
4892190refgcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer2018053020171218
4893990refgcc -march=k8 -Os -fomit-frame-pointer2018053020171218
4895880refgcc -m64 -march=barcelona -Os -fomit-frame-pointer2018053020171218
4897680refgcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer2018053020171218
4900380refgcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer2018053020171218
4900410refgcc -march=nocona -Os -fomit-frame-pointer2018053020171218
4900590refgcc -funroll-loops -march=k8 -Os -fomit-frame-pointer2018053020171218
4901400refgcc -march=barcelona -Os -fomit-frame-pointer2018053020171218
4903890refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2018053020171218
4906260refgcc -m64 -march=nocona -Os -fomit-frame-pointer2018053020171218
4908570refgcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer2018053020171218
4916970refgcc -funroll-loops -march=nocona -Os -fomit-frame-pointer2018053020171218
4923060refgcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer2018053020171218
4933470refclang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2018053020171218
4935510refclang -O3 -fomit-frame-pointer -Qunused-arguments2018053020171218
4939980refgcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer2018053020171218
4942200refclang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2018053020171218
4946790refclang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2018053020171218
4946850refclang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments2018053020171218
4947300refclang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments2018053020171218
4956180refclang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments2018053020171218
4956360refclang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments2018053020171218
4956660refgcc -m64 -march=core-avx2 -Os -fomit-frame-pointer2018053020171218
5073900refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2018053020171218
5078520refgcc -m64 -march=k8 -O3 -fomit-frame-pointer2018053020171218
5080020refgcc -m64 -march=barcelona -O3 -fomit-frame-pointer2018053020171218
5080680refgcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer2018053020171218
5082900refgcc -march=barcelona -O3 -fomit-frame-pointer2018053020171218
5084040refgcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer2018053020171218
5084250refgcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer2018053020171218
5091150refgcc -m64 -march=core2 -O3 -fomit-frame-pointer2018053020171218
5093880refgcc -march=k8 -O3 -fomit-frame-pointer2018053020171218
5096850refgcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer2018053020171218
5097090refgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2018053020171218
5098110refgcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer2018053020171218
5107290refgcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer2018053020171218
5108910refgcc -m64 -march=corei7 -O3 -fomit-frame-pointer2018053020171218
5118120refgcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer2018053020171218
5120310refgcc -funroll-loops -O3 -fomit-frame-pointer2018053020171218
5121750refgcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer2018053020171218
5121840refgcc -fno-schedule-insns -O3 -fomit-frame-pointer2018053020171218
5124660refgcc -funroll-loops -m64 -O3 -fomit-frame-pointer2018053020171218
5126910refgcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer2018053020171218
5130420refgcc -m64 -O3 -fomit-frame-pointer2018053020171218
5131230refgcc -O3 -fomit-frame-pointer2018053020171218
5133300refgcc -march=nocona -O3 -fomit-frame-pointer2018053020171218
5133780refgcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer2018053020171218
5135070refgcc -m64 -march=nocona -O3 -fomit-frame-pointer2018053020171218
5142900refgcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer2018053020171218
5156370refgcc -m64 -march=core-avx2 -O3 -fomit-frame-pointer2018053020171218
5218350refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2018053020171218
5219280refgcc -m64 -march=k8 -O2 -fomit-frame-pointer2018053020171218
5223630refgcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer2018053020171218
5225220refgcc -march=k8 -O2 -fomit-frame-pointer2018053020171218
5230140refgcc -m64 -march=barcelona -O2 -fomit-frame-pointer2018053020171218
5231100refgcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer2018053020171218
5231160refgcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer2018053020171218
5240940refgcc -march=barcelona -O2 -fomit-frame-pointer2018053020171218
5242410refgcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer2018053020171218
5261460refgcc -m64 -march=core2 -O2 -fomit-frame-pointer2018053020171218
5264010refgcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2018053020171218
5265690refgcc -m64 -march=corei7-avx -O2 -fomit-frame-pointer2018053020171218
5269110refgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2018053020171218
5270250refgcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2018053020171218
5272710refgcc -m64 -march=corei7 -O2 -fomit-frame-pointer2018053020171218
5277330refgcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer2018053020171218
5282910refgcc -funroll-loops -O2 -fomit-frame-pointer2018053020171218
5284770refgcc -m64 -march=nocona -O2 -fomit-frame-pointer2018053020171218
5285100refgcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer2018053020171218
5285970refgcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer2018053020171218
5286210refgcc -march=nocona -O2 -fomit-frame-pointer2018053020171218
5286750refgcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer2018053020171218
5288820refgcc -funroll-loops -m64 -O2 -fomit-frame-pointer2018053020171218
5289090refgcc -fno-schedule-insns -O2 -fomit-frame-pointer2018053020171218
5289360refgcc -O2 -fomit-frame-pointer2018053020171218
5310690refgcc -m64 -O2 -fomit-frame-pointer2018053020171218
5325420refgcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer2018053020171218
7819860refgcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer2018053020171218
7821570refgcc -march=barcelona -O -fomit-frame-pointer2018053020171218
7830360refgcc -m64 -march=barcelona -O -fomit-frame-pointer2018053020171218
7833900refgcc -funroll-loops -march=barcelona -O -fomit-frame-pointer2018053020171218
7849890refgcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer2018053020171218
7850460refgcc -funroll-loops -march=k8 -O -fomit-frame-pointer2018053020171218
7860930refgcc -march=k8 -O -fomit-frame-pointer2018053020171218
7866600refgcc -m64 -march=k8 -O -fomit-frame-pointer2018053020171218
7916040refgcc -O -fomit-frame-pointer2018053020171218
7921590refgcc -m64 -O -fomit-frame-pointer2018053020171218
7927020refgcc -m64 -march=core2 -O -fomit-frame-pointer2018053020171218
7928610refgcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer2018053020171218
7928790refgcc -m64 -march=core-avx-i -O -fomit-frame-pointer2018053020171218
7930740refgcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2018053020171218
7931850refgcc -m64 -march=corei7-avx -O -fomit-frame-pointer2018053020171218
7934700refgcc -m64 -march=corei7 -O -fomit-frame-pointer2018053020171218
7937550refgcc -m64 -march=nocona -O -fomit-frame-pointer2018053020171218
7938570refgcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer2018053020171218
7939440refgcc -fno-schedule-insns -O -fomit-frame-pointer2018053020171218
7945890refgcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer2018053020171218
7958640refgcc -funroll-loops -m64 -O -fomit-frame-pointer2018053020171218
7967820refgcc -funroll-loops -march=nocona -O -fomit-frame-pointer2018053020171218
7980990refgcc -march=nocona -O -fomit-frame-pointer2018053020171218
8002290refgcc -funroll-loops -O -fomit-frame-pointer2018053020171218
8079930refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2018053020171218
8113050refgcc -m64 -march=native -mtune=native -O -fomit-frame-pointer2018053020171218
8116770refgcc -m64 -march=core-avx2 -O -fomit-frame-pointer2018053020171218
17741220refcc2018053020171218
17741970refgcc2018053020171218
17760600refgcc -funroll-loops2018053020171218

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: 107, 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=core-avx-i -O2 -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -O -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -Os -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -O -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -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 -O3 -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 -O3 -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-avx -O2 -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -O -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -Os -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O3 -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: 10, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx -maes -mpclmul -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