Implementation notes: armeabi, berry2, crypto_stream/salsa208

Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_stream
Primitive: salsa208
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
146182784 0 415068 392 792e/refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
146182784 0 415068 392 792e/regsgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
173323512 0 415796 392 792e/mergedgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
174522796 0 413119 388 792e/mergedgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
193103068 0 125037 384 800e/regsclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050220240425
199601868 0 015792 392 784refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
200163080 0 125048 384 800e/refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050220240425
200361516 0 025190 384 792refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050220240425
208102492 0 412045 380 784e/mergedgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
213541972 0 412295 388 792e/regsgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
230683476 0 413859 388 792e/mergedgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
237223884 0 125855 384 800e/mergedclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050220240425
2375316228 1184 01049383 73789 12016T:cryptoppg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
2385817125 1184 01050196 73797 12016T:cryptoppg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
239186399 1440 01040494 74113 12016T:cryptoppg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
2394917732 1184 01053120 73797 12016T:cryptoppg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
271482724 0 413107 388 792e/regsgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
27506904 0 012867 388 784refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
27788832 0 012024 380 784refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
289361976 0 412299 388 792e/refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
29074904 0 012927 388 784refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
294181816 0 411367 380 784e/regsgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
311282216 0 412599 388 792e/refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425
366561640 0 411190 380 784e/refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050220240425

Compiler output

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

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

Compiler output

Implementation: armneon
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
xor.c: In file included from xor.c:9:
xor.c: xor.c: In function 'crypto_stream_salsa208_armneon_constbranchindex_xor':
xor.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
xor.c: vcombine_u32 (uint32x2_t __a, uint32x2_t __b)
xor.c: ^~~~~~~~~~~~
xor.c: xor.c:40:23: note: called from here
xor.c: uint32x4_t start1 = vcombine_u32(k5k0,n0k4);
xor.c: ^~~~~~~~~~~~~~~~~~~~~~~
xor.c: In file included from xor.c:9:
xor.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:8779:1: error: inlining failed in call to always_inline 'vext_u32': target specific option mismatch
xor.c: vext_u32 (uint32x2_t __a, uint32x2_t __b, const int __c)
xor.c: ^~~~~~~~
xor.c: xor.c:38:21: note: called from here
xor.c: uint32x2_t k7k2 = vext_u32(k6k7,k2k3,1);
xor.c: ^~~~~~~~~~~~~~~~~~~~~
xor.c: In file included from xor.c:9:
xor.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:8779:1: error: inlining failed in call to always_inline 'vext_u32': target specific option mismatch
xor.c: vext_u32 (uint32x2_t __a, uint32x2_t __b, const int __c)
xor.c: ^~~~~~~~
xor.c: xor.c:36:21: note: called from here
xor.c: uint32x2_t k1n1 = vext_u32(k0k1,n1n0,1);
xor.c: ^~~~~~~~~~~~~~~~~~~~~
xor.c: In file included from xor.c:9:
xor.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:8779:1: error: inlining failed in call to always_inline 'vext_u32': target specific option mismatch
xor.c: vext_u32 (uint32x2_t __a, uint32x2_t __b, const int __c)
xor.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: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
xor.c: In file included from xor.c:9:
xor.c: xor.c: In function 'crypto_stream_salsa208_armneon2_constbranchindex_xor':
xor.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
xor.c: vcombine_u32 (uint32x2_t __a, uint32x2_t __b)
xor.c: ^~~~~~~~~~~~
xor.c: xor.c:40:23: note: called from here
xor.c: uint32x4_t start1 = vcombine_u32(k5k0,n0k4);
xor.c: ^~~~~~~~~~~~~~~~~~~~~~~
xor.c: In file included from xor.c:9:
xor.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:8779:1: error: inlining failed in call to always_inline 'vext_u32': target specific option mismatch
xor.c: vext_u32 (uint32x2_t __a, uint32x2_t __b, const int __c)
xor.c: ^~~~~~~~
xor.c: xor.c:38:21: note: called from here
xor.c: uint32x2_t k7k2 = vext_u32(k6k7,k2k3,1);
xor.c: ^~~~~~~~~~~~~~~~~~~~~
xor.c: In file included from xor.c:9:
xor.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:8779:1: error: inlining failed in call to always_inline 'vext_u32': target specific option mismatch
xor.c: vext_u32 (uint32x2_t __a, uint32x2_t __b, const int __c)
xor.c: ^~~~~~~~
xor.c: xor.c:36:21: note: called from here
xor.c: uint32x2_t k1n1 = vext_u32(k0k1,n1n0,1);
xor.c: ^~~~~~~~~~~~~~~~~~~~~
xor.c: In file included from xor.c:9:
xor.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:8779:1: error: inlining failed in call to always_inline 'vext_u32': target specific option mismatch
xor.c: vext_u32 (uint32x2_t __a, uint32x2_t __b, const int __c)
xor.c: ...

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

Compiler output

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

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

Compiler output

Implementation: armneon3
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
xor.S: xor.S: Assembler messages:
xor.S: xor.S:2232: 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 armneon3
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon3
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon3
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE armneon3