Implementation notes: amd64, bolero, crypto_hash/blake256

Computer: bolero
Microarchitecture: amd64; Broadwell+AES (406f1)
Architecture: amd64
CPU ID: GenuineIntel-000406f1-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: blake256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
121646299 0 020380 816 744sse41-2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
121805827 0 019596 816 744sse41-2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
121966172 0 017054 808 792avxsclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
121965811 0 015876 816 728sse41-2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122006207 0 016348 816 728avxsclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122086223 0 020068 816 744avxsclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122406335 0 016869 768 800avxsgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122446419 0 017286 776 800avxsgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
122486579 0 019510 776 800avxsgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
125766215 0 019988 816 744sse2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
126126655 0 020740 816 744sse2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
126166142 0 016950 808 792sse2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
137446529 0 016628 816 728sse2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
138086695 0 020836 816 744avxsclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
141607286 0 021076 816 744bswapclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
141687750 0 021852 816 744bswapclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
142207223 0 018038 808 792bswapclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
148006743 0 017966 776 800ssse3gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
148326741 0 017581 768 800ssse3gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
148766446 0 016257 752 768ssse3gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
150527808 0 021110 776 800ssse3gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
152847670 0 020132 816 728sse2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
155767749 0 018566 808 792regsclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
155887849 0 021636 816 744regsclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
161082743 0 016828 816 744refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1644010328 0 022788 816 728sandyclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
165082447 0 016220 816 744refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1664811144 0 021981 768 800bswapgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1684810128 0 020212 816 728sandyclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1686810072 0 022532 816 728regsclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1692811479 0 022702 776 800bswapgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1693225074 0 037652 816 728sphlibclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1697611479 0 022702 776 800regsgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1702010056 0 022516 816 728bswapclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1705611138 0 020961 752 768regsgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1710011138 0 020961 752 768bswapgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1717625642 0 036622 776 800sphlibgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1721210467 0 024564 816 744sandyclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1721610703 0 020788 816 728bswapclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
172625763 0 016550 808 792sse41-2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1727610751 0 020836 816 728regsclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1734426697 0 040604 816 744sphlibclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1735626713 0 040932 816 744sphlibclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
174666173 0 015729 752 768avxsgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1753624913 0 034817 752 768sphlibgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1754011799 0 022637 768 800regsgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1756411367 0 022590 776 800sandygcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1762010959 0 021805 768 800sandygcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
176688289 0 022388 816 744regsclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
178007159 0 018382 776 800sse2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
178166830 0 016641 752 768sse2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1792010184 0 020982 808 792sandyclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
179608055 0 019278 776 800sse2-2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
179887746 0 017561 752 768sse2-2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
179928104 0 021390 776 800sse2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1821226867 0 037798 808 792sphlibclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
182568231 0 019069 768 800sse2-2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1827613832 0 027118 776 800regsgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1829613202 0 026494 776 800bswapgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1888013170 0 026462 776 800sandygcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
191042407 0 013206 808 792refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2010626261 0 037566 776 800sphlibgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2010627715 0 041078 776 800sphlibgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
202807913 0 021836 816 744sphlib-smallclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
202927658 0 018614 808 792sphlib-smallclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
205887945 0 022180 816 744sphlib-smallclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
223607676 0 017764 816 728sse2-2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
227727683 0 017585 752 768sphlib-smallgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
241642714 0 012529 752 768refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2418610892 0 020705 752 768sandygcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2440510003 0 023788 816 744sandyclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2458226985 0 037188 816 728sphlibclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
250347102 0 017949 768 800sse2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
259723078 0 013917 768 800refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
261058132 0 020596 816 728sse2-2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
263888245 0 019270 776 800sphlib-smallgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
277328473 0 018692 816 728sphlib-smallclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2796810677 0 021998 776 800sphlib-smallgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2796811171 0 024534 776 800sphlib-smallgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
283285224 0 018510 776 800refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
286283323 0 015780 816 728refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
301443767 0 014990 776 800refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
301722647 0 012740 816 728refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
302168722 0 021316 816 728sphlib-smallclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4095967192 0 017990 808 792sse2-2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4098327705 0 021796 816 744sse2-2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4107889096 0 022382 776 800sse2-2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4271687265 0 021044 816 744sse2-2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


