Implementation notes: amd64, hertz, crypto_hash/blake512

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_hash
Primitive: blake512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
838715195 0 026917 804 968bswapgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
845216854 0 028573 804 968regsgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
856414556 0 024816 780 936regsgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
856514556 0 024816 780 936bswapgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
858415383 0 033055 828 968bswapclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
859715415 0 033199 828 968bswapclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
864314583 0 026168 820 968bswapclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
869715415 0 029237 804 1032bswapgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
870310966 0 028630 828 968sse41clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
871310982 0 028758 828 968sse41clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
873010181 0 021792 820 968sse41clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
875916906 0 030725 804 1032regsgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
889528500 0 040428 812 968sphlibgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
896429673 0 043660 812 1032sphlibgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
896626287 0 037984 820 968sphlibclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
917011484 0 029110 828 968ssse3clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
923810685 0 022272 820 968ssse3clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
928426251 0 044151 828 968sphlibclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
935026251 0 044039 828 968sphlibclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
937211518 0 029190 828 968sse2sclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
937411550 0 029334 828 968sse2sclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
955811266 0 029030 828 968sse2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
957210435 0 022032 820 968sse2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
96374829 0 022470 828 968refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
965211234 0 028886 828 968sse2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
96634861 0 022614 828 968refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
970811516 0 029254 828 968ssse3clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
984410719 0 022352 820 968sse2sclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1006113910 0 027709 804 1032ssse3gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1008813886 0 025653 804 968ssse3gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1014411505 0 023237 804 968sse41gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1015011147 0 021424 780 936sse41gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1018511521 0 025293 804 1032sse41gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1025013782 0 027549 804 1032sse2sgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1028713758 0 025493 804 968sse2sgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1053818600 0 036358 828 968regsclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1066518568 0 036214 828 968regsclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1066824609 0 035071 788 936sphlibgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1069717769 0 029376 820 968regsclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1091714990 0 026725 804 968sse2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1095315014 0 028781 804 1032sse2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1118713399 0 023672 780 936sse2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
113157723 0 018175 788 936sphlib-smallgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1136712557 0 022824 780 936ssse3gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1137512656 0 022920 780 936sse2sgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
115867258 0 018928 820 968sphlib-smallclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
119129039 0 026839 828 968sphlib-smallclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
119259039 0 026951 828 968sphlib-smallclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
120393706 0 015312 820 968refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
127903339 0 013592 780 936refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1401411769 0 025756 812 1032sphlib-smallgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1405310612 0 022540 812 968sphlib-smallgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
145416942 0 018693 804 968refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
145997029 0 020813 804 1032refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1616014990 0 032783 828 968sandyclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1618514158 0 025752 820 968sandyclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1620914958 0 032639 828 968sandyclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1648415022 0 025280 780 936sandygcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1671915419 0 027141 804 968sandygcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1672015639 0 029461 804 1032sandygcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

Compiler output


