Implementation notes: armeabi, berry2, crypto_core/salsa20

Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_core
Primitive: salsa20
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
15681640 0 010691 376 752refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024043020240425
15681640 0 012592 380 752refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024043020240425
17761608 0 021786 384 768refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024043020240425
19581096 0 010151 376 752refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024043020240425
20071096 0 09528 368 752refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024043020240425

Compiler output

Implementation: armneon
Security model: constbranchindex
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
core.c: In file included from core.c:8:
core.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:28:2: error: "NEON support not enabled"
core.c: #error "NEON support not enabled"
core.c: ^
core.c: 1 error generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE armneon

Compiler output

Implementation: armneon
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
core.c: In file included from core.c:8:
core.c: core.c: In function 'crypto_core_salsa20_armneon_constbranchindex':
core.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:8866:1: error: inlining failed in call to always_inline 'vextq_u32': target specific option mismatch
core.c: vextq_u32 (uint32x4_t __a, uint32x4_t __b, const int __c)
core.c: ^~~~~~~~~
core.c: core.c:50:23: note: called from here
core.c: uint32x4_t start3 = vextq_u32(k2k3n3k7,k2k3n3k7,1);
core.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core.c: In file included from core.c:8:
core.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:8866:1: error: inlining failed in call to always_inline 'vextq_u32': target specific option mismatch
core.c: vextq_u32 (uint32x4_t __a, uint32x4_t __b, const int __c)
core.c: ^~~~~~~~~
core.c: core.c:49:23: note: called from here
core.c: uint32x4_t start2 = vextq_u32(n1n2k6k1,n1n2k6k1,1);
core.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core.c: In file included from core.c:8:
core.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:8866:1: error: inlining failed in call to always_inline 'vextq_u32': target specific option mismatch
core.c: vextq_u32 (uint32x4_t __a, uint32x4_t __b, const int __c)
core.c: ^~~~~~~~~
core.c: core.c:48:23: note: called from here
core.c: uint32x4_t start1 = vextq_u32(k4k5k0n0,k4k5k0n0,1);
core.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core.c: In file included from core.c:8:
core.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:7192:1: error: inlining failed in call to always_inline 'vcombine_u32': target specific option mismatch
core.c: vcombine_u32 (uint32x2_t __a, uint32x2_t __b)
core.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon

Compiler output

Implementation: armneon2
Security model: constbranchindex
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
core.S: core.S:598:29: error: expected '%<type>' or "<type>"
core.S: .section .note.GNU-stack,"",@progbits
core.S: ^

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE armneon2

Compiler output

Implementation: armneon2
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
core.S: core.S: Assembler messages:
core.S: core.S:598: Error: junk at end of line, first unrecognized character is `,'

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon2