Implementation notes: armeabi, berry2, crypto_dh/hecfp64e2i

Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_dh
Primitive: hecfp64e2i

Compiler output

Implementation: T:v01/var
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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 T:v01/var

Compiler output

Implementation: T:v01/var
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
divisor_aadd.S: divisor_aadd.S: Assembler messages:
divisor_aadd.S: divisor_aadd.S:9: Error: bad instruction `pushq %r12'
divisor_aadd.S: divisor_aadd.S:10: Error: bad instruction `pushq %rbx'
divisor_aadd.S: divisor_aadd.S:11: Error: bad instruction `pushq %r13'
divisor_aadd.S: divisor_aadd.S:12: Error: bad instruction `movq 48(%r8),%r10'
divisor_aadd.S: divisor_aadd.S:13: Error: bad instruction `subq 48(%r9),%r10'
divisor_aadd.S: divisor_aadd.S:14: Error: bad instruction `movq $0,%rax'
divisor_aadd.S: divisor_aadd.S:15: Error: bad instruction `cmovc %rsi,%rax'
divisor_aadd.S: divisor_aadd.S:16: Error: bad instruction `subq %rax,%r10'
divisor_aadd.S: divisor_aadd.S:17: Error: bad instruction `movq %r10,48(%rcx)'
divisor_aadd.S: divisor_aadd.S:18: Error: bad instruction `movq 56(%r8),%r11'
divisor_aadd.S: divisor_aadd.S:19: Error: bad instruction `subq 56(%r9),%r11'
divisor_aadd.S: divisor_aadd.S:20: Error: bad instruction `movq $0,%rax'
divisor_aadd.S: divisor_aadd.S:21: Error: bad instruction `cmovc %rsi,%rax'
divisor_aadd.S: divisor_aadd.S:22: Error: bad instruction `subq %rax,%r11'
divisor_aadd.S: divisor_aadd.S:23: Error: bad instruction `movq %r11,56(%rcx)'
divisor_aadd.S: divisor_aadd.S:24: Error: bad instruction `movq 32(%r9),%r10'
divisor_aadd.S: divisor_aadd.S:25: Error: bad instruction `addq %rsi,%r10'
divisor_aadd.S: divisor_aadd.S:26: Error: bad instruction `addq 32(%r8),%r10'
divisor_aadd.S: divisor_aadd.S:27: Error: bad instruction `movq $0,%rax'
divisor_aadd.S: divisor_aadd.S:28: Error: bad instruction `cmovnc %rsi,%rax'
divisor_aadd.S: divisor_aadd.S:29: Error: bad instruction `subq %rax,%r10'
divisor_aadd.S: divisor_aadd.S:30: Error: bad instruction `movq %r10,16(%rdi)'
divisor_aadd.S: divisor_aadd.S:31: Error: bad instruction `movq 40(%r9),%r11'
divisor_aadd.S: divisor_aadd.S:32: Error: bad instruction `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 T:v01/var
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/var
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/var
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/var

Compiler output

Implementation: T:v01/w8s01
Security model: timingleaks
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 T:v01/w8s01 T:v01/w8s02 T:v01/w8s04 T:v01/w8s08 T:v01/w8s16 T:v01/w8s32

Compiler output

Implementation: T:v01/w8s01
Security model: timingleaks
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 T:v01/w8s01
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s01
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s01
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s01
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s02
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s02
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s02
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s02
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s04
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s04
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s04
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s04
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s08
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s08
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s08
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s08
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s16
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s16
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s16
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s16
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s32
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:v01/w8s32