hash.c: hash.c:43:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c:    43 | static const u8 sigma[][16] = {
hash.c:       |                 ^~~~~
hash.c: hash.c:66:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c:    66 | static const u64 cst[16] = {
hash.c:       |                  ^~~
hash.c: 2 warnings generated.

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

Compiler output


hash.c: hash.c:66:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    66 | static const u64 cst[16] = {
hash.c:       |                  ^~~
hash.c: hash.c:43:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    43 | static const u8 sigma[][16] = {
hash.c:       |                 ^~~~~

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

Compiler output


hash.c: hash.c:45:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c:    45 | static const u8 sigma[][16] = {
hash.c:       |                 ^~~~~
hash.c: hash.c:68:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c:    68 | static const u64 cst[16] = {
hash.c:       |                  ^~~
hash.c: 2 warnings generated.

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

Compiler output


hash.c: hash.c:68:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    68 | static const u64 cst[16] = {
hash.c:       |                  ^~~
hash.c: hash.c:45:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    45 | static const u8 sigma[][16] = {
hash.c:       |                 ^~~~~

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

Compiler output


hash.c: In file included from hash.c:8:
hash.c: ./rounds.h:8:10: warning: '_mm_roti_epi64' macro redefined [-Wmacro-redefined]
hash.c:     8 |         #define _mm_roti_epi64(x, c) \
hash.c:       |                 ^
hash.c: /usr/lib/llvm-18/lib/clang/18/include/xopintrin.h:236:9: note: previous definition is here
hash.c:   236 | #define _mm_roti_epi64(A, N) \
hash.c:       |         ^
hash.c: hash.c:69:27: warning: unused variable 't4' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                           ^~
hash.c: hash.c:69:31: warning: unused variable 't5' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                               ^~
hash.c: hash.c:69:35: warning: unused variable 't6' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                   ^~
hash.c: hash.c:69:39: warning: unused variable 't7' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                       ^~
hash.c: hash.c:70:19: warning: unused variable 'b2' [-Wunused-variable]
hash.c:    70 |   __m128i b0, b1, b2, b3;
hash.c:       |                   ^~
hash.c: hash.c:70:23: warning: unused variable 'b3' [-Wunused-variable]
hash.c:    70 |   __m128i b0, b1, b2, b3;
hash.c:       |                       ^~
hash.c: ...

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

Compiler output


hash.c: hash.c: In function 'blake512_compress':
hash.c: hash.c:70:23: warning: unused variable 'b3' [-Wunused-variable]
hash.c:    70 |   __m128i b0, b1, b2, b3;
hash.c:       |                       ^~
hash.c: hash.c:70:19: warning: unused variable 'b2' [-Wunused-variable]
hash.c:    70 |   __m128i b0, b1, b2, b3;
hash.c:       |                   ^~
hash.c: hash.c:69:39: warning: unused variable 't7' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                       ^~
hash.c: hash.c:69:35: warning: unused variable 't6' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                   ^~
hash.c: hash.c:69:31: warning: unused variable 't5' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                               ^~
hash.c: hash.c:69:27: warning: unused variable 't4' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                           ^~

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

Compiler output


hash.c: hash.c:38:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c:    38 | static const u8 sigma[][16] = {
hash.c:       |                 ^~~~~
hash.c: hash.c:61:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c:    61 | static const u64 cst[16] = {
hash.c:       |                  ^~~
hash.c: 2 warnings generated.

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

Compiler output


hash.c: hash.c:61:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    61 | static const u64 cst[16] = {
hash.c:       |                  ^~~
hash.c: hash.c:38:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    38 | static const u8 sigma[][16] = {
hash.c:       |                 ^~~~~

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

Compiler output


hash.c: hash.c:65:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:    65 |   const __m128i r16 = _mm_setr_epi8(2,3,4,5,6,7,0,1,10,11,12,13,14,15,8,9);
hash.c:       |                 ^~~
hash.c: hash.c:69:27: warning: unused variable 't4' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                           ^~
hash.c: hash.c:69:31: warning: unused variable 't5' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                               ^~
hash.c: hash.c:69:35: warning: unused variable 't6' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                   ^~
hash.c: hash.c:69:39: warning: unused variable 't7' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                       ^~
hash.c: hash.c:70:19: warning: unused variable 'b2' [-Wunused-variable]
hash.c:    70 |   __m128i b0, b1, b2, b3;
hash.c:       |                   ^~
hash.c: hash.c:70:23: warning: unused variable 'b3' [-Wunused-variable]
hash.c:    70 |   __m128i b0, b1, b2, b3;
hash.c:       |                       ^~
hash.c: hash.c:81:8: error: always_inline function '_mm_perm_epi8' requires target feature 'xop', but would be inlined into function 'blake512_compress' that is compiled without support for 'xop'
hash.c:    81 |   m0 = BSWAP64(m0);
hash.c:       |        ^
hash.c: ./rounds.h:13:21: note: expanded from macro 'BSWAP64'
hash.c: ...

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

Compiler output


hash.c: hash.c: In function 'blake512_compress':
hash.c: hash.c:70:23: warning: unused variable 'b3' [-Wunused-variable]
hash.c:    70 |   __m128i b0, b1, b2, b3;
hash.c:       |                       ^~
hash.c: hash.c:70:19: warning: unused variable 'b2' [-Wunused-variable]
hash.c:    70 |   __m128i b0, b1, b2, b3;
hash.c:       |                   ^~
hash.c: hash.c:69:39: warning: unused variable 't7' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                       ^~
hash.c: hash.c:69:35: warning: unused variable 't6' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                   ^~
hash.c: hash.c:69:31: warning: unused variable 't5' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                               ^~
hash.c: hash.c:69:27: warning: unused variable 't4' [-Wunused-variable]
hash.c:    69 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                           ^~
hash.c: hash.c:65:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:    65 |   const __m128i r16 = _mm_setr_epi8(2,3,4,5,6,7,0,1,10,11,12,13,14,15,8,9);
hash.c:       |                 ^~~
hash.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/13/include/x86intrin.h:38,
hash.c:                  from hash.c:5:
hash.c: /usr/lib/gcc/x86_64-linux-gnu/13/include/xopintrin.h:272:1: error: inlining failed in call to 'always_inline' '_mm_roti_epi64': target specific option mismatch
hash.c: ...

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

Compiler output


hash.c: hash.c:69:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:    69 |   const __m128i r16 = _mm_setr_epi8(2,3,4,5,6,7,0,1,10,11,12,13,14,15,8,9);
hash.c:       |                 ^~~
hash.c: hash.c:78:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                   ^~
hash.c: hash.c:78:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                       ^~
hash.c: hash.c:78:27: warning: unused variable 't4' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                           ^~
hash.c: hash.c:78:31: warning: unused variable 't5' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                               ^~
hash.c: hash.c:78:35: warning: unused variable 't6' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                   ^~
hash.c: hash.c:78:39: warning: unused variable 't7' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                       ^~
hash.c: hash.c:79:19: warning: unused variable 'u2' [-Wunused-variable]
hash.c:    79 |   u64     u0, u1, u2, u3;
hash.c:       |                   ^~
hash.c: hash.c:79:23: warning: unused variable 'u3' [-Wunused-variable]
hash.c: ...

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

Compiler output


hash.c: hash.c: In function 'blake512_compress':
hash.c: hash.c:79:23: warning: unused variable 'u3' [-Wunused-variable]
hash.c:    79 |   u64     u0, u1, u2, u3;
hash.c:       |                       ^~
hash.c: hash.c:79:19: warning: unused variable 'u2' [-Wunused-variable]
hash.c:    79 |   u64     u0, u1, u2, u3;
hash.c:       |                   ^~
hash.c: hash.c:78:39: warning: unused variable 't7' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                       ^~
hash.c: hash.c:78:35: warning: unused variable 't6' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                                   ^~
hash.c: hash.c:78:31: warning: unused variable 't5' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                               ^~
hash.c: hash.c:78:27: warning: unused variable 't4' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                           ^~
hash.c: hash.c:78:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                       ^~
hash.c: hash.c:78:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:    78 |   __m128i t0, t1, t2, t3, t4, t5, t6, t7;
hash.c:       |                   ^~
hash.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
xop-2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
xop-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
xop-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10A836
   at 0x...: core (try-anything.c:61)
   by 0x...: salsa20 (try-anything.c:101)
   by 0x...: testvector (try-anything.c:124)
   by 0x...: myrandom (try-anything.c:132)
   by 0x...: test (try.c:85)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 10, namely:
ImplementationCompiler
bswapclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
regsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sandyclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sphlibclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sphlib-smallclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sse2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sse2sclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sse41clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
ssse3clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10B354
   at 0x...: salsa20 (try-anything.c:90)
   by 0x...: canary (try-anything.c:148)
   by 0x...: output_prepare (try-anything.c:178)
   by 0x...: test (try.c:87)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 10, namely:
ImplementationCompiler
bswapclang -march=native -O3 -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))
regsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sandyclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sphlibclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sphlib-smallclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sse2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sse2sclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sse41clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
ssse3clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x1099F2
   at 0x...: core (try-anything.c:64)
   by 0x...: salsa20 (try-anything.c:101)
   by 0x...: testvector (try-anything.c:124)
   by 0x...: myrandom (try-anything.c:132)
   by 0x...: test (try.c:85)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 10, namely:
ImplementationCompiler
bswapclang -march=native -Os -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))
regsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sandyclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sphlibclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sphlib-smallclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sse2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sse2sclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
sse41clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
ssse3clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x109AF7
   at 0x...: core (try-anything.c:68)
   by 0x...: salsa20.part.0 (try-anything.c:101)
   by 0x...: salsa20 (try-anything.c:85)
   by 0x...: testvector (try-anything.c:124)
   by 0x...: myrandom (try-anything.c:132)
   by 0x...: test (try.c:85)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 8, namely:
ImplementationCompiler
bswapgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
regsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sandygcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sse2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sse2sgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sse41gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
ssse3gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x109B5C
   at 0x...: core (try-anything.c:64)
   by 0x...: salsa20 (try-anything.c:101)
   by 0x...: salsa20 (try-anything.c:81)
   by 0x...: testvector (try-anything.c:124)
   by 0x...: myrandom (try-anything.c:132)
   by 0x...: test (try.c:85)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 8, namely:
ImplementationCompiler
bswapgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
regsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sandygcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sse2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sse2sgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sse41gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
ssse3gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x109961
   at 0x...: core (try-anything.c:64)
   by 0x...: salsa20.part.0 (try-anything.c:101)
   by 0x...: salsa20 (try-anything.c:85)
   by 0x...: testvector (try-anything.c:124)
   by 0x...: myrandom (try-anything.c:132)
   by 0x...: test (try.c:85)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 8, namely:
ImplementationCompiler
bswapgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
regsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sandygcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sse2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sse2sgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sse41gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
ssse3gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x109B17
   at 0x...: core (try-anything.c:68)
   by 0x...: salsa20.part.0 (try-anything.c:101)
   by 0x...: salsa20 (try-anything.c:85)
   by 0x...: testvector (try-anything.c:124)
   by 0x...: myrandom (try-anything.c:132)
   by 0x...: test (try.c:85)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
sphlibgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sphlib-smallgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x109B7C
   at 0x...: core (try-anything.c:64)
   by 0x...: salsa20 (try-anything.c:101)
   by 0x...: salsa20 (try-anything.c:81)
   by 0x...: testvector (try-anything.c:124)
   by 0x...: myrandom (try-anything.c:132)
   by 0x...: test (try.c:85)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
sphlibgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sphlib-smallgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

TIMECOP error (can be valgrind bug)


error 111

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x109981
   at 0x...: core (try-anything.c:64)
   by 0x...: salsa20.part.0 (try-anything.c:101)
   by 0x...: salsa20 (try-anything.c:85)
   by 0x...: testvector (try-anything.c:124)
   by 0x...: myrandom (try-anything.c:132)
   by 0x...: test (try.c:85)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
sphlibgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
sphlib-smallgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)