Test results for aarch64, pi3aplus, crypto_hash/lsh512

[Page version: 20240908 09:13:06]

Measurements for aarch64, pi3aplus, crypto_hash Test results for aarch64, pi3aplus, crypto_hash Test results for crypto_hash/lsh512
Computer: pi3aplus
Microarchitecture: aarch64; Cortex-A53 (410fd034)
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20240808
Operation: crypto_hash
Primitive: lsh512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2012623228 0 022901 768 736refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
2022724804 0 021032 824 720refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
2248826948 0 024416 840 744refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
2535627268 0 023240 840 728refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
2567727628 0 023296 840 728refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808

Compiler output


hash.cpp: hash.cpp:1:10: fatal error: cryptopp/lsh.h: No such file or directory
hash.cpp:  #include <cryptopp/lsh.h>
hash.cpp:           ^~~~~~~~~~~~~~~~
hash.cpp: compilation terminated.

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

Compiler output


lsh-impl.c: lsh-impl.c:141:21: error: argument to '__builtin_neon_vshlq_n_v' must be a constant integer
lsh-impl.c:         return vsriq_n_u64(vshlq_n_u64(value, rot), value, 64 - rot);
lsh-impl.c:                            ^                  ~~~
lsh-impl.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:24909:24: note: expanded from macro 'vshlq_n_u64'
lsh-impl.c:   __ret = (uint64x2_t) __builtin_neon_vshlq_n_v((int8x16_t)__s0, __p1, 51); \
lsh-impl.c:                        ^                                         ~~~~
lsh-impl.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:26597:21: note: expanded from macro 'vsriq_n_u64'
lsh-impl.c:   uint64x2_t __s0 = __p0; \
lsh-impl.c:                     ^~~~
lsh-impl.c: lsh-impl.c:141:9: error: argument to '__builtin_neon_vsriq_n_v' must be a constant integer
lsh-impl.c:         return vsriq_n_u64(vshlq_n_u64(value, rot), value, 64 - rot);
lsh-impl.c:                ^                                           ~~~~~~~~
lsh-impl.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:26600:24: note: expanded from macro 'vsriq_n_u64'
lsh-impl.c:   __ret = (uint64x2_t) __builtin_neon_vsriq_n_v((int8x16_t)__s0, (int8x16_t)__s1, __p2, 51); \
lsh-impl.c:                        ^                                                          ~~~~
lsh-impl.c: 2 errors generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
neonclang -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


lsh-impl.c: lsh-impl.c:121:22: warning: 'BETA_ODD' defined but not used [-Wunused-const-variable=]
lsh-impl.c:  static const lsh_u32 BETA_ODD = 3;
lsh-impl.c:                       ^~~~~~~~
lsh-impl.c: lsh-impl.c:120:22: warning: 'BETA_EVEN' defined but not used [-Wunused-const-variable=]
lsh-impl.c:  static const lsh_u32 BETA_EVEN = 59;
lsh-impl.c:                       ^~~~~~~~~
lsh-impl.c: lsh-impl.c:119:22: warning: 'ALPHA_ODD' defined but not used [-Wunused-const-variable=]
lsh-impl.c:  static const lsh_u32 ALPHA_ODD = 7;
lsh-impl.c:                       ^~~~~~~~~
lsh-impl.c: lsh-impl.c:118:22: warning: 'ALPHA_EVEN' defined but not used [-Wunused-const-variable=]
lsh-impl.c:  static const lsh_u32 ALPHA_EVEN = 23;
lsh-impl.c:                       ^~~~~~~~~~
lsh.c: lsh.c:123:31: error: unknown type name 'lsh_s64x2'
lsh.c:  static const LSH_ALIGNED_(32) lsh_s64x2 GAMMA[4] = {{0, 16}, {32, 48}, {8, 24}, {40, 56}};
lsh.c:                                ^~~~~~~~~
lsh.c: lsh.c:123:1: warning: braces around scalar initializer
lsh.c:  static const LSH_ALIGNED_(32) lsh_s64x2 GAMMA[4] = {{0, 16}, {32, 48}, {8, 24}, {40, 56}};
lsh.c:  ^~~~~~
lsh.c: lsh.c:123:1: note: (near initialization for 'GAMMA[0]')
lsh.c: lsh.c:123:57: warning: excess elements in scalar initializer
lsh.c:  static const LSH_ALIGNED_(32) lsh_s64x2 GAMMA[4] = {{0, 16}, {32, 48}, {8, 24}, {40, 56}};
lsh.c:                                                          ^~
lsh.c: lsh.c:123:57: note: (near initialization for 'GAMMA[0]')
lsh.c: lsh.c:123:1: warning: braces around scalar initializer
lsh.c:  static const LSH_ALIGNED_(32) lsh_s64x2 GAMMA[4] = {{0, 16}, {32, 48}, {8, 24}, {40, 56}};
lsh.c:  ^~~~~~
lsh.c: lsh.c:123:1: note: (near initialization for 'GAMMA[1]')
lsh.c: lsh.c:123:67: warning: excess elements in scalar initializer
lsh.c:  static const LSH_ALIGNED_(32) lsh_s64x2 GAMMA[4] = {{0, 16}, {32, 48}, {8, 24}, {40, 56}};
lsh.c:                                                                    ^~
lsh.c: lsh.c:123:67: note: (near initialization for 'GAMMA[1]')
lsh.c: lsh.c:123:1: warning: braces around scalar initializer
lsh.c:  static const LSH_ALIGNED_(32) lsh_s64x2 GAMMA[4] = {{0, 16}, {32, 48}, {8, 24}, {40, 56}};
lsh.c:  ^~~~~~
lsh.c: lsh.c:123:1: note: (near initialization for 'GAMMA[2]')
lsh.c: lsh.c:123:76: warning: excess elements in scalar initializer
lsh.c:  static const LSH_ALIGNED_(32) lsh_s64x2 GAMMA[4] = {{0, 16}, {32, 48}, {8, 24}, {40, 56}};
lsh.c: ...

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

Namespace violations


lsh-impl.o lsh512_digest T
lsh-impl.o lsh512_final T
lsh-impl.o lsh512_init T
lsh-impl.o lsh512_update T
lsh.o lsh512_digest T
lsh.o lsh512_final T
lsh.o lsh512_init T
lsh.o lsh512_update T

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

TIMECOP error (can be valgrind bug)


error 111

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

Passed TIMECOP


TIMECOP iterations: 10

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