Implementation notes: aarch64, hikey960spare, crypto_dh/hecfp64e2i

Computer: hikey960spare
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20191017
Operation: crypto_dh
Primitive: hecfp64e2i

Compiler output

Implementation: v01/var
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
divisor.c: In file included from divisor.c:12:0:
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: ...
fp_2e064mc_x8664.c: In file included from finite064.h:5:0,
fp_2e064mc_x8664.c: from fp_2e064mc_x8664.c:7:
fp_2e064mc_x8664.c: fpx.h:24:13: warning: inline function 'find_nextwindow' declared but never defined
fp_2e064mc_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_2e064mc_x8664.c: ^~~~~~~~~~~~~~~
fp_2e064mc_x8664.c: fpx.h:23:13: warning: inline function 'fp_cnt_bits' declared but never defined
fp_2e064mc_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e064mc_x8664.c: ^~~~~~~~~~~
fp_2e064mce2_x8664.c: In file included from finite064.h:5:0,
fp_2e064mce2_x8664.c: from fp_2e064mce2_x8664.c:8:
fp_2e064mce2_x8664.c: fpx.h:24:13: warning: inline function 'find_nextwindow' declared but never defined
fp_2e064mce2_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_2e064mce2_x8664.c: ^~~~~~~~~~~~~~~
fp_2e064mce2_x8664.c: fpx.h:23:13: warning: inline function 'fp_cnt_bits' declared but never defined
fp_2e064mce2_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e064mce2_x8664.c: ^~~~~~~~~~~
smul.c: In file included from smul.c:10:0:
smul.c: finite128.h:763:13: warning: inline function 'kum_fp_dbladd_2e064mce2_g_x8664_asm' declared but never defined
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: finite128.h:762:13: warning: inline function 'kum_fp_dbl_2e064mce2_g_x8664_asm' declared but never defined
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: finite128.h:741:13: warning: inline function 'hec_fp_aadd_2e064mce2_g2i_x8664_asm' declared but never defined
smul.c: inline void hec_fp_aadd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:740:13: warning: inline function 'hec_fp_madd_2e064mce2_g2i_x8664_asm' declared but never defined
smul.c: inline void hec_fp_madd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:739:13: warning: inline function 'hec_fp_add_2e064mce2_g2i_x8664_asm' declared but never defined
smul.c: inline void hec_fp_add_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:738:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_a2is0_a3is0_x8664_asm' declared but never defined
smul.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);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:737:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_x8664_asm' declared but never defined
smul.c: inline void hec_fp_dbl_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: finite128.h:512:13: warning: inline function 'kum_fp_dbladd_2e061m1e2_g_x8664_asm' declared but never defined
smul.c: inline void kum_fp_dbladd_2e061m1e2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
smul.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smul.c: ...
test.c: In file included from test.c:11:0:
test.c: finite128.h:763:13: warning: inline function 'kum_fp_dbladd_2e064mce2_g_x8664_asm' declared but never defined
test.c: inline void kum_fp_dbladd_2e064mce2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:762:13: warning: inline function 'kum_fp_dbl_2e064mce2_g_x8664_asm' declared but never defined
test.c: inline void kum_fp_dbl_2e064mce2_g_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni d1, void *NOPARAM3, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:741:13: warning: inline function 'hec_fp_aadd_2e064mce2_g2i_x8664_asm' declared but never defined
test.c: inline void hec_fp_aadd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:740:13: warning: inline function 'hec_fp_madd_2e064mce2_g2i_x8664_asm' declared but never defined
test.c: inline void hec_fp_madd_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:739:13: warning: inline function 'hec_fp_add_2e064mce2_g2i_x8664_asm' declared but never defined
test.c: inline void hec_fp_add_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni d2);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:738:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_a2is0_a3is0_x8664_asm' declared but never defined
test.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);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:737:13: warning: inline function 'hec_fp_dbl_2e064mce2_g2i_x8664_asm' declared but never defined
test.c: inline void hec_fp_dbl_2e064mce2_g2i_x8664_asm(uni TMP, uni_t prm, void *NOPARAM, uni D3, uni d1, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: finite128.h:512:13: warning: inline function 'kum_fp_dbladd_2e061m1e2_g_x8664_asm' declared but never defined
test.c: inline void kum_fp_dbladd_2e061m1e2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
test.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.c: ...
divisor_aadd.S: divisor_aadd.S: Assembler messages:
divisor_aadd.S: divisor_aadd.S:9: Error: unknown mnemonic `pushq' -- `pushq %r12'
divisor_aadd.S: divisor_aadd.S:10: Error: unknown mnemonic `pushq' -- `pushq %rbx'
divisor_aadd.S: divisor_aadd.S:11: Error: unknown mnemonic `pushq' -- `pushq %r13'
divisor_aadd.S: divisor_aadd.S:12: Error: unknown mnemonic `movq' -- `movq 48(%r8),%r10'
divisor_aadd.S: divisor_aadd.S:13: Error: unknown mnemonic `subq' -- `subq 48(%r9),%r10'
divisor_aadd.S: divisor_aadd.S:14: Error: unknown mnemonic `movq' -- `movq $0,%rax'
divisor_aadd.S: divisor_aadd.S:15: Error: unknown mnemonic `cmovc' -- `cmovc %rsi,%rax'
divisor_aadd.S: divisor_aadd.S:16: Error: unknown mnemonic `subq' -- `subq %rax,%r10'
divisor_aadd.S: divisor_aadd.S:17: Error: unknown mnemonic `movq' -- `movq %r10,48(%rcx)'
divisor_aadd.S: divisor_aadd.S:18: Error: unknown mnemonic `movq' -- `movq 56(%r8),%r11'
divisor_aadd.S: divisor_aadd.S:19: Error: unknown mnemonic `subq' -- `subq 56(%r9),%r11'
divisor_aadd.S: divisor_aadd.S:20: Error: unknown mnemonic `movq' -- `movq $0,%rax'
divisor_aadd.S: divisor_aadd.S:21: Error: unknown mnemonic `cmovc' -- `cmovc %rsi,%rax'
divisor_aadd.S: divisor_aadd.S:22: Error: unknown mnemonic `subq' -- `subq %rax,%r11'
divisor_aadd.S: divisor_aadd.S:23: Error: unknown mnemonic `movq' -- `movq %r11,56(%rcx)'
divisor_aadd.S: divisor_aadd.S:24: Error: unknown mnemonic `movq' -- `movq 32(%r9),%r10'
divisor_aadd.S: divisor_aadd.S:25: Error: unknown mnemonic `addq' -- `addq %rsi,%r10'
divisor_aadd.S: divisor_aadd.S:26: Error: unknown mnemonic `addq' -- `addq 32(%r8),%r10'
divisor_aadd.S: divisor_aadd.S:27: Error: unknown mnemonic `movq' -- `movq $0,%rax'
divisor_aadd.S: divisor_aadd.S:28: Error: unknown mnemonic `cmovnc' -- `cmovnc %rsi,%rax'
divisor_aadd.S: divisor_aadd.S:29: Error: unknown mnemonic `subq' -- `subq %rax,%r10'
divisor_aadd.S: divisor_aadd.S:30: Error: unknown mnemonic `movq' -- `movq %r10,16(%rdi)'
divisor_aadd.S: divisor_aadd.S:31: Error: unknown mnemonic `movq' -- `movq 40(%r9),%r11'
divisor_aadd.S: divisor_aadd.S:32: Error: unknown mnemonic `addq' -- `addq %rsi,%r11'
divisor_aadd.S: ...

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

Compiler output

Implementation: v01/w8s01
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
array_lo.c: In file included from array_lo.c:24:0:
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
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s01
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s01
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s01
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s02
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s02
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s02
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s02
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s04
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s04
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s04
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s04
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s08
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s08
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s08
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s08
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s16
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s16
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s16
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s16
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s32
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE v01/w8s32