Implementation notes: armeabi, berry2, crypto_dh/prjfp127i

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

Compiler output

Implementation: crypto_dh/prjfp127i/v01/var
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
divisor.c: In file included from divisor.c:13:
divisor.c: ./finite128.h:157:13: warning: inline function 'hec_fp_add_2e127m1_g2i_x8664_asm' is not defined [-Wundefined-inline]
divisor.c: inline void hec_fp_add_2e127m1_g2i_x8664_asm(TEMP_hec_fp_2e127m1 t, DIV_hec_fp_2e127m1 D2);
divisor.c: ^
divisor.c: divisor.c:42:3: note: used here
divisor.c: hec_fp_add_2e127m1_g2i_x8664_asm(t, D2);
divisor.c: ^
divisor.c: In file included from divisor.c:13:
divisor.c: ./finite128.h:158:13: warning: inline function 'hec_fp_madd_2e127m1_g2i_x8664_asm' is not defined [-Wundefined-inline]
divisor.c: inline void hec_fp_madd_2e127m1_g2i_x8664_asm(TEMP_hec_fp_2e127m1 t, DIV_hec_fp_2e127m1 D2);
divisor.c: ^
divisor.c: divisor.c:136:3: note: used here
divisor.c: hec_fp_madd_2e127m1_g2i_x8664_asm(t, D2);
divisor.c: ^
divisor.c: In file included from divisor.c:13:
divisor.c: ./finite128.h:159:13: warning: inline function 'hec_fp_dbl_2e127m1_g2i_x8664_asm' is not defined [-Wundefined-inline]
divisor.c: inline void hec_fp_dbl_2e127m1_g2i_x8664_asm(TEMP_hec_fp_2e127m1 t);
divisor.c: ^
divisor.c: divisor.c:217:3: note: used here
divisor.c: hec_fp_dbl_2e127m1_g2i_x8664_asm(t);
divisor.c: ^
divisor.c: In file included from divisor.c:13:
divisor.c: ./finite128.h:160:13: warning: inline function 'hec_fp_dbl_2e127m1_g2i_x8664_asm_a3is1' is not defined [-Wundefined-inline]
divisor.c: inline void hec_fp_dbl_2e127m1_g2i_x8664_asm_a3is1(TEMP_hec_fp_2e127m1 t);
divisor.c: ^
divisor.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:28:2: note: used here
smul.c: fp_cnt_bits(&i, kn, FP_LEN*2); /*printf("%d ", i);*/
smul.c: ^
smul.c: In file included from smul.c:13:
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:69: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.
smul_a3is1.c: In file included from smul_a3is1.c:13:
smul_a3is1.c: In file included from ./finite128.h:5:
smul_a3is1.c: ./fpx.h:23:13: warning: inline function 'fp_cnt_bits' is not defined [-Wundefined-inline]
smul_a3is1.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
smul_a3is1.c: ^
smul_a3is1.c: smul_a3is1.c:28:2: note: used here
smul_a3is1.c: fp_cnt_bits(&i, kn, FP_LEN*2); /*printf("%d ", i);*/
smul_a3is1.c: ^
smul_a3is1.c: In file included from smul_a3is1.c:13:
smul_a3is1.c: In file included from ./finite128.h:5:
smul_a3is1.c: ./fpx.h:24:13: warning: inline function 'find_nextwindow' is not defined [-Wundefined-inline]
smul_a3is1.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_a3is1.c: ^
smul_a3is1.c: smul_a3is1.c:69:3: note: used here
smul_a3is1.c: find_nextwindow(&ni, &k, 2*FP_LEN, &wd, kn, i, WINDOW_SIZE_LTR, TABLE_SIZE_LTR);
smul_a3is1.c: ^
smul_a3is1.c: 2 warnings generated.
divisor_add.s: divisor_add.s:7:8: error: unexpected token in operand
divisor_add.s: pushq %r12
divisor_add.s: ^
divisor_add.s: divisor_add.s:8:8: error: unexpected token in operand
divisor_add.s: pushq %rbp
divisor_add.s: ^
divisor_add.s: divisor_add.s:9:7: error: unexpected token in operand
divisor_add.s: movq %rsi, %rbp
divisor_add.s: ^
divisor_add.s: divisor_add.s:10:8: error: unknown token in expression
divisor_add.s: movq (%rdi), %rax
divisor_add.s: ^
divisor_add.s: divisor_add.s:11:9: error: unexpected token in argument list
divisor_add.s: mulq 72(%rbp)
divisor_add.s: ^
divisor_add.s: divisor_add.s:12:7: error: unexpected token in operand
divisor_add.s: movq %rdx, %r10
divisor_add.s: ^
divisor_add.s: divisor_add.s:13:7: error: unexpected token in operand
divisor_add.s: movq %rax, %rsi
divisor_add.s: ^
divisor_add.s: divisor_add.s:14:8: error: unexpected token in argument list
divisor_add.s: movq 8(%rdi), %rax
divisor_add.s: ^
divisor_add.s: divisor_add.s:15:9: error: unexpected token in argument list
divisor_add.s: ...

