Implementation notes: armeabi, berry2, crypto_dh/hecfp64e2i

Computer: berry2
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_dh
Primitive: hecfp64e2i

Compiler output

Implementation: crypto_dh/hecfp64e2i/v01/w8s01
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
array_lo.c: array_lo.c:37:3: error: invalid output constraint '=&d' in asm
array_lo.c: mim_mul_1(an[al], an, an, al, base, buf[i]);
array_lo.c: ^
array_lo.c: ./multiprecision.h:696:4: note: expanded from macro 'mim_mul_1'
array_lo.c: km_mul_2_add_c(_t, (zn)[0], (an)[0], (b), _t); \
array_lo.c: ^
array_lo.c: ./kernel.h:127:4: note: expanded from macro 'km_mul_2_add_c'
array_lo.c: : "=&d"((zH)), "=a"((zL)) \
array_lo.c: ^
array_lo.c: array_lo.c:37:3: error: invalid output constraint '=&d' in asm
array_lo.c: ./multiprecision.h:699:4: note: expanded from macro 'mim_mul_1'
array_lo.c: km_mul_2_add_c(_t, (zn)[0], (an)[0], (b), _t); \
array_lo.c: ^
array_lo.c: ./kernel.h:127:4: note: expanded from macro 'km_mul_2_add_c'
array_lo.c: : "=&d"((zH)), "=a"((zL)) \
array_lo.c: ^
array_lo.c: array_lo.c:37:3: error: invalid output constraint '=&d' in asm
array_lo.c: ./multiprecision.h:700:4: note: expanded from macro 'mim_mul_1'
array_lo.c: km_mul_2_add_c(_t, (zn)[1], (an)[1], (b), _t); \
array_lo.c: ^
array_lo.c: ./kernel.h:127:4: note: expanded from macro 'km_mul_2_add_c'
array_lo.c: : "=&d"((zH)), "=a"((zL)) \
array_lo.c: ^
array_lo.c: array_lo.c:37:3: error: invalid output constraint '=&d' in asm
array_lo.c: ./multiprecision.h:703:4: note: expanded from macro 'mim_mul_1'
array_lo.c: ...

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v01/w8s01 v01/w8s02 v01/w8s04 v01/w8s08 v01/w8s16 v01/w8s32

Compiler output

Implementation: crypto_dh/hecfp64e2i/v01/var
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
divisor.c: In file included from divisor.c:12:
divisor.c: ./finite128.h:737:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_x8664_asm' is not defined [-Wundefined-inline]
divisor.c: inline void hec_fp_dbl_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
divisor.c: ^
divisor.c: divisor.c:34:2: note: used here
divisor.c: hec_fp_dbl_2e064mce2_g2i_x8664_asm((uni)t, cn->prm, NULL, (uni)d3, (uni)d1, (uni)cn);
divisor.c: ^
divisor.c: In file included from divisor.c:12:
divisor.c: ./finite128.h:738:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_a2is0_a3is0_x8664_asm' is not defined [-Wundefined-inline]
divisor.c: inline void hec_fp_dbl_2e064mce2_g2i_a2is0_a3is0_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
divisor.c: ^
divisor.c: divisor.c:117:2: note: used here
divisor.c: hec_fp_dbl_2e064mce2_g2i_a2is0_a3is0_x8664_asm((uni)t, cn->prm, NULL, (uni)d3, (uni)d1, NULL);
divisor.c: ^
divisor.c: In file included from divisor.c:12:
divisor.c: ./finite128.h:739:13: warning: inline function 'hec_fp_add_2e064mce2_g2i_x8664_asm' is not defined [-Wundefined-inline]
divisor.c: inline void hec_fp_add_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
divisor.c: ^
divisor.c: divisor.c:211:3: note: used here
divisor.c: hec_fp_add_2e064mce2_g2i_x8664_asm((uni)t, cn->prm, NULL, (uni)d3, (uni)d1, (uni)d2);
divisor.c: ^
divisor.c: In file included from divisor.c:12:
divisor.c: ./finite128.h:740:13: warning: inline function 'hec_fp_madd_2e064mce2_g2i_x8664_asm' is not defined [-Wundefined-inline]
divisor.c: inline void hec_fp_madd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
divisor.c: ^
divisor.c: ...
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:10:
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:22:2: note: used here
smul.c: fp_cnt_bits(&i, kn, FP_LEN*2);
smul.c: ^
smul.c: In file included from smul.c:10:
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:52: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: 2 warnings generated.
divisor_aadd.S: divisor_aadd.S:9:8: error: unexpected token in operand
divisor_aadd.S: pushq %r12
divisor_aadd.S: ^
divisor_aadd.S: divisor_aadd.S:10:8: error: unexpected token in operand
divisor_aadd.S: pushq %rbx
divisor_aadd.S: ^
divisor_aadd.S: divisor_aadd.S:11:8: error: unexpected token in operand
divisor_aadd.S: pushq %r13
divisor_aadd.S: ^
divisor_aadd.S: divisor_aadd.S:12:9: error: unexpected token in argument list
divisor_aadd.S: movq 48(%r8), %r10
divisor_aadd.S: ^
divisor_aadd.S: divisor_aadd.S:13:9: error: unexpected token in argument list
divisor_aadd.S: subq 48(%r9), %r10
divisor_aadd.S: ^
divisor_aadd.S: divisor_aadd.S:14:11: error: unexpected token in operand
divisor_aadd.S: movq $0, %rax
divisor_aadd.S: ^
divisor_aadd.S: divisor_aadd.S:15:8: error: unexpected token in operand
divisor_aadd.S: cmovc %rsi, %rax
divisor_aadd.S: ^
divisor_aadd.S: divisor_aadd.S:16:7: error: unexpected token in operand
divisor_aadd.S: subq %rax, %r10
divisor_aadd.S: ^
divisor_aadd.S: divisor_aadd.S:17:7: error: unexpected token in operand
divisor_aadd.S: ...

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

Compiler output

Implementation: crypto_dh/hecfp64e2i/v01/w8s01
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
array_lo.c: In file included from array_lo.c:24:
array_lo.c: array_lo.c: In function 'man_convert_word':
array_lo.c: kernel.h:123:41: error: impossible constraint in 'asm'
array_lo.c: #define km_mul_2_add_c(zH, zL, a, b, c) __asm__( \
array_lo.c: ^~~~~~~
array_lo.c: multiprecision.h:696:4: note: in expansion of macro 'km_mul_2_add_c'
array_lo.c: km_mul_2_add_c(_t, (zn)[0], (an)[0], (b), _t); \
array_lo.c: ^~~~~~~~~~~~~~
array_lo.c: array_lo.c:37:3: note: in expansion of macro 'mim_mul_1'
array_lo.c: mim_mul_1(an[al], an, an, al, base, buf[i]);
array_lo.c: ^~~~~~~~~
array_lo.c: kernel.h:123:41: error: impossible constraint in 'asm'
array_lo.c: #define km_mul_2_add_c(zH, zL, a, b, c) __asm__( \
array_lo.c: ^~~~~~~
array_lo.c: multiprecision.h:699:4: note: in expansion of macro 'km_mul_2_add_c'
array_lo.c: km_mul_2_add_c(_t, (zn)[0], (an)[0], (b), _t); \
array_lo.c: ^~~~~~~~~~~~~~
array_lo.c: array_lo.c:37:3: note: in expansion of macro 'mim_mul_1'
array_lo.c: mim_mul_1(an[al], an, an, al, base, buf[i]);
array_lo.c: ^~~~~~~~~
array_lo.c: kernel.h:123:41: error: impossible constraint in 'asm'
array_lo.c: #define km_mul_2_add_c(zH, zL, a, b, c) __asm__( \
array_lo.c: ^~~~~~~
array_lo.c: multiprecision.h:700:4: note: in expansion of macro 'km_mul_2_add_c'
array_lo.c: km_mul_2_add_c(_t, (zn)[1], (an)[1], (b), _t); \
array_lo.c: ...

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

Compiler output

Implementation: crypto_dh/hecfp64e2i/v01/var
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
divisor.c: In file included from divisor.c:12:
divisor.c: finite128.h:763:13: warning: inline function 'kum_fp_dbladd_2e064mce2_g_x8664_asm' declared but never defined
divisor.c: inline void kum_fp_dbladd_2e064mce2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
divisor.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divisor.c: finite128.h:762:13: warning: inline function 'kum_fp_dbl_2e064mce2_g_x8664_asm' declared but never defined
divisor.c: inline void kum_fp_dbl_2e064mce2_g_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni d1, void *NOPARAM3, uni CNS);
divisor.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divisor.c: finite128.h:741:13: warning: inline function 'hec_fp_aadd_2e064mce2_g2i_x8664_asm' declared but never defined
divisor.c: inline void hec_fp_aadd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
divisor.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divisor.c: finite128.h:740:13: warning: inline function 'hec_fp_madd_2e064mce2_g2i_x8664_asm' declared but never defined
divisor.c: inline void hec_fp_madd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
divisor.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divisor.c: finite128.h:739:13: warning: inline function 'hec_fp_add_2e064mce2_g2i_x8664_asm' declared but never defined
divisor.c: inline void hec_fp_add_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
divisor.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divisor.c: finite128.h:738:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_a2is0_a3is0_x8664_asm' declared but never defined
divisor.c: inline void hec_fp_dbl_2e064mce2_g2i_a2is0_a3is0_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
divisor.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divisor.c: finite128.h:737:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_x8664_asm' declared but never defined
divisor.c: inline void hec_fp_dbl_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
divisor.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divisor.c: finite128.h:512:13: warning: inline function 'kum_fp_dbladd_2e061m1e2_g_x8664_asm' declared but never defined
divisor.c: inline void kum_fp_dbladd_2e061m1e2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
divisor.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divisor.c: ...

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