Test results for aarch64, pi3aplus, crypto_hash/blake2s

[Page version: 20240908 09:13:06]

Measurements for aarch64, pi3aplus, crypto_hash Test results for aarch64, pi3aplus, crypto_hash Test results for crypto_hash/blake2s
Computer: pi3aplus
Microarchitecture: aarch64; Cortex-A53 (410fd034)
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20240808
Operation: crypto_hash
Primitive: blake2s
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1511210232 0 019615 832 728T:regsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082020240808
1511210232 0 020960 840 744T:regsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082020240808
1570010348 0 021621 768 736T:regsclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024082020240808
1771910844 0 019335 816 720T:regsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082020240808
178257372 0 018168 840 744T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082020240808
211306684 0 016200 840 728T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082020240808
236656704 0 015328 824 720T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082020240808
253859316 0 020573 768 736T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024082020240808
544158000 0 017472 840 728T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082020240808
5833613948 0 023319 832 728T:regsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082020240808

Compiler output


blake2s.S: blake2s.S:13:14: error: unknown token in expression
blake2s.S:         xorl %r11d, %r11d
blake2s.S:              ^
blake2s.S: blake2s.S:13:14: error: invalid operand
blake2s.S:         xorl %r11d, %r11d
blake2s.S:              ^
blake2s.S: blake2s.S:14:14: error: unknown token in expression
blake2s.S:         xorl %ecx, %ecx
blake2s.S:              ^
blake2s.S: blake2s.S:14:14: error: invalid operand
blake2s.S:         xorl %ecx, %ecx
blake2s.S:              ^
blake2s.S: blake2s.S:15:14: error: unknown token in expression
blake2s.S:         movq %rsi, %r9
blake2s.S:              ^
blake2s.S: blake2s.S:15:14: error: invalid operand
blake2s.S:         movq %rsi, %r9
blake2s.S:              ^
blake2s.S: blake2s.S:16:38: error: unexpected token in argument list
blake2s.S:         vmovdqu .L_2il0floatpacket.10(%rip), %xmm4
blake2s.S:                                      ^
blake2s.S: blake2s.S:17:14: error: unknown token in expression
blake2s.S:         xorl %eax, %eax
blake2s.S:              ^
blake2s.S: blake2s.S:17:14: error: invalid operand
blake2s.S: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avxiccclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


blake2s.S: blake2s.c: Assembler messages:
blake2s.S: blake2s.c:13: Error: unknown mnemonic `xorl' -- `xorl %r11d,%r11d'
blake2s.S: blake2s.c:14: Error: unknown mnemonic `xorl' -- `xorl %ecx,%ecx'
blake2s.S: blake2s.c:15: Error: unknown mnemonic `movq' -- `movq %rsi,%r9'
blake2s.S: blake2s.c:16: Error: unknown mnemonic `vmovdqu' -- `vmovdqu .L_2il0floatpacket.10(%rip),%xmm4'
blake2s.S: blake2s.c:17: Error: unknown mnemonic `xorl' -- `xorl %eax,%eax'
blake2s.S: blake2s.c:18: Error: unknown mnemonic `vmovdqu' -- `vmovdqu .L_2il0floatpacket.7(%rip),%xmm0'
blake2s.S: blake2s.c:19: Error: unknown mnemonic `vmovdqa' -- `vmovdqa %xmm4,%xmm2'
blake2s.S: blake2s.c:20: Error: unknown mnemonic `vmovdqu' -- `vmovdqu .L_2il0floatpacket.8(%rip),%xmm1'
blake2s.S: blake2s.c:21: Error: unknown mnemonic `movq' -- `movq %rdx,%r8'
blake2s.S: blake2s.c:22: Error: unknown mnemonic `vmovdqu' -- `vmovdqu .L_2il0floatpacket.9(%rip),%xmm3'
blake2s.S: blake2s.c:23: Error: unknown mnemonic `xorl' -- `xorl %r10d,%r10d'
blake2s.S: blake2s.c:24: Error: unknown mnemonic `vmovdqu' -- `vmovdqu .L_2il0floatpacket.11(%rip),%xmm5'
blake2s.S: blake2s.c:25: Error: unknown mnemonic `cmpq' -- `cmpq $64,%rdx'
blake2s.S: blake2s.c:26: Error: unknown mnemonic `jbe' -- `jbe ..B1.5'
blake2s.S: blake2s.c:28: Error: unknown mnemonic `movq' -- `movq %rbp,-104(%rsp)'
blake2s.S: blake2s.c:29: Error: unknown mnemonic `lea' -- `lea -1(%rdx),%rsi'
blake2s.S: blake2s.c:30: Error: unknown mnemonic `sarq' -- `sarq $5,%rsi'
blake2s.S: blake2s.c:32: Error: unknown mnemonic `movq' -- `movq %rcx,%rbp'
blake2s.S: blake2s.c:33: Error: unknown mnemonic `shrq' -- `shrq $58,%rsi'
blake2s.S: blake2s.c:34: Error: unknown mnemonic `movq' -- `movq %rax,%rcx'
blake2s.S: blake2s.c:35: Error: unknown mnemonic `lea' -- `lea -1(%rsi,%rdx),%rdx'
blake2s.S: blake2s.c:36: Error: unknown mnemonic `sarq' -- `sarq $6,%rdx'
blake2s.S: blake2s.c:37: Error: unknown mnemonic `movq' -- `movq %rdx,%rax'
blake2s.S: blake2s.c:39: Error: unknown mnemonic `vmovdqu' -- `vmovdqu (%rcx,%r9),%xmm9'
blake2s.S: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:avxiccgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:avxiccgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:avxiccgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:avxiccgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)

