Test results for aarch64, pi4b, crypto_hashblocks/sha256

[Page version: 20251028 07:34:46]

Measurements for aarch64, pi4b, crypto_hashblocks Test results for aarch64, pi4b, crypto_hashblocks Test results for crypto_hashblocks/sha256
Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20250922
Operation: crypto_hashblocks
Primitive: sha256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
180488164 0 020354 824 728refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
180718168 0 017002 824 720refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
180728168 0 016732 816 720refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
180878168 0 018594 824 720refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
182718444 0 017904 816 736refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
182718444 0 019112 816 736refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
182888260 0 018698 824 720inplaceclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
182888260 0 020458 824 728inplaceclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
182888260 0 017106 824 720inplaceclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
182888260 0 016836 816 720inplaceclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
183408448 0 019128 816 736inplacegcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
183428448 0 017920 816 736inplacegcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
201388148 0 020626 824 728refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
205728132 0 020618 824 728inplaceclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
216208220 0 016911 792 720refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
217338456 0 018095 808 728refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
221398224 0 016919 792 720inplacegcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052920250415
221878444 0 018087 808 728inplacegcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052920250415

Test failure


error 132
timeout: the monitored command dumped core
Illegal instruction

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/armv8cryptoclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


blocks.c: In file included from blocks.c:37:
blocks.c: /usr/lib/llvm-18/lib/clang/18/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
blocks.c:    14 | #error "This header is only meant to be used on x86 and x64 architecture"
blocks.c:       |  ^
blocks.c: In file included from blocks.c:37:
blocks.c: In file included from /usr/lib/llvm-18/lib/clang/18/include/immintrin.h:17:
blocks.c: In file included from /usr/lib/llvm-18/lib/clang/18/include/x86gprintrin.h:15:
blocks.c: /usr/lib/llvm-18/lib/clang/18/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm
blocks.c:    42 |   __asm__ ("hreset $0" :: "a"(__eax));
blocks.c:       |                           ^
blocks.c: In file included from blocks.c:37:
blocks.c: In file included from /usr/lib/llvm-18/lib/clang/18/include/immintrin.h:21:
blocks.c: /usr/lib/llvm-18/lib/clang/18/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
blocks.c:    14 | #error "This header is only meant to be used on x86 and x64 architecture"
blocks.c:       |  ^
blocks.c: /usr/lib/llvm-18/lib/clang/18/include/mmintrin.h:56:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
blocks.c:    56 |     return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
blocks.c:       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blocks.c: /usr/lib/llvm-18/lib/clang/18/include/mmintrin.h:135:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
blocks.c:   135 |     return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
blocks.c:       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blocks.c: /usr/lib/llvm-18/lib/clang/18/include/mmintrin.h:165:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
blocks.c:   165 |     return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
blocks.c:       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blocks.c: /usr/lib/llvm-18/lib/clang/18/include/mmintrin.h:195:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
blocks.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
dolbeau/amd64-shaclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
dolbeau/amd64-shaclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
dolbeau/amd64-shaclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
dolbeau/amd64-shaclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
dolbeau/amd64-shaclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


blocks.c: blocks.c:37:10: fatal error: immintrin.h: No such file or directory
blocks.c:    37 | #include <immintrin.h>
blocks.c:       |          ^~~~~~~~~~~~~
blocks.c: compilation terminated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
dolbeau/amd64-shagcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
dolbeau/amd64-shagcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
dolbeau/amd64-shagcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
dolbeau/amd64-shagcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


blocks.c: blocks.c:134:3: error: always_inline function 'vsha256hq_u32' requires target feature 'sha2', but would be inlined into function 'crypto_hashblocks_sha256_dolbeau_armv8crypto_constbranchindex' that is compiled without support for 'sha2'
blocks.c:   134 |                 DO16ROUNDS(i0, i1, i2, i3, c0, c1, c2, c3);
blocks.c:       |                 ^
blocks.c: blocks.c:108:8: note: expanded from macro 'DO16ROUNDS'
blocks.c:   108 |                 x0 = vsha256hq_u32(s0, s1, h0);         \
blocks.c:       |                      ^
blocks.c: blocks.c:134:3: error: always_inline function 'vsha256h2q_u32' requires target feature 'sha2', but would be inlined into function 'crypto_hashblocks_sha256_dolbeau_armv8crypto_constbranchindex' that is compiled without support for 'sha2'
blocks.c: blocks.c:109:8: note: expanded from macro 'DO16ROUNDS'
blocks.c:   109 |                 x1 = vsha256h2q_u32(s1, s0, h0);        \
blocks.c:       |                      ^
blocks.c: blocks.c:134:3: error: always_inline function 'vsha256hq_u32' requires target feature 'sha2', but would be inlined into function 'crypto_hashblocks_sha256_dolbeau_armv8crypto_constbranchindex' that is compiled without support for 'sha2'
blocks.c: blocks.c:111:8: note: expanded from macro 'DO16ROUNDS'
blocks.c:   111 |                 s0 = vsha256hq_u32(x0, x1, h1);         \
blocks.c:       |                      ^
blocks.c: blocks.c:134:3: error: always_inline function 'vsha256h2q_u32' requires target feature 'sha2', but would be inlined into function 'crypto_hashblocks_sha256_dolbeau_armv8crypto_constbranchindex' that is compiled without support for 'sha2'
blocks.c: blocks.c:112:8: note: expanded from macro 'DO16ROUNDS'
blocks.c:   112 |                 s1 = vsha256h2q_u32(x1, x0, h1);        \
blocks.c:       |                      ^
blocks.c: blocks.c:134:3: error: always_inline function 'vsha256hq_u32' requires target feature 'sha2', but would be inlined into function 'crypto_hashblocks_sha256_dolbeau_armv8crypto_constbranchindex' that is compiled without support for 'sha2'
blocks.c: blocks.c:114:8: note: expanded from macro 'DO16ROUNDS'
blocks.c:   114 |                 x0 = vsha256hq_u32(s0, s1, h0);         \
blocks.c:       |                      ^
blocks.c: blocks.c:134:3: error: always_inline function 'vsha256h2q_u32' requires target feature 'sha2', but would be inlined into function 'crypto_hashblocks_sha256_dolbeau_armv8crypto_constbranchindex' that is compiled without support for 'sha2'
blocks.c: blocks.c:115:8: note: expanded from macro 'DO16ROUNDS'
blocks.c:   115 |                 x1 = vsha256h2q_u32(s1, s0, h0);        \
blocks.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
dolbeau/armv8cryptoclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
dolbeau/armv8cryptoclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
dolbeau/armv8cryptoclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
dolbeau/armv8cryptoclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


blocks.c: In file included from blocks.c:37:
blocks.c: /usr/lib/gcc/aarch64-linux-gnu/13/include/arm_neon.h: In function 'crypto_hashblocks_sha256_dolbeau_armv8crypto_constbranchindex':
blocks.c: /usr/lib/gcc/aarch64-linux-gnu/13/include/arm_neon.h:20847:1: error: inlining failed in call to 'always_inline' 'vsha256h2q_u32': target specific option mismatch
blocks.c: 20847 | vsha256h2q_u32 (uint32x4_t __hash_efgh, uint32x4_t __hash_abcd, uint32x4_t __wk)
blocks.c:       | ^~~~~~~~~~~~~~
blocks.c: blocks.c:118:22: note: called from here
blocks.c:   118 |                 s1 = vsha256h2q_u32(x1, x0, h1)
blocks.c:       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
blocks.c: blocks.c:146:17: note: in expansion of macro 'DO16ROUNDS'
blocks.c:   146 |                 DO16ROUNDS(j0, j1, j2, j3, cc, cd, ce, cf);
blocks.c:       |                 ^~~~~~~~~~
blocks.c: /usr/lib/gcc/aarch64-linux-gnu/13/include/arm_neon.h:20839:1: error: inlining failed in call to 'always_inline' 'vsha256hq_u32': target specific option mismatch
blocks.c: 20839 | vsha256hq_u32 (uint32x4_t __hash_abcd, uint32x4_t __hash_efgh, uint32x4_t __wk)
blocks.c:       | ^~~~~~~~~~~~~
blocks.c: blocks.c:117:22: note: called from here
blocks.c:   117 |                 s0 = vsha256hq_u32(x0, x1, h1);         \
blocks.c:       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
blocks.c: blocks.c:146:17: note: in expansion of macro 'DO16ROUNDS'
blocks.c:   146 |                 DO16ROUNDS(j0, j1, j2, j3, cc, cd, ce, cf);
blocks.c:       |                 ^~~~~~~~~~
blocks.c: /usr/lib/gcc/aarch64-linux-gnu/13/include/arm_neon.h:20847:1: error: inlining failed in call to 'always_inline' 'vsha256h2q_u32': target specific option mismatch
blocks.c: 20847 | vsha256h2q_u32 (uint32x4_t __hash_efgh, uint32x4_t __hash_abcd, uint32x4_t __wk)
blocks.c:       | ^~~~~~~~~~~~~~
blocks.c: blocks.c:115:22: note: called from here
blocks.c:   115 |                 x1 = vsha256h2q_u32(s1, s0, h0);        \
blocks.c: ...

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

Passed TIMECOP


TIMECOP iterations: 10

Number of similar (implementation,compiler) pairs: 18, namely:
ImplementationCompiler
inplaceclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
inplaceclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
inplaceclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
inplaceclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
inplaceclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
inplacegcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
inplacegcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
inplacegcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
inplacegcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)