Implementation notes: amd64, wintermute, crypto_dh/kumfp64e2g

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

Compiler output

Implementation: crypto_dh/kumfp64e2g/v01/var
Compiler: cc
fp_2e064mc_x8664.c: In file included from fp_2e064mc_x8664.c:7:
fp_2e064mc_x8664.c: In file included from ./finite064.h:5:
fp_2e064mc_x8664.c: ./fpx.h:23:13: warning: inline function 'fp_cnt_bits' is not defined [-Wundefined-inline]
fp_2e064mc_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e064mc_x8664.c: ^
fp_2e064mc_x8664.c: fp_2e064mc_x8664.c:16:2: note: used here
fp_2e064mc_x8664.c: fp_cnt_bits(&i, n01, FP_LEN);
fp_2e064mc_x8664.c: ^
fp_2e064mc_x8664.c: 1 warning generated.
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:762:13: warning: inline function 'kum_fp_dbl_2e064mce2_g_x8664_asm' is not defined [-Wundefined-inline]
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: smul.c:29:2: note: used here
smul.c: kum_fp_dbl_2e064mce2_g_x8664_asm((uni)t, NULL, NULL, (uni)d1, NULL, (uni)cn);
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: ^
smul.c: smul.c:30:2: note: used here
smul.c: fp_cnt_bits(&i, kn, 2*FP_LEN);
smul.c: ^
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:763:13: warning: inline function 'kum_fp_dbladd_2e064mce2_g_x8664_asm' is not defined [-Wundefined-inline]
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: smul.c:32:3: note: used here
smul.c: kum_fp_dbladd_2e064mce2_g_x8664_asm((uni)t, kn, j, (uni)d1, (uni)d2, (uni)cn);
smul.c: ^
smul.c: 3 warnings generated.
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_dbladd.s: cc: warning: argument unused during compilation: '-D SUPERCOP'
divisor_dbladd.s: cc: warning: argument unused during compilation: '-I .'
divisor_dbladd.s: cc: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e064mc.s: cc: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e064mc.s: cc: warning: argument unused during compilation: '-I .'
fp_2e064mc.s: cc: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e064mce2.s: cc: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e064mce2.s: cc: warning: argument unused during compilation: '-I .'
fp_2e064mce2.s: cc: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
try.c: crypto_dh_kumfp64e2g.a(smul.o): In function `kum_fp_smul_2e064mce2_g':
try.c: smul.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: crypto_dh_kumfp64e2g.a(fp_2e064mc_x8664.o): In function `fp_inv_2e064mc_x8664':
try.c: fp_2e064mc_x8664.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: cc: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc v01/var

Compiler output

Implementation: crypto_dh/kumfp64e2g/v01/var
Compiler: clang -O3
fp_2e064mc_x8664.c: In file included from fp_2e064mc_x8664.c:7:
fp_2e064mc_x8664.c: In file included from ./finite064.h:5:
fp_2e064mc_x8664.c: ./fpx.h:23:13: warning: inline function 'fp_cnt_bits' is not defined [-Wundefined-inline]
fp_2e064mc_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e064mc_x8664.c: ^
fp_2e064mc_x8664.c: fp_2e064mc_x8664.c:16:2: note: used here
fp_2e064mc_x8664.c: fp_cnt_bits(&i, n01, FP_LEN);
fp_2e064mc_x8664.c: ^
fp_2e064mc_x8664.c: 1 warning generated.
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:762:13: warning: inline function 'kum_fp_dbl_2e064mce2_g_x8664_asm' is not defined [-Wundefined-inline]
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: smul.c:29:2: note: used here
smul.c: kum_fp_dbl_2e064mce2_g_x8664_asm((uni)t, NULL, NULL, (uni)d1, NULL, (uni)cn);
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: ^
smul.c: smul.c:30:2: note: used here
smul.c: fp_cnt_bits(&i, kn, 2*FP_LEN);
smul.c: ^
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:763:13: warning: inline function 'kum_fp_dbladd_2e064mce2_g_x8664_asm' is not defined [-Wundefined-inline]
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: smul.c:32:3: note: used here
smul.c: kum_fp_dbladd_2e064mce2_g_x8664_asm((uni)t, kn, j, (uni)d1, (uni)d2, (uni)cn);
smul.c: ^
smul.c: 3 warnings generated.
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_dbladd.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
divisor_dbladd.s: clang: warning: argument unused during compilation: '-I .'
divisor_dbladd.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-I .'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-I .'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
try.c: crypto_dh_kumfp64e2g.a(smul.o): In function `kum_fp_smul_2e064mce2_g':
try.c: smul.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: crypto_dh_kumfp64e2g.a(fp_2e064mc_x8664.o): In function `fp_inv_2e064mc_x8664':
try.c: fp_2e064mc_x8664.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: 1, namely:
CompilerImplementations
clang -O3 v01/var

Compiler output

