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
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version | 
|---|
| 18048 | 8164 0 0 | 20354 824 728 | ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18071 | 8168 0 0 | 17002 824 720 | ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18072 | 8168 0 0 | 16732 816 720 | ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18087 | 8168 0 0 | 18594 824 720 | ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18271 | 8444 0 0 | 17904 816 736 | ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18271 | 8444 0 0 | 19112 816 736 | ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18288 | 8260 0 0 | 18698 824 720 | inplace | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18288 | 8260 0 0 | 20458 824 728 | inplace | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18288 | 8260 0 0 | 17106 824 720 | inplace | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18288 | 8260 0 0 | 16836 816 720 | inplace | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18340 | 8448 0 0 | 19128 816 736 | inplace | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 18342 | 8448 0 0 | 17920 816 736 | inplace | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 20138 | 8148 0 0 | 20626 824 728 | ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 20572 | 8132 0 0 | 20618 824 728 | inplace | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 21620 | 8220 0 0 | 16911 792 720 | ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 21733 | 8456 0 0 | 18095 808 728 | ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 22139 | 8224 0 0 | 16919 792 720 | inplace | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
| 22187 | 8444 0 0 | 18087 808 728 | inplace | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250529 | 20250415 | 
Test failure
error 132
timeout: the monitored command dumped core
Illegal instruction
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler | 
| dolbeau/armv8crypto | clang -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:
| Implementation | Compiler | 
| dolbeau/amd64-sha | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| dolbeau/amd64-sha | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| dolbeau/amd64-sha | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| dolbeau/amd64-sha | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| dolbeau/amd64-sha | clang -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:
| Implementation | Compiler | 
| dolbeau/amd64-sha | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| dolbeau/amd64-sha | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| dolbeau/amd64-sha | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| dolbeau/amd64-sha | gcc -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:
| Implementation | Compiler | 
| dolbeau/armv8crypto | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| dolbeau/armv8crypto | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| dolbeau/armv8crypto | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| dolbeau/armv8crypto | clang -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:
| Implementation | Compiler | 
| dolbeau/armv8crypto | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| dolbeau/armv8crypto | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| dolbeau/armv8crypto | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| dolbeau/armv8crypto | gcc -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:
| Implementation | Compiler | 
| inplace | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| inplace | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| inplace | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| inplace | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| inplace | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| inplace | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| inplace | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| inplace | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| inplace | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) | 
| ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) | 
| ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |