Implementation notes: amd64, jasper3, crypto_hash/lsh512

Computer: jasper3
Microarchitecture: amd64; Tremont (906c0)
Architecture: amd64
CPU ID: GenuineIntel-000906c0-20-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: lsh512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1063625194 0 022990 804 888ssse3clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1071525223 0 026648 812 888ssse3clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1072625075 0 022430 804 888ssse3clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1074025223 0 024360 812 888ssse3clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1148223471 0 021355 756 920ssse3gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1165729226 0 025231 772 952ssse3gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1183230451 0 026416 780 952ssse3gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1185530215 0 027488 780 952ssse3gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1216128458 0 024574 804 888sse2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1220528415 0 024046 804 888sse2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1223928551 0 025976 812 888sse2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1224428551 0 028264 812 888sse2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1446429735 0 027504 812 888sse2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1500228685 0 023947 756 920sse2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1542035688 0 028463 772 952sse2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1560237379 0 031080 780 952sse2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1585537507 0 029944 780 952sse2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1594037995 0 031384 780 952refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1599535030 0 028127 772 952refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1669932053 0 025635 756 920refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1706439947 0 031160 780 952refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
175892633 336 01397147 144828 10264cryptoppclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
181874790 336 01402560 144940 10264cryptoppclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
219652349 336 01400794 144836 10264cryptoppclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2252433719 0 031088 812 888refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2264833583 0 026870 804 888refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2280533719 0 028784 812 888refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2308734135 0 029912 812 888refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
264792563 336 01692450 144836 10360cryptoppg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
270271897 336 01689184 144844 10328cryptoppg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
280162349 336 01398474 144836 10264cryptoppclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
3458247434 0 034302 804 888refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
359552440 336 01690436 144844 10360cryptoppg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
854112753 336 01691116 144844 10360cryptoppg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


lsh-impl.c: lsh-impl.c:182:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0706050403020100, 0x0d0c0b0a09080f0e, 0x1312111017161514, 0x19181f1e1d1c1b1a,
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                                                             }
lsh-impl.c: lsh-impl.c:183:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0605040302010007, 0x0c0b0a09080f0e0d, 0x1211101716151413, 0x181f1e1d1c1b1a19
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                                                             }
lsh-impl.c: lsh-impl.c:461:12: error: always_inline function '_mm256_set_epi32' requires target feature 'avx', but would be inlined into function 'lsh512_init' that is compiled without support for 'avx'
lsh-impl.c:         cv_l[0] = _mm256_set_epi32(0, 0, 0, 0, 0, LSH_GET_HASHBIT(algtype), 0, LSH512_HASH_VAL_MAX_BYTE_LEN);
lsh-impl.c:                   ^
lsh-impl.c: lsh-impl.c:461:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
lsh-impl.c: lsh-impl.c:462:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'lsh512_init' that is compiled without support for 'avx'
lsh-impl.c:         cv_l[1] = _mm256_setzero_si256();
lsh-impl.c:                   ^
lsh-impl.c: lsh-impl.c:462:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
lsh-impl.c: lsh-impl.c:463:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'lsh512_init' that is compiled without support for 'avx'
lsh-impl.c:         cv_r[0] = _mm256_setzero_si256();
lsh-impl.c:                   ^
lsh-impl.c: lsh-impl.c:463:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
lsh-impl.c: lsh-impl.c:464:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'lsh512_init' that is compiled without support for 'avx'
lsh-impl.c:         cv_r[1] = _mm256_setzero_si256();
lsh-impl.c:                   ^
lsh-impl.c: lsh-impl.c:464:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
lsh-impl.c: lsh-impl.c:465:22: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'lsh512_init' that is compiled without support for 'avx'
lsh-impl.c: ...

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

Compiler output


