Implementation notes: aarch64, hikey960spare, crypto_dh/kumfp61e2g

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

Compiler output

Implementation: v01/var
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
fp_2e061m1_x8664.c: In file included from finite064.h:5:0,
fp_2e061m1_x8664.c: from fp_2e061m1_x8664.c:7:
fp_2e061m1_x8664.c: fpx.h:24:13: warning: inline function 'find_nextwindow' declared but never defined
fp_2e061m1_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_2e061m1_x8664.c: ^~~~~~~~~~~~~~~
fp_2e061m1_x8664.c: fpx.h:23:13: warning: inline function 'fp_cnt_bits' declared but never defined
fp_2e061m1_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e061m1_x8664.c: ^~~~~~~~~~~
fp_2e061m1e2_x8664.c: In file included from finite064.h:5:0,
fp_2e061m1e2_x8664.c: from fp_2e061m1e2_x8664.c:7:
fp_2e061m1e2_x8664.c: fpx.h:24:13: warning: inline function 'find_nextwindow' declared but never defined
fp_2e061m1e2_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_2e061m1e2_x8664.c: ^~~~~~~~~~~~~~~
fp_2e061m1e2_x8664.c: fpx.h:23:13: warning: inline function 'fp_cnt_bits' declared but never defined
fp_2e061m1e2_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e061m1e2_x8664.c: ^~~~~~~~~~~
smul.c: In file included from smul.c:13: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_dbl.s: divisor_dbl.s: Assembler messages:
divisor_dbl.s: divisor_dbl.s:9: Error: unknown mnemonic `pushq' -- `pushq %rbx'
divisor_dbl.s: divisor_dbl.s:10: Error: unknown mnemonic `pushq' -- `pushq %r12'
divisor_dbl.s: divisor_dbl.s:11: Error: unknown mnemonic `pushq' -- `pushq %r13'
divisor_dbl.s: divisor_dbl.s:12: Error: unknown mnemonic `pushq' -- `pushq %r14'
divisor_dbl.s: divisor_dbl.s:13: Error: unknown mnemonic `pushq' -- `pushq %r15'
divisor_dbl.s: divisor_dbl.s:14: Error: unknown mnemonic `movq' -- `movq $0x1FFFFFFFFFFFFFFF,%rsi'
divisor_dbl.s: divisor_dbl.s:15: Error: unknown mnemonic `movq' -- `movq (%rcx),%rax'
divisor_dbl.s: divisor_dbl.s:16: Error: unknown mnemonic `addq' -- `addq 16(%rcx),%rax'
divisor_dbl.s: divisor_dbl.s:17: Error: unknown mnemonic `btrq' -- `btrq $61,%rax'
divisor_dbl.s: divisor_dbl.s:18: Error: unknown mnemonic `adcq' -- `adcq $0,%rax'
divisor_dbl.s: divisor_dbl.s:19: Error: unknown mnemonic `movq' -- `movq 8(%rcx),%r11'
divisor_dbl.s: divisor_dbl.s:20: Error: unknown mnemonic `addq' -- `addq 24(%rcx),%r11'
divisor_dbl.s: divisor_dbl.s:21: Error: unknown mnemonic `btrq' -- `btrq $61,%r11'
divisor_dbl.s: divisor_dbl.s:22: Error: unknown mnemonic `adcq' -- `adcq $0,%r11'
divisor_dbl.s: divisor_dbl.s:23: Error: unknown mnemonic `movq' -- `movq (%rcx),%r12'
divisor_dbl.s: divisor_dbl.s:24: Error: unknown mnemonic `subq' -- `subq 16(%rcx),%r12'
divisor_dbl.s: divisor_dbl.s:25: Error: unknown mnemonic `sbbq' -- `sbbq $0,%r12'
divisor_dbl.s: divisor_dbl.s:26: Error: unknown mnemonic `andq' -- `andq %rsi,%r12'
divisor_dbl.s: divisor_dbl.s:27: Error: unknown mnemonic `movq' -- `movq 8(%rcx),%r13'
divisor_dbl.s: divisor_dbl.s:28: Error: unknown mnemonic `subq' -- `subq 24(%rcx),%r13'
divisor_dbl.s: divisor_dbl.s:29: Error: unknown mnemonic `sbbq' -- `sbbq $0,%r13'
divisor_dbl.s: divisor_dbl.s:30: Error: unknown mnemonic `andq' -- `andq %rsi,%r13'
divisor_dbl.s: divisor_dbl.s:31: Error: unknown mnemonic `movq' -- `movq 32(%rcx),%r10'
divisor_dbl.s: divisor_dbl.s:32: Error: unknown mnemonic `addq' -- `addq 48(%rcx),%r10'
divisor_dbl.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