Number of similar (compiler,implementation) pairs: 13, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE v01/var v01/w4s01 v01/w4s02 v01/w4s04 v01/w4s08 v01/w4s16 v01/w4s32 v01/w8s01 v01/w8s02 v01/w8s04 v01/w8s08 v01/w8s16 v01/w8s32

Compiler output

Implementation: crypto_dh/prjfp127i/v01/var
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
divisor.c: In file included from divisor.c:13:
divisor.c: finite128.h:895: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:894: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:874: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:873: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:872: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:871:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_a2a3is0_x8664_asm' declared but never defined
divisor.c: inline void hec_fp_dbl_2e064mce2_g2i_a2a3is0_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
divisor.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divisor.c: finite128.h:870: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:647: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: 51, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/var v01/w4s01 v01/w4s02 v01/w4s04 v01/w4s08 v01/w4s16 v01/w4s32 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/var v01/w4s01 v01/w4s02 v01/w4s04 v01/w4s16 v01/w4s32 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/var v01/w4s01 v01/w4s02 v01/w4s04 v01/w4s08 v01/w4s16 v01/w4s32 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/var v01/w4s01 v01/w4s02 v01/w4s04 v01/w4s08 v01/w4s16 v01/w4s32 v01/w8s01 v01/w8s02 v01/w8s04 v01/w8s08 v01/w8s16 v01/w8s32

Compiler output

Implementation: crypto_dh/prjfp127i/v01/w4s08
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
divisor.c: In file included from divisor.c:13:
divisor.c: finite128.h:895: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:894: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:874: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:873: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:872: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:871:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_a2a3is0_x8664_asm' declared but never defined
divisor.c: inline void hec_fp_dbl_2e064mce2_g2i_a2a3is0_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
divisor.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
divisor.c: finite128.h:870: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:647: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: ...
fp_2e127m1_x8664.c: In file included from fp_2e127m1_x8664.c:5:
fp_2e127m1_x8664.c: finite128.h:895:13: warning: inline function 'kum_fp_dbladd_2e064mce2_g_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void kum_fp_dbladd_2e064mce2_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:894:13: warning: inline function 'kum_fp_dbl_2e064mce2_g_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void kum_fp_dbl_2e064mce2_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:874:13: warning: inline function 'hec_fp_aadd_2e064mce2_g2i_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void hec_fp_aadd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:873:13: warning: inline function 'hec_fp_madd_2e064mce2_g2i_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void hec_fp_madd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:872:13: warning: inline function 'hec_fp_add_2e064mce2_g2i_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void hec_fp_add_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:871:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_a2a3is0_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void hec_fp_dbl_2e064mce2_g2i_a2a3is0_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:870:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void hec_fp_dbl_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: finite128.h:647:13: warning: inline function 'kum_fp_dbladd_2e061m1e2_g_x8664_asm' declared but never defined
fp_2e127m1_x8664.c: inline void kum_fp_dbladd_2e061m1e2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
fp_2e127m1_x8664.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fp_2e127m1_x8664.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w4s08