lsh-impl.c: lsh-impl.c:181:62: warning: missing braces around initializer [-Wmissing-braces]
lsh-impl.c:   181 | static const LSH_ALIGNED_(32) lsh_u64 g_BytePermInfo[2][4] = {
lsh-impl.c:       |                                                              ^
lsh-impl.c:   182 |  0x0706050403020100, 0x0d0c0b0a09080f0e, 0x1312111017161514, 0x19181f1e1d1c1b1a,
lsh-impl.c:       |  {                                                                             }
lsh-impl.c:   183 |  0x0605040302010007, 0x0c0b0a09080f0e0d, 0x1211101716151413, 0x181f1e1d1c1b1a19
lsh-impl.c:       |  {
lsh-impl.c:   184 | };
lsh-impl.c:       | }
lsh-impl.c: lsh-impl.c: In function 'lsh512_init':
lsh-impl.c: lsh-impl.c:461:10: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
lsh-impl.c:   461 |  cv_l[0] = _mm256_set_epi32(0, 0, 0, 0, 0, LSH_GET_HASHBIT(algtype), 0, LSH512_HASH_VAL_MAX_BYTE_LEN);
lsh-impl.c:       |  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c: lsh-impl.c: In function 'msg_exp_odd':
lsh-impl.c: lsh-impl.c:234:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
lsh-impl.c:   234 | static INLINE void msg_exp_odd(LSH512AVX2_internal * i_state, const __m256i perm_step){
lsh-impl.c:       |                    ^~~~~~~~~~~
lsh-impl.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
lsh-impl.c:                  from lsh-impl.c:34:
lsh-impl.c: lsh-impl.c: In function 'load_blk':
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:920:1: error: inlining failed in call to 'always_inline' '_mm256_loadu_si256': target specific option mismatch
lsh-impl.c:   920 | _mm256_loadu_si256 (__m256i_u const *__P)
lsh-impl.c:       | ^~~~~~~~~~~~~~~~~~
lsh-impl.c: lsh-impl.c:197:17: note: called from here
lsh-impl.c:   197 | #define LOAD(x) _mm256_loadu_si256((__m256i*)x)
lsh-impl.c: ...

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

Compiler output


lsh-impl.c: lsh-impl.c:177:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:178:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:179:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:180:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0201000706050403, 0x080f0e0d0c0b0a09
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:182:39: warning: unused variable 'g_MsgWordPermInfo' [-Wunused-const-variable]
lsh-impl.c: static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh-impl.c:                                       ^
lsh-impl.c: 5 warnings generated.
lsh.c: lsh.c:177:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh.c:         0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh.c:         {                                     }
lsh.c: lsh.c:178:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh.c:         0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh.c:         {                                     }
lsh.c: lsh.c:179:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh.c:         0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh.c:         {                                     }
lsh.c: lsh.c:180:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh.c:         0x0201000706050403, 0x080f0e0d0c0b0a09
lsh.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh.c:         {                                     }
lsh.c: lsh.c:182:39: warning: unused variable 'g_MsgWordPermInfo' [-Wunused-const-variable]
lsh.c: static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh.c:                                       ^
lsh.c: 5 warnings generated.

Number of similar (implementation,compiler) pairs: 4, 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)

Compiler output


lsh-impl.c: lsh-impl.c:177:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:178:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:179:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:180:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0201000706050403, 0x080f0e0d0c0b0a09
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:182:39: warning: unused variable 'g_MsgWordPermInfo' [-Wunused-const-variable]
lsh-impl.c: static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh-impl.c:                                       ^
lsh-impl.c: lsh-impl.c:348:12: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'rotate_msg_gamma' that is compiled without support for 'ssse3'
lsh-impl.c:         cv_r[0] = SHUFFLE8(cv_r[0], perm_step[0]);
lsh-impl.c:                   ^
lsh-impl.c: lsh-impl.c:199:23: note: expanded from macro 'SHUFFLE8'
lsh-impl.c: #define SHUFFLE8(x,y) _mm_shuffle_epi8(x,y)
lsh-impl.c:                       ^
lsh-impl.c: ...

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

Compiler output