hash.c: hash.c:42:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: hash.c:65:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] =
hash.c:                  ^
hash.c: 2 warnings generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
avxsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: hash.c:42:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: hash.c:65:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] =
hash.c:                  ^
hash.c: hash.c:155:61: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'blake256_final' that is compiled without support for 'ssse3'
hash.c:     __m128i w0 = _mm_load_si128((__m128i*)(&S->h[0])); w0 = _mm_shuffle_epi8(w0, u32to8);
hash.c:                                                             ^
hash.c: hash.c:156:61: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'blake256_final' that is compiled without support for 'ssse3'
hash.c:     __m128i w1 = _mm_load_si128((__m128i*)(&S->h[4])); w1 = _mm_shuffle_epi8(w1, u32to8);
hash.c:                                                             ^
hash.c: 2 warnings and 2 errors generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
avxsclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: hash.c:65:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    65 | static const u32 cst[16] =
hash.c:       |                  ^~~
hash.c: hash.c:42:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    42 | static const u8 sigma[][16] =
hash.c:       |                 ^~~~~

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

Compiler output


hash.c: hash.c:80:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:   int r;
hash.c:       ^
hash.c: hash.c:81:7: warning: unused variable 't' [-Wunused-variable]
hash.c:   u64 t;
hash.c:       ^
hash.c: hash.c:37:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] = {
hash.c:                 ^
hash.c: hash.c:59:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] = {
hash.c:                  ^
hash.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
sse2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:81:7: warning: unused variable 't' [-Wunused-variable]
hash.c:    81 |   u64 t;
hash.c:       |       ^
hash.c: hash.c:80:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:    80 |   int r;
hash.c:       |       ^
hash.c: At top level:
hash.c: hash.c:59:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    59 | static const u32 cst[16] = {
hash.c:       |                  ^~~
hash.c: hash.c:37:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    37 | static const u8 sigma[][16] = {
hash.c:       |                 ^~~~~

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

Compiler output


hash.c: hash.c:85:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:   int r;
hash.c:       ^
hash.c: hash.c:86:7: warning: unused variable 't' [-Wunused-variable]
hash.c:   u64 t;
hash.c:       ^
hash.c: hash.c:37:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] = {
hash.c:                 ^
hash.c: hash.c:59:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] = {
hash.c:                  ^
hash.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
sse2-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:86:7: warning: unused variable 't' [-Wunused-variable]
hash.c:    86 |   u64 t;
hash.c:       |       ^
hash.c: hash.c:85:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:    85 |   int r;
hash.c:       |       ^
hash.c: At top level:
hash.c: hash.c:59:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    59 | static const u32 cst[16] = {
hash.c:       |                  ^~~
hash.c: hash.c:37:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    37 | static const u8 sigma[][16] = {
hash.c:       |                 ^~~~~

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

Compiler output


hash.c: hash.c:73:7: warning: unused variable 'm' [-Wunused-variable]
hash.c:   u32 m[16];
hash.c:       ^
hash.c: hash.c:74:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:   int r;
hash.c:       ^
hash.c: hash.c:75:7: warning: unused variable 't' [-Wunused-variable]
hash.c:   u64 t;
hash.c:       ^
hash.c: hash.c:77:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] = {
hash.c:                    ^
hash.c: hash.c:93:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] = {
hash.c:                    ^
hash.c: hash.c:102:49: warning: unused variable 'tmp7' [-Wunused-variable]
hash.c:   __m128i tmp0, tmp1, tmp2, tmp3,tmp4,tmp5,tmp6,tmp7;
hash.c:                                                 ^
hash.c: In file included from hash.c:121:
hash.c: ./rounds.sse41.h:17:55: warning: implicit conversion from 'long' to 'int' changes value from 2242054355 to -2052912941 [-Wconstant-conversion]
hash.c: buf2 = _mm_set_epi32(3964562569, 698298832, 57701188, 2242054355);
hash.c:        ~~~~~~~~~~~~~                                  ^~~~~~~~~~
hash.c: ./rounds.sse41.h:17:22: warning: implicit conversion from 'long' to 'int' changes value from 3964562569 to -330404727 [-Wconstant-conversion]
hash.c: buf2 = _mm_set_epi32(3964562569, 698298832, 57701188, 2242054355);
hash.c:        ~~~~~~~~~~~~~ ^~~~~~~~~~
hash.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
sse41clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:102:49: warning: unused variable 'tmp7' [-Wunused-variable]
hash.c:   102 |   __m128i tmp0, tmp1, tmp2, tmp3,tmp4,tmp5,tmp6,tmp7;
hash.c:       |                                                 ^~~~
hash.c: hash.c:93:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:    93 |   static const u32 z[16] = {
hash.c:       |                    ^
hash.c: hash.c:77:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:    77 |   static const int sig[][16] = {
hash.c:       |                    ^~~
hash.c: hash.c:75:7: warning: unused variable 't' [-Wunused-variable]
hash.c:    75 |   u64 t;
hash.c:       |       ^
hash.c: hash.c:74:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:    74 |   int r;
hash.c:       |       ^
hash.c: hash.c:73:7: warning: unused variable 'm' [-Wunused-variable]
hash.c:    73 |   u32 m[16];
hash.c:       |       ^
hash.c: At top level:
hash.c: hash.c:77:20: warning: 'sig' defined but not used [-Wunused-const-variable=]
hash.c:    77 |   static const int sig[][16] = {
hash.c:       |                    ^~~
hash.c: hash.c:93:20: warning: 'z' defined but not used [-Wunused-const-variable=]
hash.c:    93 |   static const u32 z[16] = {
hash.c: ...

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

Compiler output


hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:105:15: warning: '_mm_roti_epi32' macro redefined [-Wmacro-redefined]
hash.c:       #define _mm_roti_epi32(r, c) ((8==-c) ? _mm_shuffle_epi8(r,r8) : ( (16==-c) ? _mm_shuffle_epi8(r,r16) :  _mm_xor_si128(_mm_srli_epi32( (r), -(c) ),_mm_slli_epi32( (r), 32-(-c) )) ) )
hash.c:               ^
hash.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/xopintrin.h:233:9: note: previous definition is here
hash.c: #define _mm_roti_epi32(A, N) \
hash.c:         ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: hash.c:37:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] =
hash.c:                  ^
hash.c: 6 warnings generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
sse41-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:105:15: warning: '_mm_roti_epi32' macro redefined [-Wmacro-redefined]
hash.c:       #define _mm_roti_epi32(r, c) ((8==-c) ? _mm_shuffle_epi8(r,r8) : ( (16==-c) ? _mm_shuffle_epi8(r,r16) :  _mm_xor_si128(_mm_srli_epi32( (r), -(c) ),_mm_slli_epi32( (r), 32-(-c) )) ) )
hash.c:               ^
hash.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/xopintrin.h:233:9: note: previous definition is here
hash.c: #define _mm_roti_epi32(A, N) \
hash.c:         ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: hash.c:37:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] =
hash.c:                  ^
hash.c: 6 warnings generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
sse41-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:105:15: warning: '_mm_roti_epi32' macro redefined [-Wmacro-redefined]
hash.c:       #define _mm_roti_epi32(r, c) ((8==-c) ? _mm_shuffle_epi8(r,r8) : ( (16==-c) ? _mm_shuffle_epi8(r,r16) :  _mm_xor_si128(_mm_srli_epi32( (r), -(c) ),_mm_slli_epi32( (r), 32-(-c) )) ) )
hash.c:               ^
hash.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/xopintrin.h:233:9: note: previous definition is here
hash.c: #define _mm_roti_epi32(A, N) \
hash.c:         ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: hash.c:37:18: warning: unused variable 'cst' [-Wunused-const-variable]
hash.c: static const u32 cst[16] =
hash.c:                  ^
hash.c: hash.c:93:22: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'blake256_compress' that is compiled without support for 'ssse3'
hash.c:   const __m128i m0 = _mm_shuffle_epi8(LOADU(datablock +  00), u8to32);
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
sse41-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: In file included from hash.c:2:
hash.c: blake256.h:130:1: warning: multi-line comment [-Wcomment]
hash.c:   130 | //#define G(r,row1,row2,row3,row4,buf1,buf2) \
hash.c:       | ^
hash.c: blake256.h:147:1: warning: multi-line comment [-Wcomment]
hash.c:   147 | //#define DIAGONALIZE(r,row1,row2,row3,row4) \
hash.c:       | ^
hash.c: blake256.h:155:1: warning: multi-line comment [-Wcomment]
hash.c:   155 | //#define UNDIAGONALIZE(r,row1,row2,row3,row4) \
hash.c:       | ^
hash.c: blake256.h:163:1: warning: multi-line comment [-Wcomment]
hash.c:   163 | //#define ROUND(r) \
hash.c:       | ^
hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:    85 |   static const u32 z[16] =
hash.c:       |                    ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:    67 |   static const int sig[][16] =
hash.c:       |                    ^~~
hash.c: At top level:
hash.c: hash.c:67:20: warning: 'sig' defined but not used [-Wunused-const-variable=]
hash.c: hash.c:85:20: warning: 'z' defined but not used [-Wunused-const-variable=]
hash.c:    85 |   static const u32 z[16] =
hash.c:       |                    ^
hash.c: ...

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

Compiler output


hash.c: hash.c:79:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:   int r;
hash.c:       ^
hash.c: hash.c:80:7: warning: unused variable 't' [-Wunused-variable]
hash.c:   u64 t;
hash.c:       ^
hash.c: hash.c:82:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] = {
hash.c:                    ^
hash.c: hash.c:98:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] = {
hash.c:                    ^
hash.c: In file included from hash.c:122:
hash.c: ./rounds.ssse3.h:3:55: warning: implicit conversion from 'long' to 'int' changes value from 2242054355 to -2052912941 [-Wconstant-conversion]
hash.c: buf2 = _mm_set_epi32(3964562569, 698298832, 57701188, 2242054355);
hash.c:        ~~~~~~~~~~~~~                                  ^~~~~~~~~~
hash.c: ./rounds.ssse3.h:3:22: warning: implicit conversion from 'long' to 'int' changes value from 3964562569 to -330404727 [-Wconstant-conversion]
hash.c: buf2 = _mm_set_epi32(3964562569, 698298832, 57701188, 2242054355);
hash.c:        ~~~~~~~~~~~~~ ^~~~~~~~~~
hash.c: ./rounds.ssse3.h:6:33: warning: implicit conversion from 'long' to 'int' changes value from 2752067618 to -1542899678 [-Wconstant-conversion]
hash.c: buf1 = _mm_set_epi32(137296536, 2752067618, 320440878, 608135816);
hash.c:        ~~~~~~~~~~~~~            ^~~~~~~~~~
hash.c: ./rounds.ssse3.h:27:34: warning: implicit conversion from 'long' to 'int' changes value from 3380367581 to -914599715 [-Wconstant-conversion]
hash.c: buf2 = _mm_set_epi32(3041331479, 3380367581, 887688300, 953160567);
hash.c:        ~~~~~~~~~~~~~             ^~~~~~~~~~
hash.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
ssse3clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
ssse3clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
ssse3clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
ssse3clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
ssse3clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:98:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:    98 |   static const u32 z[16] = {
hash.c:       |                    ^
hash.c: hash.c:82:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:    82 |   static const int sig[][16] = {
hash.c:       |                    ^~~
hash.c: hash.c:80:7: warning: unused variable 't' [-Wunused-variable]
hash.c:    80 |   u64 t;
hash.c:       |       ^
hash.c: hash.c:79:7: warning: unused variable 'r' [-Wunused-variable]
hash.c:    79 |   int r;
hash.c:       |       ^
hash.c: At top level:
hash.c: hash.c:82:20: warning: 'sig' defined but not used [-Wunused-const-variable=]
hash.c:    82 |   static const int sig[][16] = {
hash.c:       |                    ^~~
hash.c: hash.c:98:20: warning: 'z' defined but not used [-Wunused-const-variable=]
hash.c:    98 |   static const u32 z[16] = {
hash.c:       |                    ^
hash.c: hash.c:54:18: warning: 'cst' defined but not used [-Wunused-const-variable=]
hash.c:    54 | static const u32 cst[16] = {
hash.c:       |                  ^~~
hash.c: hash.c:32:17: warning: 'sigma' defined but not used [-Wunused-const-variable=]
hash.c:    32 | static const u8 sigma[][16] = {
hash.c: ...

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

Compiler output


hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: hash.c:56:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                   ^
hash.c: hash.c:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                       ^
hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c:                 ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:                 ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
xopclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: hash.c:56:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                   ^
hash.c: hash.c:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                       ^
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:                 ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c:                 ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
xopclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:                 ^
hash.c: hash.c:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                       ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: hash.c:56:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                   ^
hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c:                 ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
xopclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: hash.c:56:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                   ^
hash.c: hash.c:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                       ^
hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c:                 ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:                 ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
xopclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:                 ^
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:   static const u32 z[16] =
hash.c:                    ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:   static const int sig[][16] =
hash.c:                    ^
hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c:                 ^
hash.c: hash.c:56:19: warning: unused variable 't2' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                   ^
hash.c: hash.c:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
hash.c:                       ^
hash.c: In file included from hash.c:2:
hash.c: ./blake256.h:176:13: warning: unused function 'print_xmm' [-Wunused-function]
hash.c: static void print_xmm(const __m128i xmm)
hash.c:             ^
hash.c: hash.c:14:17: warning: unused variable 'sigma' [-Wunused-const-variable]
hash.c: static const u8 sigma[][16] =
hash.c:                 ^
hash.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
xopclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


hash.c: In file included from hash.c:2:
hash.c: blake256.h:130:1: warning: multi-line comment [-Wcomment]
hash.c:   130 | //#define G(r,row1,row2,row3,row4,buf1,buf2) \
hash.c:       | ^
hash.c: blake256.h:147:1: warning: multi-line comment [-Wcomment]
hash.c:   147 | //#define DIAGONALIZE(r,row1,row2,row3,row4) \
hash.c:       | ^
hash.c: blake256.h:155:1: warning: multi-line comment [-Wcomment]
hash.c:   155 | //#define UNDIAGONALIZE(r,row1,row2,row3,row4) \
hash.c:       | ^
hash.c: blake256.h:163:1: warning: multi-line comment [-Wcomment]
hash.c:   163 | //#define ROUND(r) \
hash.c:       | ^
hash.c: hash.c: In function 'blake256_compress':
hash.c: hash.c:85:20: warning: unused variable 'z' [-Wunused-variable]
hash.c:    85 |   static const u32 z[16] =
hash.c:       |                    ^
hash.c: hash.c:67:20: warning: unused variable 'sig' [-Wunused-variable]
hash.c:    67 |   static const int sig[][16] =
hash.c:       |                    ^~~
hash.c: hash.c:60:17: warning: unused variable 'r16' [-Wunused-variable]
hash.c:    60 |   const __m128i r16 = _mm_set_epi8(13,12,15,14,9,8,11,10,5,4,7,6,1,0,3,2);
hash.c:       |                 ^~~
hash.c: hash.c:59:17: warning: unused variable 'r8' [-Wunused-variable]
hash.c:    59 |   const __m128i r8 = _mm_set_epi8(12,15,14,13,8,11,10,9,4,7,6,5,0,3,2,1);
hash.c: ...

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

Passed TIMECOP


TIMECOP iterations: 10

Number of similar (implementation,compiler) pairs: 88, namely:
ImplementationCompiler
avxsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
avxsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
avxsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
avxsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
avxsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
bswapclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
bswapclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
bswapclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
bswapclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
bswapclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
bswapgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
bswapgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
bswapgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
bswapgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
regsclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
regsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
regsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
regsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
regsclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
regsgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
regsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
regsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
regsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sandyclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sandyclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sandyclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sandyclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sandyclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sandygcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sandygcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sandygcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sandygcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlibclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlibclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlibclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlibclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlibclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlibgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlibgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlibgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlibgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlib-smallclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlib-smallclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlib-smallclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlib-smallclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlib-smallclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sphlib-smallgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlib-smallgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlib-smallgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sphlib-smallgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse2-2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse2-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
sse41-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
sse41-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
ssse3gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
ssse3gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
ssse3gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
ssse3gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)