Implementation notes: armeabi, berry2, crypto_aead/stribob192r2

Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: stribob192r2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
136131820352 0 037307 392 816T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
137773820484 0 039304 396 816T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
176898419992 0 036135 384 816T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
179059620152 0 037863 392 816T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
18165236744 0 023699 392 816T:smallergcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
18182276856 0 025684 396 816T:smallergcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
207647921052 0 051158 384 832T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012920240107
23344066252 0 022395 384 816T:smallergcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
24066596404 0 024115 392 816T:smallergcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
25641377388 0 037502 384 832T:smallerclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012920240107
355375111616 0 041730 384 832T:bitsliceclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012920240107
376596112060 0 028203 384 816T:bitslicegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
401232814456 0 031411 392 816T:bitslicegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
40374614620 0 034727 384 832T:8bitclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012920240107
409116613188 0 030899 392 816T:bitslicegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
414707614492 0 033320 396 816T:bitslicegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
88725862020 0 018971 392 816T:8bitgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
100319032160 0 020980 396 816T:8bitgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
122028791844 0 017981 384 816T:8bitgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
147389172008 0 019715 392 816T:8bitgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107

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