Implementation notes: amd64, bolero, crypto_dh/gls1271

Computer: bolero
Architecture: amd64
CPU ID: GenuineIntel-000406f1-bfebfbff
SUPERCOP version: 20171218
Operation: crypto_dh
Primitive: gls1271
TimeImplementationCompilerBenchmark dateSUPERCOP version
579408ref4gcc -O -fomit-frame-pointer2017110620171020

Compiler output

Implementation: crypto_dh/gls1271/ref4
Compiler: cc
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' [-Wimplicit-function-declaration]
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes' [-Wimplicit-function-declaration]
gls1271.c: randombytes(sk,32);
gls1271.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_div2_i':
mrecn2.c: mrecn2.c:20:2: warning: implicit declaration of function 'moddiv2' [-Wimplicit-function-declaration]
mrecn2.c: moddiv2(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_tim2_i':
mrecn2.c: mrecn2.c:32:2: warning: implicit declaration of function 'modtim2' [-Wimplicit-function-declaration]
mrecn2.c: modtim2(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_tim3_i':
mrecn2.c: mrecn2.c:44:2: warning: implicit declaration of function 'modtim3' [-Wimplicit-function-declaration]
mrecn2.c: modtim3(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_add_i':
mrecn2.c: mrecn2.c:70:5: warning: implicit declaration of function 'modadd' [-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: mrecn2.c: In function 'zzn2_sub_i':
mrecn2.c: mrecn2.c:81:5: warning: implicit declaration of function 'modsub' [-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: mrecn2.c: In function 'zzn2_timesi_i':
mrecn2.c: mrecn2.c:96:2: warning: implicit declaration of function 'modneg' [-Wimplicit-function-declaration]
mrecn2.c: modneg(u->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_imul_i':
mrecn2.c: ...

Number of similar (compiler,implementation) pairs: 106, namely:
CompilerImplementations
cc ref4
gcc ref4
gcc -O2 -fomit-frame-pointer ref4
gcc -O3 -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: clang -O3 -fomit-frame-pointer -Qunused-arguments
gls1271.c: gls1271.c:385:2: warning: implicit declaration of function 'ecn2_brick_init' is invalid in C99 [-Wimplicit-function-declaration]
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes' is invalid in C99 [-Wimplicit-function-declaration]
gls1271.c: randombytes(sk,32);
gls1271.c: ^
gls1271.c: gls1271.c:395:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
gls1271.c: bytes_to_big(mip,16,sk,a[0]);
gls1271.c: ^~
gls1271.c: ./miracl.h:842:50: note: passing argument to parameter here
gls1271.c: extern void bytes_to_big(_MIPT_ int,const char *,big);
gls1271.c: ^
gls1271.c: gls1271.c:396:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
gls1271.c: bytes_to_big(mip,16,&sk[16],a[1]);
gls1271.c: ^~~~~~~
gls1271.c: ./miracl.h:842:50: note: passing argument to parameter here
gls1271.c: extern void bytes_to_big(_MIPT_ int,const char *,big);
gls1271.c: ^
gls1271.c: gls1271.c:400:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
gls1271.c: big_to_bytes(mip,16,x.a,pk,TRUE);
gls1271.c: ^~
gls1271.c: ./miracl.h:843:48: note: passing argument to parameter here
gls1271.c: extern int big_to_bytes(_MIPT_ int,big,char *,BOOL);
gls1271.c: ^
gls1271.c: gls1271.c:401:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
gls1271.c: ...

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments ref4
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments ref4
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref4
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments ref4
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments ref4
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref4
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref4
clang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref4
clang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref4
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref4

Compiler output

Implementation: crypto_dh/gls1271/ref4
Compiler: gcc -O -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' [-Wimplicit-function-declaration]
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes' [-Wimplicit-function-declaration]
gls1271.c: randombytes(sk,32);
gls1271.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_div2_i':
mrecn2.c: mrecn2.c:20:2: warning: implicit declaration of function 'moddiv2' [-Wimplicit-function-declaration]
mrecn2.c: moddiv2(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_tim2_i':
mrecn2.c: mrecn2.c:32:2: warning: implicit declaration of function 'modtim2' [-Wimplicit-function-declaration]
mrecn2.c: modtim2(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_tim3_i':
mrecn2.c: mrecn2.c:44:2: warning: implicit declaration of function 'modtim3' [-Wimplicit-function-declaration]
mrecn2.c: modtim3(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_add_i':
mrecn2.c: mrecn2.c:70:5: warning: implicit declaration of function 'modadd' [-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: mrecn2.c: In function 'zzn2_sub_i':
mrecn2.c: mrecn2.c:81:5: warning: implicit declaration of function 'modsub' [-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: mrecn2.c: In function 'zzn2_timesi_i':
mrecn2.c: mrecn2.c:96:2: warning: implicit declaration of function 'modneg' [-Wimplicit-function-declaration]
mrecn2.c: modneg(u->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_imul_i':
mrecn2.c: ...
mrmonty.c: mrmonty.c: In function 'nres_negate':
mrmonty.c: mrmonty.c:752:2: warning: implicit declaration of function 'modneg' [-Wimplicit-function-declaration]
mrmonty.c: modneg(w->gt;w);
mrmonty.c: ^
mrmonty.c: mrmonty.c: In function 'nres_modadd':
mrmonty.c: mrmonty.c:901:2: warning: implicit declaration of function 'modadd' [-Wimplicit-function-declaration]
mrmonty.c: modadd(x->gt;w,y->gt;w,w->gt;w);
mrmonty.c: ^
mrmonty.c: mrmonty.c: In function 'nres_modsub':
mrmonty.c: mrmonty.c:935:2: warning: implicit declaration of function 'modsub' [-Wimplicit-function-declaration]
mrmonty.c: modsub(x->gt;w,y->gt;w,w->gt;w);
mrmonty.c: ^
mrmonty.c: mrmonty.c: In function 'nres_modmult':
mrmonty.c: mrmonty.c:1075:16: warning: implicit declaration of function 'modsqr' [-Wimplicit-function-declaration]
mrmonty.c: if (x==y) modsqr(x->gt;w,w->gt;w);
mrmonty.c: ^
mrmonty.c: mrmonty.c:1076:16: warning: implicit declaration of function 'modmult' [-Wimplicit-function-declaration]
mrmonty.c: else modmult(x->gt;w,y->gt;w,w->gt;w);
mrmonty.c: ^
mrzzn2.c: mrzzn2.c: In function 'zzn2_sub':
mrzzn2.c: mrzzn2.c:37:5: warning: implicit declaration of function 'modsub' [-Wimplicit-function-declaration]
mrzzn2.c: modsub(x->gt;a->gt;w,y->gt;a->gt;w,w->gt;a->gt;w);
mrzzn2.c: ^
mrzzn2.c: mrzzn2.c: In function 'zzn2_add':
mrzzn2.c: mrzzn2.c:59:5: warning: implicit declaration of function 'modadd' [-Wimplicit-function-declaration]
mrzzn2.c: modadd(x->gt;a->gt;w,y->gt;a->gt;w,w->gt;a->gt;w);
mrzzn2.c: ^
mrzzn2.c: mrzzn2.c: In function 'zzn2_negate':
mrzzn2.c: mrzzn2.c:174:2: warning: implicit declaration of function 'modneg' [-Wimplicit-function-declaration]
mrzzn2.c: modneg(w->gt;a->gt;w);
mrzzn2.c: ^
mrzzn2.c: mrzzn2.c: In function 'zzn2_div2':
mrzzn2.c: mrzzn2.c:319:2: warning: implicit declaration of function 'moddiv2' [-Wimplicit-function-declaration]
mrzzn2.c: moddiv2(w->gt;a->gt;w);
mrzzn2.c: ^
mrzzn2.c: mrzzn2.c: In function 'zzn2_sqr':
mrzzn2.c: mrzzn2.c:514:2: warning: implicit declaration of function 'modmult' [-Wimplicit-function-declaration]
mrzzn2.c: modmult(x->gt;a->gt;w,x->gt;b->gt;w,w->gt;b->gt;w);
mrzzn2.c: ^

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -O -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' [-Wimplicit-function-declaration]
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes' [-Wimplicit-function-declaration]
gls1271.c: randombytes(sk,32);
gls1271.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_div2_i':
mrecn2.c: mrecn2.c:20:2: warning: implicit declaration of function 'moddiv2' [-Wimplicit-function-declaration]
mrecn2.c: moddiv2(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_tim2_i':
mrecn2.c: mrecn2.c:32:2: warning: implicit declaration of function 'modtim2' [-Wimplicit-function-declaration]
mrecn2.c: modtim2(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_tim3_i':
mrecn2.c: mrecn2.c:44:2: warning: implicit declaration of function 'modtim3' [-Wimplicit-function-declaration]
mrecn2.c: modtim3(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_add_i':
mrecn2.c: mrecn2.c:70:5: warning: implicit declaration of function 'modadd' [-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: mrecn2.c: In function 'zzn2_sub_i':
mrecn2.c: mrecn2.c:81:5: warning: implicit declaration of function 'modsub' [-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: mrecn2.c: In function 'zzn2_timesi_i':
mrecn2.c: mrecn2.c:96:2: warning: implicit declaration of function 'modneg' [-Wimplicit-function-declaration]
mrecn2.c: modneg(u->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_imul_i':
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' [-Wimplicit-function-declaration]
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes' [-Wimplicit-function-declaration]
gls1271.c: randombytes(sk,32);
gls1271.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_div2_i':
mrecn2.c: mrecn2.c:20:2: warning: implicit declaration of function 'moddiv2' [-Wimplicit-function-declaration]
mrecn2.c: moddiv2(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_tim2_i':
mrecn2.c: mrecn2.c:32:2: warning: implicit declaration of function 'modtim2' [-Wimplicit-function-declaration]
mrecn2.c: modtim2(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_tim3_i':
mrecn2.c: mrecn2.c:44:2: warning: implicit declaration of function 'modtim3' [-Wimplicit-function-declaration]
mrecn2.c: modtim3(w->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_add_i':
mrecn2.c: mrecn2.c:70:5: warning: implicit declaration of function 'modadd' [-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: mrecn2.c: In function 'zzn2_sub_i':
mrecn2.c: mrecn2.c:81:5: warning: implicit declaration of function 'modsub' [-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: mrecn2.c: In function 'zzn2_timesi_i':
mrecn2.c: mrecn2.c:96:2: warning: implicit declaration of function 'modneg' [-Wimplicit-function-declaration]
mrecn2.c: modneg(u->gt;a->gt;w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_imul_i':
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