Implementation: crypto_dh/kumfp64e2g/v01/var
Compiler: clang -O3 -mavx
fp_2e064mc_x8664.c: In file included from fp_2e064mc_x8664.c:7:
fp_2e064mc_x8664.c: In file included from ./finite064.h:5:
fp_2e064mc_x8664.c: ./fpx.h:23:13: warning: inline function 'fp_cnt_bits' is not defined [-Wundefined-inline]
fp_2e064mc_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e064mc_x8664.c: ^
fp_2e064mc_x8664.c: fp_2e064mc_x8664.c:16:2: note: used here
fp_2e064mc_x8664.c: fp_cnt_bits(&i, n01, FP_LEN);
fp_2e064mc_x8664.c: ^
fp_2e064mc_x8664.c: 1 warning generated.
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:762:13: warning: inline function 'kum_fp_dbl_2e064mce2_g_x8664_asm' is not defined [-Wundefined-inline]
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: smul.c:29:2: note: used here
smul.c: kum_fp_dbl_2e064mce2_g_x8664_asm((uni)t, NULL, NULL, (uni)d1, NULL, (uni)cn);
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: ^
smul.c: smul.c:30:2: note: used here
smul.c: fp_cnt_bits(&i, kn, 2*FP_LEN);
smul.c: ^
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:763:13: warning: inline function 'kum_fp_dbladd_2e064mce2_g_x8664_asm' is not defined [-Wundefined-inline]
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: smul.c:32:3: note: used here
smul.c: kum_fp_dbladd_2e064mce2_g_x8664_asm((uni)t, kn, j, (uni)d1, (uni)d2, (uni)cn);
smul.c: ^
smul.c: 3 warnings generated.
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_dbladd.s: clang: warning: argument unused during compilation: '-mavx'
divisor_dbladd.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
divisor_dbladd.s: clang: warning: argument unused during compilation: '-I .'
divisor_dbladd.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-mavx'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-I .'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-mavx'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-I .'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
try.c: crypto_dh_kumfp64e2g.a(smul.o): In function `kum_fp_smul_2e064mce2_g':
try.c: smul.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: crypto_dh_kumfp64e2g.a(fp_2e064mc_x8664.o): In function `fp_inv_2e064mc_x8664':
try.c: fp_2e064mc_x8664.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: 1, namely:
CompilerImplementations
clang -O3 -mavx v01/var

Compiler output

Implementation: crypto_dh/kumfp64e2g/v01/var
Compiler: clang -O3 -mavx2
fp_2e064mc_x8664.c: In file included from fp_2e064mc_x8664.c:7:
fp_2e064mc_x8664.c: In file included from ./finite064.h:5:
fp_2e064mc_x8664.c: ./fpx.h:23:13: warning: inline function 'fp_cnt_bits' is not defined [-Wundefined-inline]
fp_2e064mc_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e064mc_x8664.c: ^
fp_2e064mc_x8664.c: fp_2e064mc_x8664.c:16:2: note: used here
fp_2e064mc_x8664.c: fp_cnt_bits(&i, n01, FP_LEN);
fp_2e064mc_x8664.c: ^
fp_2e064mc_x8664.c: 1 warning generated.
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:762:13: warning: inline function 'kum_fp_dbl_2e064mce2_g_x8664_asm' is not defined [-Wundefined-inline]
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: smul.c:29:2: note: used here
smul.c: kum_fp_dbl_2e064mce2_g_x8664_asm((uni)t, NULL, NULL, (uni)d1, NULL, (uni)cn);
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: ^
smul.c: smul.c:30:2: note: used here
smul.c: fp_cnt_bits(&i, kn, 2*FP_LEN);
smul.c: ^
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:763:13: warning: inline function 'kum_fp_dbladd_2e064mce2_g_x8664_asm' is not defined [-Wundefined-inline]
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: smul.c:32:3: note: used here
smul.c: kum_fp_dbladd_2e064mce2_g_x8664_asm((uni)t, kn, j, (uni)d1, (uni)d2, (uni)cn);
smul.c: ^
smul.c: 3 warnings generated.
divisor_dbl.s: clang: warning: argument unused during compilation: '-mavx2'
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_dbladd.s: clang: warning: argument unused during compilation: '-mavx2'
divisor_dbladd.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
divisor_dbladd.s: clang: warning: argument unused during compilation: '-I .'
divisor_dbladd.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-mavx2'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-I .'
fp_2e064mc.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-mavx2'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-D SUPERCOP'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-I .'
fp_2e064mce2.s: clang: warning: argument unused during compilation: '-I /home/dch/tmp/supercop-20140505/supercop-data/wintermute/amd64/include'
try.c: crypto_dh_kumfp64e2g.a(smul.o): In function `kum_fp_smul_2e064mce2_g':
try.c: smul.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: crypto_dh_kumfp64e2g.a(fp_2e064mc_x8664.o): In function `fp_inv_2e064mc_x8664':
try.c: fp_2e064mc_x8664.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: 1, namely:
CompilerImplementations
clang -O3 -mavx2 v01/var