Implementation notes: amd64, cubi10, crypto_hash/blake256

Computer: cubi10
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: blake256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
109656598 0 019584 780 952avxsgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
109696566 0 017560 780 952avxsgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
110256944 0 020512 812 920avxsclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
110476102 0 015771 756 920avxsgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
110486172 0 016398 804 888avxsclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
110496232 0 019736 812 920avxsclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
110546319 0 016838 804 888avxsclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
110626261 0 016887 772 952avxsgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
111086402 0 019928 812 920sse41-2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
111225618 0 015798 804 888sse41-2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
111415690 0 019120 812 920sse41-2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
111485770 0 016222 804 888sse41-2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
114756037 0 019480 812 920sse2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
114825972 0 016166 804 888sse2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
114906709 0 020264 812 920sse2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
126196202 0 019112 780 952sse41-2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
126676170 0 017120 780 952sse41-2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
126765926 0 016447 772 952sse41-2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
127596583 0 017054 804 888sse2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
127685646 0 015211 756 920sse41-2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
128646306 0 017272 780 952sse41gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
129526859 0 019792 780 952sse41gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
129535837 0 015411 756 920sse41gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
129646159 0 016695 772 952sse41gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
130688116 0 020936 812 888sse2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
135216407 0 015987 756 920ssse3gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
136916930 0 017896 780 952ssse3gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
137717484 0 020416 780 952ssse3gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
139366657 0 017191 772 952ssse3gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
139896521 0 016726 804 888bswapclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
140087226 0 020792 812 920bswapclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
141716530 0 019984 812 920bswapclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
145453022 0 016568 812 920refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
149197142 0 020584 812 920regsclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
149357814 0 021368 812 920regsclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
149607134 0 017318 804 888regsclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
152532526 0 015944 812 920refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
153257451 0 017798 804 888sphlib-smallclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
153427330 0 018296 780 952sse2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
153447753 0 021432 812 920sphlib-smallclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
153557705 0 021288 812 920sphlib-smallclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
153906780 0 016355 756 920sse2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
154417884 0 020800 780 952sse2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
155198274 0 019240 780 952sse2-2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
156398828 0 021744 780 952sse2-2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
156547058 0 017591 772 952sse2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
156748455 0 021272 812 888sse2-2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
157627731 0 017307 756 920sse2-2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
159367936 0 018414 804 888sse2-2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1596526222 0 037312 780 952sphlibgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
161322393 0 012582 804 888refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1620910555 0 023368 812 888sandyclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1625010873 0 021399 772 952bswapgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1634711394 0 022360 780 952regsgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
163787368 0 020808 812 920sse2-2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1639310875 0 020451 756 920bswapgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1640410875 0 020451 756 920regsgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
164158040 0 021592 812 920sse2-2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1643611948 0 024864 780 952regsgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1644110605 0 024152 812 920sandyclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1649810264 0 020734 804 888sandyclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1650811931 0 024848 780 952bswapgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
165117303 0 017494 804 888sse2-2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1651811394 0 022360 780 952bswapgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
165259909 0 023344 812 920sandyclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1659225340 0 036064 780 952sphlibgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1671110296 0 023112 812 888regsclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1672810280 0 023096 812 888bswapclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1683124834 0 037768 812 888sphlibclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1689711067 0 021550 804 888regsclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1694510722 0 020291 756 920sandygcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1699410859 0 021342 804 888bswapclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1704526697 0 040360 812 920sphlibclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1704610901 0 021431 772 952sandygcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1713228472 0 041496 780 952sphlibgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1713911298 0 022264 780 952sandygcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1716911616 0 022151 772 952regsgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1721011835 0 024752 780 952sandygcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1729024787 0 034491 756 920sphlibgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1746826665 0 040232 812 920sphlibclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1779026775 0 037094 804 888sphlibclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1794910186 0 020374 804 888sandyclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
180138136 0 018663 772 952sse2-2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2032627463 0 038118 804 888sphlibclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
210147963 0 018680 780 952sphlib-smallgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
211097079 0 016779 756 920sphlib-smallgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
230382867 0 013391 772 952refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
233072534 0 012115 756 920refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
245528690 0 021640 812 888sphlib-smallclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
257132927 0 013406 804 888refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2615610654 0 021744 780 952sphlib-smallgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
264153582 0 016392 812 888refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2642111256 0 024280 780 952sphlib-smallgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
270654572 0 017472 780 952refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
271678807 0 019478 804 888sphlib-smallclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
281583698 0 014664 780 952refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

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 (Debian_Clang_11.0.1)
avxsclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
avxsclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
avxsclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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 (Debian_Clang_11.0.1)

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 (10.2.1_20210110)
avxsgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
avxsgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
avxsgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

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 (Debian_Clang_11.0.1)
sse2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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 (10.2.1_20210110)
sse2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

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 (Debian_Clang_11.0.1)
sse2-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse2-2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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 (10.2.1_20210110)
sse2-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse2-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

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 (Debian_Clang_11.0.1)
sse41clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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 (10.2.1_20210110)
sse41gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse41gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse41gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

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-11/lib/clang/11.0.1/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: 2, namely:
ImplementationCompiler
sse41-2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41-2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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-11/lib/clang/11.0.1/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: 2, namely:
ImplementationCompiler
sse41-2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
sse41-2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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-11/lib/clang/11.0.1/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: 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 (Debian_Clang_11.0.1)

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 (10.2.1_20210110)
sse41-2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse41-2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
sse41-2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

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 (Debian_Clang_11.0.1)
ssse3clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
ssse3clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
ssse3clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
ssse3clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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 (10.2.1_20210110)
ssse3gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
ssse3gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
ssse3gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

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: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: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: 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 (Debian_Clang_11.0.1)

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:56:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
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:56:19: warning: unused variable 't2' [-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: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 (Debian_Clang_11.0.1)

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: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: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 -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


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: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: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 -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


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:23: warning: unused variable 't3' [-Wunused-variable]
hash.c:   __m128i t0, t1, t2, t3;
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: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: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 -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

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 (10.2.1_20210110)
xopgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
xopgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
xopgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Passed TIMECOP


TIMECOP iterations: 10

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