Implementation notes: amd64, scw1b63b1, crypto_dh/kumfp61e2g

Computer: scw1b63b1
Architecture: amd64
CPU ID: GenuineIntel-000506f1-0f8bfbff
SUPERCOP version: 20191017
Operation: crypto_dh
Primitive: kumfp61e2g

Compiler output

Implementation: v01/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:13:
smul.c: ./finite128.h:511:13: warning: inline function 'kum_fp_dbl_2e061m1e2_g_x8664_asm' is not defined [-Wundefined-inline]
smul.c: inline void kum_fp_dbl_2e061m1e2_g_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni d1, void *NOPARAM3, uni CNS);
smul.c: ^
smul.c: smul.c:30:2: note: used here
smul.c: kum_fp_dbl_2e061m1e2_g_x8664_asm((uni)t, NULL, NULL, (uni)d1, NULL, (uni)cn);
smul.c: ^
smul.c: In file included from smul.c:13:
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: ^
smul.c: smul.c:31:2: note: used here
smul.c: fp_cnt_bits(&i, kn, 2*FP_LEN);
smul.c: ^
smul.c: In file included from smul.c:13:
smul.c: ./finite128.h:512:13: warning: inline function 'kum_fp_dbladd_2e061m1e2_g_x8664_asm' is not defined [-Wundefined-inline]
smul.c: inline void kum_fp_dbladd_2e061m1e2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
smul.c: ^
smul.c: smul.c:33:3: note: used here
smul.c: kum_fp_dbladd_2e061m1e2_g_x8664_asm((uni)t, kn, j, (uni)d1, (uni)d2, (uni)cn);
smul.c: ^
smul.c: 3 warnings generated.
try.c: crypto_dh_kumfp61e2g.a(smul.o): In function `kum_fp_smul_2e061m1e2_g':
try.c: smul.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v01/var
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v01/var
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v01/var
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v01/var
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v01/var

Compiler output

Implementation: v01/var
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
fp_2e061m1e2_x8664.c: In file included from finite064.h:5:0,
fp_2e061m1e2_x8664.c: from fp_2e061m1e2_x8664.c:7:
fp_2e061m1e2_x8664.c: fpx.h:24:13: warning: inline function ‘find_nextwindow’ declared but never defined
fp_2e061m1e2_x8664.c: inline void find_nextwindow(int *v, int *k, uni_t kl, int *wd, const uni en, const int i, uni_t WINDOW_SIZE_LTR, uni_t TABLE_SIZE_LTR);
fp_2e061m1e2_x8664.c: ^~~~~~~~~~~~~~~
fp_2e061m1e2_x8664.c: fpx.h:23:13: warning: inline function ‘fp_cnt_bits’ declared but never defined
fp_2e061m1e2_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e061m1e2_x8664.c: ^~~~~~~~~~~
fp_2e061m1_x8664.c: In file included from finite064.h:5:0,
fp_2e061m1_x8664.c: from fp_2e061m1_x8664.c:7:
fp_2e061m1_x8664.c: fpx.h:24:13: warning: inline function ‘find_nextwindow’ declared but never defined
fp_2e061m1_x8664.c: inline void find_nextwindow(int *v, int *k, uni_t kl, int *wd, const uni en, const int i, uni_t WINDOW_SIZE_LTR, uni_t TABLE_SIZE_LTR);
fp_2e061m1_x8664.c: ^~~~~~~~~~~~~~~
fp_2e061m1_x8664.c: fpx.h:23:13: warning: inline function ‘fp_cnt_bits’ declared but never defined
fp_2e061m1_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e061m1_x8664.c: ^~~~~~~~~~~
smul.c: In file included from smul.c:13:0:
smul.c: finite128.h:763:13: warning: inline function ‘kum_fp_dbladd_2e064mce2_g_x8664_asm’ declared but never defined
smul.c: inline void kum_fp_dbladd_2e064mce2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:762:13: warning: inline function ‘kum_fp_dbl_2e064mce2_g_x8664_asm’ declared but never defined
smul.c: inline void kum_fp_dbl_2e064mce2_g_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni d1, void *NOPARAM3, uni CNS);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:741:13: warning: inline function ‘hec_fp_aadd_2e064mce2_g2i_x8664_asm’ declared but never defined
smul.c: inline void hec_fp_aadd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: ...
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: In file included from finite128.h:5:0,
smul.c: from smul.c:13:
smul.c: fpx.h:24:13: warning: inline function ‘find_nextwindow’ declared but never defined
smul.c: inline void find_nextwindow(int *v, int *k, uni_t kl, int *wd, const uni en, const int i, uni_t WINDOW_SIZE_LTR, uni_t TABLE_SIZE_LTR);
smul.c: ^~~~~~~~~~~~~~~
smul.c: fpx.h:23:13: warning: inline function ‘fp_cnt_bits’ declared but never defined
smul.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
smul.c: ^~~~~~~~~~~
test.c: In file included from test.c:11:0:
test.c: finite128.h:763:13: warning: inline function ‘kum_fp_dbladd_2e064mce2_g_x8664_asm’ declared but never defined
test.c: inline void kum_fp_dbladd_2e064mce2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:762:13: warning: inline function ‘kum_fp_dbl_2e064mce2_g_x8664_asm’ declared but never defined
test.c: inline void kum_fp_dbl_2e064mce2_g_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni d1, void *NOPARAM3, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:741:13: warning: inline function ‘hec_fp_aadd_2e064mce2_g2i_x8664_asm’ declared but never defined
test.c: inline void hec_fp_aadd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: ...
test.c: inline void hec_fp_dbl_2e127m1_g2i_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni D3, uni d1, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: In file included from finite128.h:5:0,
test.c: from test.c:11:
test.c: fpx.h:24:13: warning: inline function ‘find_nextwindow’ declared but never defined
test.c: inline void find_nextwindow(int *v, int *k, uni_t kl, int *wd, const uni en, const int i, uni_t WINDOW_SIZE_LTR, uni_t TABLE_SIZE_LTR);
test.c: ^~~~~~~~~~~~~~~
test.c: fpx.h:23:13: warning: inline function ‘fp_cnt_bits’ declared but never defined
test.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
test.c: ^~~~~~~~~~~
try.c: crypto_dh_kumfp61e2g.a(smul.o): In function `kum_fp_smul_2e061m1e2_g':
try.c: smul.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/var
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/var
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/var
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/var