Implementation notes: armeabi, cubox, crypto_dh/ed448goldilocks

Computer: cubox
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20161026
Operation: crypto_dh
Primitive: ed448goldilocks
TimeImplementationCompilerBenchmark dateSUPERCOP version
19847374arm32gcc -funroll-loops -mcpu=marvell-pj4 -O22016121920161026
19860971arm32gcc -funroll-loops -mcpu=marvell-pj4 -O32016121920161026
23335898arm32gcc -mcpu=marvell-pj4 -O32016121920161026
24603640arm32gcc -mcpu=marvell-pj4 -O22016121920161026
24932908arm32gcc -funroll-loops -mcpu=marvell-pj4 -Os2016121920161026
2565718032gcc -funroll-loops -mcpu=marvell-pj4 -O22016121920161026
2636448232gcc -funroll-loops -mcpu=marvell-pj4 -O32016121920161026
2655225232gcc -mcpu=marvell-pj4 -O22016121920161026
27620560arm32gcc -mcpu=marvell-pj4 -Os2016121920161026
2776205832gcc -mcpu=marvell-pj4 -O32016121920161026
3396966832gcc -funroll-loops -mcpu=marvell-pj4 -Os2016121920161026
3638029832gcc -mcpu=marvell-pj4 -Os2016121920161026

Compiler output

Implementation: crypto_dh/ed448goldilocks/64
Compiler: gcc -funroll-loops -mcpu=marvell-pj4 -O2
barrett_field.c: In file included from /usr/include/endian.h:21:0,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: ^~~~~~~
barrett_field.c: In file included from barrett_field.h:15:0,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: word.h:34:9: error: unknown type name '__uint128_t'
barrett_field.c: ...
barrett_field.c: ^~~
barrett_field.c: barrett_field.c:293:15: warning: right shift count >gt;= width of type [-Wshift-count-overflow]
barrett_field.c: carry >gt;>gt;= WORD_BITS;
barrett_field.c: ^~~
barrett_field.c: barrett_field.c:299:12: warning: right shift count >gt;= width of type [-Wshift-count-overflow]
barrett_field.c: scarry >gt;>gt;= WORD_BITS;
barrett_field.c: ^~~
barrett_field.c: barrett_field.c:300:12: warning: right shift count >gt;= width of type [-Wshift-count-overflow]
barrett_field.c: scarry >gt;>gt;= WORD_BITS;
barrett_field.c: ^~~

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
gcc -funroll-loops -mcpu=marvell-pj4 -O2 64 amd64
gcc -funroll-loops -mcpu=marvell-pj4 -O3 64 amd64
gcc -funroll-loops -mcpu=marvell-pj4 -Os 64 amd64
gcc -mcpu=marvell-pj4 -O2 64 amd64
gcc -mcpu=marvell-pj4 -O3 64 amd64
gcc -mcpu=marvell-pj4 -Os 64 amd64

Compiler output

Implementation: crypto_dh/ed448goldilocks/neon
Compiler: gcc -funroll-loops -mcpu=marvell-pj4 -O2
barrett_field.c: In file included from /usr/include/endian.h:21:0,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: ^~~~~~~
crandom.c: In file included from magic.h:15:0,
crandom.c: from crandom.c:11:
crandom.c: p448.h: In function 'p448_weak_reduce':
crandom.c: p448.h:314:14: warning: implicit declaration of function 'vshr_n_u32' [-Wimplicit-function-declaration]
crandom.c: tmp = vshr_n_u32(aa[7],28);
crandom.c: ^~~~~~~~~~
crandom.c: p448.h:314:14: error: incompatible types when initializing type 'uint32x2_t {aka __vector(2) unsigned int}' using type 'int'
crandom.c: p448.h:318:17: warning: implicit declaration of function 'vsra_n_u32' [-Wimplicit-function-declaration]
crandom.c: aa[i] = vsra_n_u32(aa[i] & vmask, aa[i-1], 28);
crandom.c: ^~~~~~~~~~
crandom.c: p448.h:318:15: error: incompatible types when assigning to type 'uint32x2_t {aka __vector(2) unsigned int}' from type 'int'
crandom.c: aa[i] = vsra_n_u32(aa[i] & vmask, aa[i-1], 28);
crandom.c: ^
crandom.c: p448.h:320:31: warning: implicit declaration of function 'vrev64_u32' [-Wimplicit-function-declaration]
crandom.c: aa[0] = (aa[0] & vmask) + vrev64_u32(tmp) + (tmp&vm2);
crandom.c: ^~~~~~~~~~

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -mcpu=marvell-pj4 -O2 neon
gcc -funroll-loops -mcpu=marvell-pj4 -O3 neon
gcc -funroll-loops -mcpu=marvell-pj4 -Os neon
gcc -mcpu=marvell-pj4 -O2 neon
gcc -mcpu=marvell-pj4 -O3 neon
gcc -mcpu=marvell-pj4 -Os neon

Compiler output

Implementation: crypto_dh/ed448goldilocks/32
Compiler: gcc -funroll-loops -mcpu=marvell-pj4 -O2
barrett_field.c: In file included from /usr/include/endian.h:21:0,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: ^~~~~~~
ec_point.c: In file included from /usr/include/endian.h:21:0,
ec_point.c: from word.h:17,
ec_point.c: from p448.h:7,
ec_point.c: from ec_point.h:13,
ec_point.c: from ec_point.c:12:
ec_point.c: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
ec_point.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
ec_point.c: ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21:0,
goldilocks.c: from word.h:17,
goldilocks.c: from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21:0,
magic.c: from word.h:17,
magic.c: from magic.h:14,
magic.c: from field.h:11,
magic.c: from magic.c:5:
magic.c: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: ^~~~~~~
p448.c: In file included from /usr/include/endian.h:21:0,
p448.c: from word.h:17,
p448.c: from p448.c:5:
p448.c: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
p448.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
p448.c: ^~~~~~~
scalarmul.c: In file included from /usr/include/endian.h:21:0,
scalarmul.c: from word.h:17,
scalarmul.c: from scalarmul.c:5:
scalarmul.c: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
scalarmul.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c: ^~~~~~~
sha512.c: In file included from /usr/include/endian.h:21:0,
sha512.c: from word.h:17,
sha512.c: from sha512.c:5:
sha512.c: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
sha512.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c: ^~~~~~~

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
gcc -funroll-loops -mcpu=marvell-pj4 -O2 32 arm32
gcc -funroll-loops -mcpu=marvell-pj4 -O3 32 arm32
gcc -funroll-loops -mcpu=marvell-pj4 -Os 32 arm32
gcc -mcpu=marvell-pj4 -O2 32 arm32
gcc -mcpu=marvell-pj4 -O3 32 arm32
gcc -mcpu=marvell-pj4 -Os 32 arm32