Compiler output


blake2s-ref.c: blake2s-ref.c:63:19: warning: unused function 'blake2s_clear_lastblock' [-Wunused-function]
blake2s-ref.c: static inline int blake2s_clear_lastblock( blake2s_state *S )
blake2s-ref.c:                   ^
blake2s-ref.c: blake2s-ref.c:79:19: warning: unused function 'blake2s_param_set_digest_length' [-Wunused-function]
blake2s-ref.c: static inline int blake2s_param_set_digest_length( blake2s_param *P, const uint8_t digest_length )
blake2s-ref.c:                   ^
blake2s-ref.c: blake2s-ref.c:85:19: warning: unused function 'blake2s_param_set_fanout' [-Wunused-function]
blake2s-ref.c: static inline int blake2s_param_set_fanout( blake2s_param *P, const uint8_t fanout )
blake2s-ref.c:                   ^
blake2s-ref.c: blake2s-ref.c:91:19: warning: unused function 'blake2s_param_set_max_depth' [-Wunused-function]
blake2s-ref.c: static inline int blake2s_param_set_max_depth( blake2s_param *P, const uint8_t depth )
blake2s-ref.c:                   ^
blake2s-ref.c: blake2s-ref.c:97:19: warning: unused function 'blake2s_param_set_leaf_length' [-Wunused-function]
blake2s-ref.c: static inline int blake2s_param_set_leaf_length( blake2s_param *P, const uint32_t leaf_length )
blake2s-ref.c:                   ^
blake2s-ref.c: blake2s-ref.c:103:19: warning: unused function 'blake2s_param_set_node_offset' [-Wunused-function]
blake2s-ref.c: static inline int blake2s_param_set_node_offset( blake2s_param *P, const uint64_t node_offset )
blake2s-ref.c:                   ^
blake2s-ref.c: blake2s-ref.c:109:19: warning: unused function 'blake2s_param_set_node_depth' [-Wunused-function]
blake2s-ref.c: static inline int blake2s_param_set_node_depth( blake2s_param *P, const uint8_t node_depth )
blake2s-ref.c:                   ^
blake2s-ref.c: blake2s-ref.c:115:19: warning: unused function 'blake2s_param_set_inner_length' [-Wunused-function]
blake2s-ref.c: static inline int blake2s_param_set_inner_length( blake2s_param *P, const uint8_t inner_length )
blake2s-ref.c:                   ^
blake2s-ref.c: blake2s-ref.c:121:19: warning: unused function 'blake2s_param_set_salt' [-Wunused-function]
blake2s-ref.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


blake2s.c: blake2s.c:796:11: warning: implicit conversion from 'unsigned long' to 'uint32_t' (aka 'unsigned int') changes value from 18446744073180816980 to 3766232660 [-Wconstant-conversion]
blake2s.c:     v14 = ~0x1F83D9ABUL;
blake2s.c:         ~ ^~~~~~~~~~~~~
blake2s.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:regsclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


blake2s.c: blake2s.c: In function 'crypto_hash_blake2s_regs_timingleaks':
blake2s.c: blake2s.c:796:11: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} changes value from '18446744073180816980' to '3766232660' [-Woverflow]
blake2s.c:      v14 = ~0x1F83D9ABUL;
blake2s.c:            ^

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:regsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:regsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:regsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:regsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)

Compiler output


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: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/emmintrin.h:27:
blake2s.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/xmmintrin.h:27:
blake2s.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
blake2s.c:     return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
blake2s.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blake2s.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
blake2s.c:     return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
blake2s.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blake2s.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
blake2s.c:     return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
blake2s.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blake2s.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
blake2s.c:     return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
blake2s.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blake2s.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
blake2s.c:     return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
blake2s.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blake2s.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
blake2s.c:     return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
blake2s.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blake2s.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:xmmclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


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:  #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:  #include <emmintrin.h>
blake2s.c:           ^~~~~~~~~~~~~
blake2s.c: compilation terminated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:xmmgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:xmmgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:xmmgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:xmmgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)

Namespace violations


blake2s-ref.o blake2s T
blake2s-ref.o blake2s_final T
blake2s-ref.o blake2s_init T
blake2s-ref.o blake2s_init_key T
blake2s-ref.o blake2s_init_param T
blake2s-ref.o blake2s_update T

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)