lsh-impl.c: lsh-impl.c:176:62: warning: missing braces around initializer [-Wmissing-braces]
lsh-impl.c:   176 | static const LSH_ALIGNED_(32) lsh_u64 g_BytePermInfo[4][2] = {
lsh-impl.c:       |                                                              ^
lsh-impl.c:   177 |  0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh-impl.c:       |  {                                     }
lsh-impl.c:   178 |  0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh-impl.c:       |  {                                     }
lsh-impl.c:   179 |  0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh-impl.c:       |  {                                     }
lsh-impl.c:   180 |  0x0201000706050403, 0x080f0e0d0c0b0a09
lsh-impl.c:       |  {
lsh-impl.c:   181 | };
lsh-impl.c:       | }
lsh-impl.c: lsh-impl.c:182:39: warning: 'g_MsgWordPermInfo' defined but not used [-Wunused-const-variable=]
lsh-impl.c:   182 | static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh-impl.c:       |                                       ^~~~~~~~~~~~~~~~~
lsh.c: lsh.c:176:62: warning: missing braces around initializer [-Wmissing-braces]
lsh.c:   176 | static const LSH_ALIGNED_(32) lsh_u64 g_BytePermInfo[4][2] = {
lsh.c:       |                                                              ^
lsh.c:   177 |  0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh.c:       |  {                                     }
lsh.c:   178 |  0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh.c:       |  {                                     }
lsh.c:   179 |  0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh.c:       |  {                                     }
lsh.c:   180 |  0x0201000706050403, 0x080f0e0d0c0b0a09
lsh.c:       |  {
lsh.c:   181 | };
lsh.c:       | }
lsh.c: lsh.c:182:39: warning: 'g_MsgWordPermInfo' defined but not used [-Wunused-const-variable=]
lsh.c:   182 | static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh.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


lsh-impl.c: lsh-impl.c:174:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:175:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:176:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:177:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
lsh-impl.c:         0x0201000706050403, 0x080f0e0d0c0b0a09
lsh-impl.c:         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.c:         {                                     }
lsh-impl.c: lsh-impl.c:179:39: warning: unused variable 'g_MsgWordPermInfo' [-Wunused-const-variable]
lsh-impl.c: static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh-impl.c:                                       ^
lsh-impl.c: lsh-impl.c:310:10: error: '__builtin_ia32_vprotqi' needs target feature xop
lsh-impl.c:         cv[0] = _mm_roti_epi64(cv[0], ROT_EVEN_ALPHA);
lsh-impl.c:                 ^
lsh-impl.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/xopintrin.h:237:12: note: expanded from macro '_mm_roti_epi64'
lsh-impl.c:   (__m128i)__builtin_ia32_vprotqi((__v2di)(__m128i)(A), (N))
lsh-impl.c:            ^
lsh-impl.c: ...

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

Compiler output


lsh-impl.c: lsh-impl.c:173:62: warning: missing braces around initializer [-Wmissing-braces]
lsh-impl.c:   173 | static const LSH_ALIGNED_(32) lsh_u64 g_BytePermInfo[4][2] = {
lsh-impl.c:       |                                                              ^
lsh-impl.c:   174 |  0x0706050403020100, 0x0d0c0b0a09080f0e,
lsh-impl.c:       |  {                                     }
lsh-impl.c:   175 |  0x0302010007060504, 0x09080f0e0d0c0b0a,
lsh-impl.c:       |  {                                     }
lsh-impl.c:   176 |  0x0605040302010007, 0x0c0b0a09080f0e0d,
lsh-impl.c:       |  {                                     }
lsh-impl.c:   177 |  0x0201000706050403, 0x080f0e0d0c0b0a09
lsh-impl.c:       |  {
lsh-impl.c:   178 | };
lsh-impl.c:       | }
lsh-impl.c: lsh-impl.c:179:39: warning: 'g_MsgWordPermInfo' defined but not used [-Wunused-const-variable=]
lsh-impl.c:   179 | static const LSH_ALIGNED_(32) lsh_u64 g_MsgWordPermInfo[4] = {
lsh-impl.c:       |                                       ^~~~~~~~~~~~~~~~~
lsh-impl.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:38,
lsh-impl.c:                  from lsh-impl.c:35:
lsh-impl.c: lsh-impl.c: In function 'rotate_blk_even_alpha':
lsh-impl.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/xopintrin.h:272:1: error: inlining failed in call to 'always_inline' '_mm_roti_epi64': target specific option mismatch
lsh-impl.c:   272 | _mm_roti_epi64(__m128i __A, const int __B)
lsh-impl.c:       | ^~~~~~~~~~~~~~
lsh-impl.c: lsh-impl.c:313:10: note: called from here
lsh-impl.c:   313 |  cv[3] = _mm_roti_epi64(cv[3], ROT_EVEN_ALPHA);
lsh-impl.c:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lsh-impl.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: 34, namely:
ImplementationCompiler
cryptoppclang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
cryptoppclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
cryptoppclang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall
cryptoppclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
cryptoppg++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
cryptoppg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
cryptoppg++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
cryptoppg++ -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)
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)
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)
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)