Implementation notes: amd64, intelnuci7, crypto_dh/hecfp127i

Computer: intelnuci7
Architecture: amd64
CPU ID: GenuineIntel-000806e9-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_dh
Primitive: hecfp127i

Compiler output

Implementation: v02/var
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:114:13: warning: inline function 'hec_fp_dbl_2e127m1_g2i_x8664_asm' is not defined [-Wundefined-inline]
smul.c: inline void hec_fp_dbl_2e127m1_g2i_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni D3, uni d1, uni CNS);
smul.c: ^
smul.c: smul.c:38:2: note: used here
smul.c: hec_fp_dbl_2e127m1_g2i_x8664_asm((uni)t, NULL, NULL, (uni)d3, (uni)d1, (uni)cn);
smul.c: ^
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:115:13: warning: inline function 'hec_fp_add_2e127m1_g2i_x8664_asm' is not defined [-Wundefined-inline]
smul.c: inline void hec_fp_add_2e127m1_g2i_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni D3, uni d1, uni d2);
smul.c: ^
smul.c: smul.c:136:3: note: used here
smul.c: hec_fp_add_2e127m1_g2i_x8664_asm((uni)t, NULL, NULL, (uni)d3, (uni)d1, (uni)d2);
smul.c: ^
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:116:13: warning: inline function 'hec_fp_madd_2e127m1_g2i_x8664_asm' is not defined [-Wundefined-inline]
smul.c: inline void hec_fp_madd_2e127m1_g2i_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni D3, uni d1, uni d2);
smul.c: ^
smul.c: smul.c:231:3: note: used here
smul.c: hec_fp_madd_2e127m1_g2i_x8664_asm((uni)t, NULL, NULL, (uni)d3, (uni)d1, (uni)d2);
smul.c: ^
smul.c: In file included from smul.c:12:
smul.c: In file included from ./finite128.h:5:
smul.c: ./fpx.h:23:13: warning: inline function 'fp_cnt_bits' is not defined [-Wundefined-inline]
smul.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
smul.c: ...
try.c: crypto_dh_hecfp127i.a(smul.o): In function `hec_fp_smul_2e127m1_g2i':
try.c: smul.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: smul.c:(.text+0x...): undefined reference to `find_nextwindow'
try.c: smul.c:(.text+0x...): undefined reference to `find_nextwindow'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 35, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/var
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/var
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/var
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/var
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/var
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s01
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s01
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s01
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s01
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s01
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s02
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s02
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s02
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s02
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s02
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s04
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s04
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s04
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s04
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s04
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s08
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s08
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s08
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s08
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s08
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s16
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s16
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s16
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s16
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s16
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s32
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s32
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s32
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s32
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v02/w8s32

Compiler output

Implementation: v02/var
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
fp_2e127m1_x8664.c: In file included from fp_2e127m1_x8664.c:5:0:
fp_2e127m1_x8664.c: finite128.h:797:13: warning: inline function 'kum_fp_dbladd_2e64mce2_g_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void kum_fp_dbladd_2e64mce2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:796:13: warning: inline function 'kum_fp_dbl_2e64mce2_g_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void kum_fp_dbl_2e64mce2_g_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni d1, void *NOPARAM3, uni CNS);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:773:13: warning: inline function 'hec_fp_aadd_2e64mce2_g2i_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void hec_fp_aadd_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:772:13: warning: inline function 'hec_fp_madd_2e64mce2_g2i_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void hec_fp_madd_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:771:13: warning: inline function 'hec_fp_add_2e64mce2_g2i_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void hec_fp_add_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:770:13: warning: inline function 'hec_fp_dbl_2e64mce2_g2i_a2is0_a3is0_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void hec_fp_dbl_2e64mce2_g2i_a2is0_a3is0_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:769:13: warning: inline function 'hec_fp_dbl_2e64mce2_g2i_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void hec_fp_dbl_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:526:13: warning: inline function 'kum_fp_dbladd_2e61m1e2_g_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void kum_fp_dbladd_2e61m1e2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: ...
smul.c: In file included from smul.c:12:0:
smul.c: finite128.h:797:13: warning: inline function 'kum_fp_dbladd_2e64mce2_g_x8664_asm' declared but never defined
smul.c: inline void kum_fp_dbladd_2e64mce2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:796:13: warning: inline function 'kum_fp_dbl_2e64mce2_g_x8664_asm' declared but never defined
smul.c: inline void kum_fp_dbl_2e64mce2_g_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni d1, void *NOPARAM3, uni CNS);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:773:13: warning: inline function 'hec_fp_aadd_2e64mce2_g2i_x8664_asm' declared but never defined
smul.c: inline void hec_fp_aadd_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:772:13: warning: inline function 'hec_fp_madd_2e64mce2_g2i_x8664_asm' declared but never defined
smul.c: inline void hec_fp_madd_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:771:13: warning: inline function 'hec_fp_add_2e64mce2_g2i_x8664_asm' declared but never defined
smul.c: inline void hec_fp_add_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:770:13: warning: inline function 'hec_fp_dbl_2e64mce2_g2i_a2is0_a3is0_x8664_asm' declared but never defined
smul.c: inline void hec_fp_dbl_2e64mce2_g2i_a2is0_a3is0_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:769:13: warning: inline function 'hec_fp_dbl_2e64mce2_g2i_x8664_asm' declared but never defined
smul.c: inline void hec_fp_dbl_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:526:13: warning: inline function 'kum_fp_dbladd_2e61m1e2_g_x8664_asm' declared but never defined
smul.c: inline void kum_fp_dbladd_2e61m1e2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: ...
test.c: In file included from test.c:11:0:
test.c: finite128.h:797:13: warning: inline function 'kum_fp_dbladd_2e64mce2_g_x8664_asm' declared but never defined
test.c: inline void kum_fp_dbladd_2e64mce2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:796:13: warning: inline function 'kum_fp_dbl_2e64mce2_g_x8664_asm' declared but never defined
test.c: inline void kum_fp_dbl_2e64mce2_g_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni d1, void *NOPARAM3, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:773:13: warning: inline function 'hec_fp_aadd_2e64mce2_g2i_x8664_asm' declared but never defined
test.c: inline void hec_fp_aadd_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:772:13: warning: inline function 'hec_fp_madd_2e64mce2_g2i_x8664_asm' declared but never defined
test.c: inline void hec_fp_madd_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:771:13: warning: inline function 'hec_fp_add_2e64mce2_g2i_x8664_asm' declared but never defined
test.c: inline void hec_fp_add_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:770:13: warning: inline function 'hec_fp_dbl_2e64mce2_g2i_a2is0_a3is0_x8664_asm' declared but never defined
test.c: inline void hec_fp_dbl_2e64mce2_g2i_a2is0_a3is0_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:769:13: warning: inline function 'hec_fp_dbl_2e64mce2_g2i_x8664_asm' declared but never defined
test.c: inline void hec_fp_dbl_2e64mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:526:13: warning: inline function 'kum_fp_dbladd_2e61m1e2_g_x8664_asm' declared but never defined
test.c: inline void kum_fp_dbladd_2e61m1e2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: ...
try.c: crypto_dh_hecfp127i.a(smul.o): In function `hec_fp_smul_2e127m1_g2i':
try.c: smul.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: smul.c:(.text+0x...): undefined reference to `find_nextwindow'
try.c: smul.c:(.text+0x...): undefined reference to `find_nextwindow'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 28, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/var
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/var
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/var
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/var
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s01
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s01
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s01
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s01
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s02
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s02
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s02
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s02
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s04
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s04
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s04
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s04
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s08
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s08
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s08
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s08
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s16
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s16
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s16
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s16
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s32
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v02/w8s32