Implementation notes: amd64, genji291, crypto_dh/gls1271

Computer: genji291
Architecture: amd64
CPU ID: GenuineIntel-00050671-bfebfbff
SUPERCOP version: 20180818
Operation: crypto_dh
Primitive: gls1271

Compiler output

Implementation: crypto_dh/gls1271/ref4
Compiler: cc
try.c: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/knownrandombytes.o: In function `randombytes':
try.c: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memcpy'
try.c: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memset'
try.c: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-api.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2':
try.c: api.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-chacha.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2_ECRYPT_keystream_bytes':
try.c: chacha.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc ref4

Compiler output

Implementation: crypto_dh/gls1271/ref4
Compiler: gcc
gls1271.c: gls1271.c: In function 'crypto_dh_gls1271_ref4_keypair':
gls1271.c: gls1271.c:385:2: warning: implicit declaration of function 'ecn2_brick_init'; did you mean 'ebrick_init'? [-Wimplicit-function-declaration]
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^~~~~~~~~~~~~~~
gls1271.c: ebrick_init
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes'; did you mean 'big_to_bytes'? [-Wimplicit-function-declaration]
gls1271.c: randombytes(sk,32);
gls1271.c: ^~~~~~~~~~~
gls1271.c: big_to_bytes
mrecn2.c: mrecn2.c: In function 'zzn2_div2_i':
mrecn2.c: mrecn2.c:20:2: warning: implicit declaration of function 'moddiv2'; did you mean 'muldiv'? [-Wimplicit-function-declaration]
mrecn2.c: moddiv2(w->gt;a->gt;w);
mrecn2.c: ^~~~~~~
mrecn2.c: muldiv
mrecn2.c: mrecn2.c: In function 'zzn2_tim2_i':
mrecn2.c: mrecn2.c:32:2: warning: implicit declaration of function 'modtim2'; did you mean 'mkdtemp'? [-Wimplicit-function-declaration]
mrecn2.c: modtim2(w->gt;a->gt;w);
mrecn2.c: ^~~~~~~
mrecn2.c: mkdtemp
mrecn2.c: mrecn2.c: In function 'zzn2_tim3_i':
mrecn2.c: mrecn2.c:44:2: warning: implicit declaration of function 'modtim3'; did you mean 'mkdtemp'? [-Wimplicit-function-declaration]
mrecn2.c: modtim3(w->gt;a->gt;w);
mrecn2.c: ^~~~~~~
mrecn2.c: mkdtemp
mrecn2.c: mrecn2.c: In function 'zzn2_add_i':
mrecn2.c: mrecn2.c:70:5: warning: implicit declaration of function 'modadd'; did you mean 'mad'? [-Wimplicit-function-declaration]
mrecn2.c: modadd(x->gt;a->gt;w,y->gt;a->gt;w,w->gt;a->gt;w);
mrecn2.c: ^~~~~~
mrecn2.c: mad
mrecn2.c: mrecn2.c: In function 'zzn2_sub_i':
mrecn2.c: mrecn2.c:81:5: warning: implicit declaration of function 'modsub'; did you mean 'mr_psub'? [-Wimplicit-function-declaration]
mrecn2.c: modsub(x->gt;a->gt;w,y->gt;a->gt;w,w->gt;a->gt;w);
mrecn2.c: ^~~~~~
mrecn2.c: mr_psub
mrecn2.c: ...

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

Compiler output

Implementation: crypto_dh/gls1271/ref4
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
gls1271.c: gls1271.c: In function 'crypto_dh_gls1271_ref4_keypair':
gls1271.c: gls1271.c:385:2: warning: implicit declaration of function 'ecn2_brick_init'; did you mean 'ebrick_init'? [-Wimplicit-function-declaration]
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^~~~~~~~~~~~~~~
gls1271.c: ebrick_init
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes'; did you mean 'big_to_bytes'? [-Wimplicit-function-declaration]
gls1271.c: randombytes(sk,32);
gls1271.c: ^~~~~~~~~~~
gls1271.c: big_to_bytes
mrecn2.c: mrecn2.c: In function 'zzn2_div2_i':
mrecn2.c: mrecn2.c:20:2: warning: implicit declaration of function 'moddiv2'; did you mean 'muldiv'? [-Wimplicit-function-declaration]
mrecn2.c: moddiv2(w->gt;a->gt;w);
mrecn2.c: ^~~~~~~
mrecn2.c: muldiv
mrecn2.c: mrecn2.c: In function 'zzn2_tim2_i':
mrecn2.c: mrecn2.c:32:2: warning: implicit declaration of function 'modtim2'; did you mean 'mkdtemp'? [-Wimplicit-function-declaration]
mrecn2.c: modtim2(w->gt;a->gt;w);
mrecn2.c: ^~~~~~~
mrecn2.c: mkdtemp
mrecn2.c: mrecn2.c: In function 'zzn2_tim3_i':
mrecn2.c: mrecn2.c:44:2: warning: implicit declaration of function 'modtim3'; did you mean 'mkdtemp'? [-Wimplicit-function-declaration]
mrecn2.c: modtim3(w->gt;a->gt;w);
mrecn2.c: ^~~~~~~
mrecn2.c: mkdtemp
mrecn2.c: mrecn2.c: In function 'zzn2_add_i':
mrecn2.c: mrecn2.c:70:5: warning: implicit declaration of function 'modadd'; did you mean 'mad'? [-Wimplicit-function-declaration]
mrecn2.c: modadd(x->gt;a->gt;w,y->gt;a->gt;w,w->gt;a->gt;w);
mrecn2.c: ^~~~~~
mrecn2.c: mad
mrecn2.c: mrecn2.c: In function 'zzn2_sub_i':
mrecn2.c: mrecn2.c:81:5: warning: implicit declaration of function 'modsub'; did you mean 'mr_psub'? [-Wimplicit-function-declaration]
mrecn2.c: modsub(x->gt;a->gt;w,y->gt;a->gt;w,w->gt;a->gt;w);
mrecn2.c: ^~~~~~
mrecn2.c: mr_psub
mrecn2.c: ...
gls1271.c: gls1271.c: In function 'crypto_dh_gls1271_ref4_keypair':
gls1271.c: gls1271.c:385:2: warning: implicit declaration of function 'ecn2_brick_init'; did you mean 'ebrick_init'? [-Wimplicit-function-declaration]
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^~~~~~~~~~~~~~~
gls1271.c: ebrick_init
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes'; did you mean 'big_to_bytes'? [-Wimplicit-function-declaration]
gls1271.c: randombytes(sk,32);
gls1271.c: ^~~~~~~~~~~
gls1271.c: big_to_bytes
mrecn2.c: mrecn2.c: In function 'zzn2_div2_i':
mrecn2.c: mrecn2.c:20:2: warning: implicit declaration of function 'moddiv2'; did you mean 'muldiv'? [-Wimplicit-function-declaration]
mrecn2.c: moddiv2(w->gt;a->gt;w);
mrecn2.c: ^~~~~~~
mrecn2.c: muldiv
mrecn2.c: mrecn2.c: In function 'zzn2_tim2_i':
mrecn2.c: mrecn2.c:32:2: warning: implicit declaration of function 'modtim2'; did you mean 'mkdtemp'? [-Wimplicit-function-declaration]
mrecn2.c: modtim2(w->gt;a->gt;w);
mrecn2.c: ^~~~~~~
mrecn2.c: mkdtemp
mrecn2.c: mrecn2.c: In function 'zzn2_tim3_i':
mrecn2.c: mrecn2.c:44:2: warning: implicit declaration of function 'modtim3'; did you mean 'mkdtemp'? [-Wimplicit-function-declaration]
mrecn2.c: modtim3(w->gt;a->gt;w);
mrecn2.c: ^~~~~~~
mrecn2.c: mkdtemp
mrecn2.c: mrecn2.c: In function 'zzn2_add_i':
mrecn2.c: mrecn2.c:70:5: warning: implicit declaration of function 'modadd'; did you mean 'mad'? [-Wimplicit-function-declaration]
mrecn2.c: modadd(x->gt;a->gt;w,y->gt;a->gt;w,w->gt;a->gt;w);
mrecn2.c: ^~~~~~
mrecn2.c: mad
mrecn2.c: mrecn2.c: In function 'zzn2_sub_i':
mrecn2.c: mrecn2.c:81:5: warning: implicit declaration of function 'modsub'; did you mean 'mr_psub'? [-Wimplicit-function-declaration]
mrecn2.c: modsub(x->gt;a->gt;w,y->gt;a->gt;w,w->gt;a->gt;w);
mrecn2.c: ^~~~~~
mrecn2.c: mr_psub
mrecn2.c: ...

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

Compiler output

Implementation: crypto_dh/gls1271/ref4
Compiler: icc
gls1271.c: gls1271.c(385): warning #266: function "ecn2_brick_init" declared implicitly
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^
gls1271.c:
gls1271.c: gls1271.c(391): warning #266: function "randombytes" declared implicitly
gls1271.c: randombytes(sk,32);
gls1271.c: ^
gls1271.c:
mrecn2.c: mrecn2.c(20): warning #266: function "moddiv2" declared implicitly
mrecn2.c: moddiv2(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(32): warning #266: function "modtim2" declared implicitly
mrecn2.c: modtim2(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(44): warning #266: function "modtim3" declared implicitly
mrecn2.c: modtim3(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(70): warning #266: function "modadd" declared implicitly
mrecn2.c: modadd(x->gt;a->gt;w,y->gt;a->gt;w,w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(81): warning #266: function "modsub" declared implicitly
mrecn2.c: modsub(x->gt;a->gt;w,y->gt;a->gt;w,w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(96): warning #266: function "modneg" declared implicitly
mrecn2.c: modneg(u->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(137): warning #266: function "modpmul" declared implicitly
mrecn2.c: ...

Number of similar (compiler,implementation) pairs: 16, namely:
CompilerImplementations
icc ref4
icc -no-vec ref4
icc -xAVX -O2 -fomit-frame-pointer ref4
icc -xAVX -O3 -fomit-frame-pointer ref4
icc -xCOMMON-AVX512 -O2 -fomit-frame-pointer ref4
icc -xCOMMON-AVX512 -O3 -fomit-frame-pointer ref4
icc -xCORE-AVX-I -O2 -fomit-frame-pointer ref4
icc -xCORE-AVX-I -O3 -fomit-frame-pointer ref4
icc -xCORE-AVX2 -O2 -fomit-frame-pointer ref4
icc -xCORE-AVX2 -O3 -fomit-frame-pointer ref4
icc -xMIC-AVX512 -O2 -fomit-frame-pointer ref4
icc -xMIC-AVX512 -O3 -fomit-frame-pointer ref4
icc -xSSE4.1 -O2 -fomit-frame-pointer ref4
icc -xSSE4.1 -O3 -fomit-frame-pointer ref4
icc -xSSE4.2 -O2 -fomit-frame-pointer ref4
icc -xSSE4.2 -O3 -fomit-frame-pointer ref4