Implementation notes: amd64, wintermute, crypto_dh/hecfp127i

Computer: wintermute
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20140505
Operation: crypto_dh
Primitive: hecfp127i

Compiler output

Implementation: crypto_dh/hecfp127i/v02/w8s01
Compiler: cc
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: ...

Number of similar (compiler,implementation) pairs: 22, namely:
CompilerImplementations
cc v02/w8s01 v02/w8s04 v02/w8s08
clang -O3 v02/w8s01 v02/w8s02 v02/w8s04 v02/w8s08 v02/w8s16 v02/w8s32
clang -O3 -mavx v02/var v02/w8s01 v02/w8s02 v02/w8s08 v02/w8s16 v02/w8s32
clang -O3 -mavx2 v02/var v02/w8s01 v02/w8s02 v02/w8s04 v02/w8s08 v02/w8s16 v02/w8s32

Compiler output

Implementation: crypto_dh/hecfp127i/v02/var
Compiler: cc
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: ...
divisor_add.s: cc: warning: argument unused during compilation: '-D SUPERCOP'
divisor_add.s: cc: warning: argument unused during compilation: '-I .'
divisor_add.s: cc: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
divisor_dbl.s: cc: warning: argument unused during compilation: '-D SUPERCOP'
divisor_dbl.s: cc: warning: argument unused during compilation: '-I .'
divisor_dbl.s: cc: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
divisor_madd.s: cc: warning: argument unused during compilation: '-D SUPERCOP'
divisor_madd.s: cc: warning: argument unused during compilation: '-I .'
divisor_madd.s: cc: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e127m1.s: cc: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e127m1.s: cc: warning: argument unused during compilation: '-I .'
fp_2e127m1.s: cc: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_inv_2e127m1.s: cc: warning: argument unused during compilation: '-D SUPERCOP'
fp_inv_2e127m1.s: cc: warning: argument unused during compilation: '-I .'
fp_inv_2e127m1.s: cc: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_sqrt_2e127m1.s: cc: warning: argument unused during compilation: '-D SUPERCOP'
fp_sqrt_2e127m1.s: cc: warning: argument unused during compilation: '-I .'
fp_sqrt_2e127m1.s: cc: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
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: cc: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
cc v02/var v02/w8s02 v02/w8s16 v02/w8s32

Compiler output

Implementation: crypto_dh/hecfp127i/v02/var
Compiler: clang -O3
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: ...
divisor_add.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
divisor_add.s: clang: warning: argument unused during compilation: '-I .'
divisor_add.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
divisor_dbl.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
divisor_dbl.s: clang: warning: argument unused during compilation: '-I .'
divisor_dbl.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
divisor_madd.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
divisor_madd.s: clang: warning: argument unused during compilation: '-I .'
divisor_madd.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e127m1.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e127m1.s: clang: warning: argument unused during compilation: '-I .'
fp_2e127m1.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_inv_2e127m1.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_inv_2e127m1.s: clang: warning: argument unused during compilation: '-I .'
fp_inv_2e127m1.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_sqrt_2e127m1.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_sqrt_2e127m1.s: clang: warning: argument unused during compilation: '-I .'
fp_sqrt_2e127m1.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
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: 1, namely:
CompilerImplementations
clang -O3 v02/var

Compiler output

Implementation: crypto_dh/hecfp127i/v02/w8s04
Compiler: clang -O3 -mavx
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: ...
divisor_add.s: clang: warning: argument unused during compilation: '-mavx'
divisor_add.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
divisor_add.s: clang: warning: argument unused during compilation: '-I .'
divisor_add.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
divisor_dbl.s: clang: warning: argument unused during compilation: '-mavx'
divisor_dbl.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
divisor_dbl.s: clang: warning: argument unused during compilation: '-I .'
divisor_dbl.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
divisor_madd.s: clang: warning: argument unused during compilation: '-mavx'
divisor_madd.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
divisor_madd.s: clang: warning: argument unused during compilation: '-I .'
divisor_madd.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e127m1.s: clang: warning: argument unused during compilation: '-mavx'
fp_2e127m1.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e127m1.s: clang: warning: argument unused during compilation: '-I .'
fp_2e127m1.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_inv_2e127m1.s: clang: warning: argument unused during compilation: '-mavx'
fp_inv_2e127m1.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_inv_2e127m1.s: clang: warning: argument unused during compilation: '-I .'
fp_inv_2e127m1.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_sqrt_2e127m1.s: clang: warning: argument unused during compilation: '-mavx'
fp_sqrt_2e127m1.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_sqrt_2e127m1.s: clang: warning: argument unused during compilation: '-I .'
fp_sqrt_2e127m1.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
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: 1, namely:
CompilerImplementations
clang -O3 -mavx v02/w8s04