Implementation notes: armeabi, tinker, crypto_hash/blake2s

Computer: tinker
Microarchitecture: armeabi; Cortex-A17 (410fc0d1)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_hash
Primitive: blake2s
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
195816608 0 017186 428 752T:moon/armv6/32clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012820240107
195816632 0 014493 400 752T:moon/armv6/32gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
195836628 0 014296 396 744T:moon/armv6/32gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
195926632 0 015229 400 752T:moon/armv6/32gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
196056564 0 013173 392 744T:moon/armv6/32gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
200877608 0 014197 376 744T:regsgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
2020211112 0 021670 412 752T:regsclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012820240107
223797716 0 018222 412 752T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012820240107
2283910516 0 018361 384 752T:regsgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
2287310516 0 019097 384 752T:regsgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
255319690 0 017344 380 744T:regsgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107

Compiler output

Implementation: T:avxicc
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
blake2s.S: blake2s.S:13:14: error: unexpected token in operand
blake2s.S: xorl %r11d, %r11d
blake2s.S: ^
blake2s.S: blake2s.S:14:14: error: unexpected token in operand
blake2s.S: xorl %ecx, %ecx
blake2s.S: ^
blake2s.S: blake2s.S:15:14: error: unexpected token in operand
blake2s.S: movq %rsi, %r9
blake2s.S: ^
blake2s.S: blake2s.S:16:39: error: expected ')'
blake2s.S: vmovdqu .L_2il0floatpacket.10(%rip), %xmm4
blake2s.S: ^
blake2s.S: blake2s.S:17:14: error: unexpected token in operand
blake2s.S: xorl %eax, %eax
blake2s.S: ^
blake2s.S: blake2s.S:18:38: error: expected ')'
blake2s.S: vmovdqu .L_2il0floatpacket.7(%rip), %xmm0
blake2s.S: ^
blake2s.S: blake2s.S:19:17: error: unexpected token in operand
blake2s.S: vmovdqa %xmm4, %xmm2
blake2s.S: ^
blake2s.S: blake2s.S:20:38: error: expected ')'
blake2s.S: vmovdqu .L_2il0floatpacket.8(%rip), %xmm1
blake2s.S: ^
blake2s.S: blake2s.S:21:14: error: unexpected token in operand
blake2s.S: ...

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

Compiler output

Implementation: T:avxicc
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
blake2s.S: blake2s.c: Assembler messages:
blake2s.S: blake2s.c:13: Error: bad instruction `xorl %r11d,%r11d'
blake2s.S: blake2s.c:14: Error: bad instruction `xorl %ecx,%ecx'
blake2s.S: blake2s.c:15: Error: bad instruction `movq %rsi,%r9'
blake2s.S: blake2s.c:16: Error: bad instruction `vmovdqu .L_2il0floatpacket.10(%rip),%xmm4'
blake2s.S: blake2s.c:17: Error: bad instruction `xorl %eax,%eax'
blake2s.S: blake2s.c:18: Error: bad instruction `vmovdqu .L_2il0floatpacket.7(%rip),%xmm0'
blake2s.S: blake2s.c:19: Error: bad instruction `vmovdqa %xmm4,%xmm2'
blake2s.S: blake2s.c:20: Error: bad instruction `vmovdqu .L_2il0floatpacket.8(%rip),%xmm1'
blake2s.S: blake2s.c:21: Error: bad instruction `movq %rdx,%r8'
blake2s.S: blake2s.c:22: Error: bad instruction `vmovdqu .L_2il0floatpacket.9(%rip),%xmm3'
blake2s.S: blake2s.c:23: Error: bad instruction `xorl %r10d,%r10d'
blake2s.S: blake2s.c:24: Error: bad instruction `vmovdqu .L_2il0floatpacket.11(%rip),%xmm5'
blake2s.S: blake2s.c:25: Error: bad instruction `cmpq $64,%rdx'
blake2s.S: blake2s.c:26: Error: bad instruction `jbe ..B1.5'
blake2s.S: blake2s.c:28: Error: bad instruction `movq %rbp,-104(%rsp)'
blake2s.S: blake2s.c:29: Error: bad instruction `lea -1(%rdx),%rsi'
blake2s.S: blake2s.c:30: Error: bad instruction `sarq $5,%rsi'
blake2s.S: blake2s.c:32: Error: bad instruction `movq %rcx,%rbp'
blake2s.S: blake2s.c:33: Error: bad instruction `shrq $58,%rsi'
blake2s.S: blake2s.c:34: Error: bad instruction `movq %rax,%rcx'
blake2s.S: blake2s.c:35: Error: bad instruction `lea -1(%rsi,%rdx),%rdx'
blake2s.S: blake2s.c:36: Error: bad instruction `sarq $6,%rdx'
blake2s.S: blake2s.c:37: Error: bad instruction `movq %rdx,%rax'
blake2s.S: blake2s.c:39: Error: bad instruction `vmovdqu (%rcx,%r9),%xmm9'
blake2s.S: ...

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

