Implementation notes: amd64, scw1b63b1, crypto_dh/hecfp127i

Computer: scw1b63b1
Architecture: amd64
CPU ID: GenuineIntel-000506f1-0f8bfbff
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: In file included from smul.c:12:
smul.c: In file included from ./finite128.h:5:
smul.c: ./fpx.h:24:13: warning: inline function 'find_nextwindow' is not defined [-Wundefined-inline]
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: smul.c:344:3: note: used here
smul.c: find_nextwindow(&ni, &k, 2*FP_LEN, &wd, kn, i, WINDOW_SIZE_LTR, TABLE_SIZE_LTR);
smul.c: ^
smul.c: 5 warnings generated.
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: ...
fp_2e127m1_x8664.c: inline void hec_fp_dbl_2e127m1_g2i_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni D3, uni d1, uni CNS);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: In file included from finite128.h:5:0,
fp_2e127m1_x8664.c: from fp_2e127m1_x8664.c:5:
fp_2e127m1_x8664.c: fpx.h:24:13: warning: inline function ‘find_nextwindow’ declared but never defined
fp_2e127m1_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_2e127m1_x8664.c: ^~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: fpx.h:23:13: warning: inline function ‘fp_cnt_bits’ declared but never defined
fp_2e127m1_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
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: ...
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:12:
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: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: ...
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_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