Implementation notes: armeabi, berry2, crypto_aead/stribob192r2

Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_aead
Primitive: stribob192r2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
136114020352 0 037307 392 816T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
137732120484 0 039304 396 816T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
176675519992 0 036135 384 816T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
179016420152 0 037863 392 816T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
18166716744 0 023699 392 816T:smallergcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
18183486856 0 025684 396 816T:smallergcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
207501821052 0 051158 384 832T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050620240425
23343946252 0 022395 384 816T:smallergcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
24070576404 0 024115 392 816T:smallergcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
25644287388 0 037502 384 832T:smallerclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050620240425
355367211616 0 041730 384 832T:bitsliceclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050620240425
376636312060 0 028203 384 816T:bitslicegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
401254614456 0 031411 392 816T:bitslicegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
40373214620 0 034727 384 832T:8bitclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050620240425
409102713188 0 030899 392 816T:bitslicegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
414685914492 0 033320 396 816T:bitslicegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
88724392020 0 018971 392 816T:8bitgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
100316302160 0 020980 396 816T:8bitgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
122024981844 0 017981 384 816T:8bitgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425
147386902008 0 019715 392 816T:8bitgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050620240425

Compiler output

Implementation: T:neon
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
wbob_pineon.c: In file included from wbob_pineon.c:7:
wbob_pineon.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:28:2: error: "NEON support not enabled"
wbob_pineon.c: #error "NEON support not enabled"
wbob_pineon.c: ^
wbob_pineon.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 T:neon

Compiler output

Implementation: T:neon
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
wbob_pineon.c: In file included from wbob_pineon.c:7:
wbob_pineon.c: wbob_pineon.c: In function 'wbob_pi':
wbob_pineon.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10007:1: error: inlining failed in call to always_inline 'vuzp_u8': target specific option mismatch
wbob_pineon.c: vuzp_u8 (uint8x8_t __a, uint8x8_t __b)
wbob_pineon.c: ^~~~~~~
wbob_pineon.c: wbob_pineon.c:263:10: note: called from here
wbob_pineon.c: d0 = vuzp_u8(x3,x7);
wbob_pineon.c: ^~~~~~~~~~~~~~
wbob_pineon.c: In file included from wbob_pineon.c:7:
wbob_pineon.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10007:1: error: inlining failed in call to always_inline 'vuzp_u8': target specific option mismatch
wbob_pineon.c: vuzp_u8 (uint8x8_t __a, uint8x8_t __b)
wbob_pineon.c: ^~~~~~~
wbob_pineon.c: wbob_pineon.c:260:10: note: called from here
wbob_pineon.c: d0 = vuzp_u8(x2,x6);
wbob_pineon.c: ^~~~~~~~~~~~~~
wbob_pineon.c: In file included from wbob_pineon.c:7:
wbob_pineon.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10007:1: error: inlining failed in call to always_inline 'vuzp_u8': target specific option mismatch
wbob_pineon.c: vuzp_u8 (uint8x8_t __a, uint8x8_t __b)
wbob_pineon.c: ^~~~~~~
wbob_pineon.c: wbob_pineon.c:257:10: note: called from here
wbob_pineon.c: d0 = vuzp_u8(x1,x5);
wbob_pineon.c: ^~~~~~~~~~~~~~
wbob_pineon.c: In file included from wbob_pineon.c:7:
wbob_pineon.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10007:1: error: inlining failed in call to always_inline 'vuzp_u8': target specific option mismatch
wbob_pineon.c: vuzp_u8 (uint8x8_t __a, uint8x8_t __b)
wbob_pineon.c: ...

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

Compiler output

Implementation: T:ssse3
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
wbob_pissse3.c: In file included from wbob_pissse3.c:7:
wbob_pissse3.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/tmmintrin.h:27:
wbob_pissse3.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/pmmintrin.h:27:
wbob_pissse3.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/emmintrin.h:27:
wbob_pissse3.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/xmmintrin.h:27:
wbob_pissse3.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:64:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
wbob_pissse3.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
wbob_pissse3.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wbob_pissse3.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:143:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
wbob_pissse3.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
wbob_pissse3.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wbob_pissse3.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:173:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
wbob_pissse3.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
wbob_pissse3.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wbob_pissse3.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:203:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
wbob_pissse3.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
wbob_pissse3.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wbob_pissse3.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:230:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
wbob_pissse3.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
wbob_pissse3.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wbob_pissse3.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:253:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
wbob_pissse3.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
wbob_pissse3.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wbob_pissse3.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:274:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
wbob_pissse3.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
wbob_pissse3.c: ...

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

Compiler output

Implementation: T:ssse3
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
wbob_pissse3.c: wbob_pissse3.c:7:10: fatal error: tmmintrin.h: No such file or directory
wbob_pissse3.c: #include <tmmintrin.h>
wbob_pissse3.c: ^~~~~~~~~~~~~
wbob_pissse3.c: compilation terminated.

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

Namespace violations

Implementation: T:8bit
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
stribob.o sbob_clr T
stribob.o sbob_cmp T
stribob.o sbob_dec T
stribob.o sbob_enc T
stribob.o sbob_fin T
stribob.o sbob_get T
stribob.o sbob_put T
wbob_pi8.o wbob_pi T

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:8bit
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bit
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bit
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bit
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:8bit

Namespace violations

Implementation: T:bitslice
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
stribob.o sbob_clr T
stribob.o sbob_cmp T
stribob.o sbob_dec T
stribob.o sbob_enc T
stribob.o sbob_fin T
stribob.o sbob_get T
stribob.o sbob_put T
wbob_pi64sl.o wbob_pi T

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:bitslice
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:bitslice
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:bitslice
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:bitslice
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:bitslice

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
stribob.o sbob_clr T
stribob.o sbob_cmp T
stribob.o sbob_dec T
stribob.o sbob_enc T
stribob.o sbob_fin T
stribob.o sbob_get T
stribob.o sbob_put T
wbob_pi64.o wbob_pi T

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Namespace violations

Implementation: T:smaller
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
stribob.o sbob_clr T
stribob.o sbob_cmp T
stribob.o sbob_dec T
stribob.o sbob_enc T
stribob.o sbob_fin T
stribob.o sbob_get T
stribob.o sbob_put T
wbob_smaller_pi.o wbob_pi T

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:smaller
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:smaller
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:smaller
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:smaller
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:smaller