Compiler output

Implementation: T:moon/armv6/32
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/arm-linux-gnueabihf-ld: warning: blake2s.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/arm-linux-gnueabihf-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
try.c: /usr/bin/arm-linux-gnueabihf-ld: warning: blake2s.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/arm-linux-gnueabihf-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
measure.c: /usr/bin/arm-linux-gnueabihf-ld: warning: blake2s.o: missing .note.GNU-stack section implies executable stack
measure.c: /usr/bin/arm-linux-gnueabihf-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

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

Compiler output

Implementation: T:moon/armv6/32
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: warning: blake2s.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
try.c: /usr/bin/ld: warning: blake2s.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
measure.c: /usr/bin/ld: warning: blake2s.o: missing .note.GNU-stack section implies executable stack
measure.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
blake2s-ref.c: In file included from blake2s-ref.c:19:
blake2s-ref.c: blake2.h:101:5: error: size of array element is not a multiple of its alignment
blake2s-ref.c: 101 | blake2s_state S[8][1];
blake2s-ref.c: | ^~~~~~~~~~~~~
blake2s-ref.c: blake2.h:102:5: error: size of array element is not a multiple of its alignment
blake2s-ref.c: 102 | blake2s_state R[1];
blake2s-ref.c: | ^~~~~~~~~~~~~
blake2s-ref.c: blake2.h:109:5: error: size of array element is not a multiple of its alignment
blake2s-ref.c: 109 | blake2b_state S[4][1];
blake2s-ref.c: | ^~~~~~~~~~~~~
blake2s-ref.c: blake2.h:110:5: error: size of array element is not a multiple of its alignment
blake2s-ref.c: 110 | blake2b_state R[1];
blake2s-ref.c: | ^~~~~~~~~~~~~
blake2s-ref.c: blake2s-ref.c: In function ‘blake2s’:
blake2s-ref.c: blake2s-ref.c:331:3: error: size of array element is not a multiple of its alignment
blake2s-ref.c: 331 | blake2s_state S[1];
blake2s-ref.c: | ^~~~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
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

Compiler output

Implementation: T:xmm
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
blake2s.c: In file included from blake2s.c:21:
blake2s.c: ./blake2-config.h:68:2: error: "This code requires at least SSE2."
blake2s.c: #error "This code requires at least SSE2."
blake2s.c: ^
blake2s.c: In file included from blake2s.c:24:
blake2s.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
blake2s.c: #error "This header is only meant to be used on x86 and x64 architecture"
blake2s.c: ^
blake2s.c: In file included from blake2s.c:24:
blake2s.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/emmintrin.h:17:
blake2s.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
blake2s.c: #error "This header is only meant to be used on x86 and x64 architecture"
blake2s.c: ^
blake2s.c: In file included from blake2s.c:24:
blake2s.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/emmintrin.h:17:
blake2s.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/xmmintrin.h:17:
blake2s.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
blake2s.c: #error "This header is only meant to be used on x86 and x64 architecture"
blake2s.c: ^
blake2s.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:54:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
blake2s.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
blake2s.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blake2s.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:133:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
blake2s.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
blake2s.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blake2s.c: ...

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

Compiler output

Implementation: T:xmm
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
blake2s.c: In file included from blake2s.c:19:
blake2s.c: blake2.h:101:5: error: size of array element is not a multiple of its alignment
blake2s.c: 101 | blake2s_state S[8][1];
blake2s.c: | ^~~~~~~~~~~~~
blake2s.c: blake2.h:102:5: error: size of array element is not a multiple of its alignment
blake2s.c: 102 | blake2s_state R[1];
blake2s.c: | ^~~~~~~~~~~~~
blake2s.c: blake2.h:109:5: error: size of array element is not a multiple of its alignment
blake2s.c: 109 | blake2b_state S[4][1];
blake2s.c: | ^~~~~~~~~~~~~
blake2s.c: blake2.h:110:5: error: size of array element is not a multiple of its alignment
blake2s.c: 110 | blake2b_state R[1];
blake2s.c: | ^~~~~~~~~~~~~
blake2s.c: In file included from blake2s.c:21:
blake2s.c: blake2-config.h:68:2: error: #error "This code requires at least SSE2."
blake2s.c: 68 | #error "This code requires at least SSE2."
blake2s.c: | ^~~~~
blake2s.c: blake2s.c:24:10: fatal error: emmintrin.h: No such file or directory
blake2s.c: 24 | #include <emmintrin.h>
blake2s.c: | ^~~~~~~~~~~~~
blake2s.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:xmm
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:xmm
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:xmm
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:xmm