Implementation notes: amd64, titan0, crypto_aead/hs1sivv2

Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: hs1sivv2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
711910819 0 030640 876 1024T:dolbeau/amd64-avx2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
744414742 0 038880 876 1056T:fasterclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
745414710 0 038568 876 1056T:fasterclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
759912388 0 035741 820 1088T:fastergcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
79629516 0 030893 820 1088T:fastergcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
80797965 0 028770 868 1088T:fasterclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
81218441 0 027688 796 1056T:fastergcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
84209233 0 030068 812 1088T:fastergcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
843212509 0 036160 876 1056T:dolbeau/amd64-avx2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
846414781 0 038696 876 1056T:dolbeau/amd64-avx2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
848510116 0 030682 868 1088T:dolbeau/amd64-avx2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
114669043 0 028832 876 1024T:dolbeau/amd64-sseclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1155423960 0 047773 820 1088T:dolbeau/amd64-ssegcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1162110999 0 032797 820 1088T:dolbeau/amd64-ssegcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1173410877 0 034520 876 1056T:dolbeau/amd64-sseclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1175513213 0 037136 876 1056T:dolbeau/amd64-sseclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
117878649 0 029226 868 1088T:dolbeau/amd64-sseclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1194611252 0 032492 812 1088T:dolbeau/amd64-ssegcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
125659225 0 028864 796 1056T:dolbeau/amd64-ssegcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
240357736 0 030176 876 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
251908123 0 032216 876 1056T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
252757909 0 031792 876 1056T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
311176812 0 030709 820 1088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
317356212 0 028029 820 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
346084793 0 024728 876 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
362254105 0 024882 868 1088T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
367344757 0 024440 796 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
534886301 0 027677 820 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

Test failure


error 111

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

Compiler output


encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: encrypt.c:422:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: encrypt.c:324:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:     unsigned i=0, j;
encrypt.c:                   ^
encrypt.c: encrypt.c:541:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:                  ^
encrypt.c: encrypt.c:541:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:            ^
encrypt.c: 6 warnings generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:dolbeau/amd64-avx2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:dolbeau/amd64-avx2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:dolbeau/amd64-avx2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: encrypt.c:422:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: encrypt.c:324:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:     unsigned i=0, j;
encrypt.c:                   ^
encrypt.c: encrypt.c:541:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:            ^
encrypt.c: encrypt.c:541:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:                  ^
encrypt.c: 6 warnings generated.

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

Compiler output


encrypt.c: encrypt.c:90:2: error: "This code requires AVX2 to work"
encrypt.c: #error "This code requires AVX2 to work"
encrypt.c:  ^
encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: encrypt.c:422:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: encrypt.c:324:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:     unsigned i=0, j;
encrypt.c:                   ^
encrypt.c: encrypt.c:541:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:                  ^
encrypt.c: encrypt.c:541:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:            ^
encrypt.c: 6 warnings and 1 error generated.

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

Compiler output


encrypt.c: encrypt.c:85: warning: "_bswap64" redefined
encrypt.c:    85 | #define _bswap64(a) __builtin_bswap64(a)
encrypt.c:       |
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/x86gprintrin.h:33,
encrypt.c:                  from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:27,
encrypt.c:                  from encrypt.c:54:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/ia32intrin.h:273: note: this is the location of the previous definition
encrypt.c:   273 | #define _bswap64(a)             __bswapq(a)
encrypt.c:       |
encrypt.c: encrypt.c:86: warning: "_bswap" redefined
encrypt.c:    86 | #define _bswap(a) __builtin_bswap(a)
encrypt.c:       |
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/x86gprintrin.h:33,
encrypt.c:                  from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:27,
encrypt.c:                  from encrypt.c:54:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/ia32intrin.h:307: note: this is the location of the previous definition
encrypt.c:   307 | #define _bswap(a)               __bswapd(a)
encrypt.c:       |
encrypt.c: In file included from encrypt.c:194:
encrypt.c: encrypt.c: In function 'chacha_noxor176':
encrypt.c: c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:    71 |   __m128i t_15;
encrypt.c:       |           ^~~~
encrypt.c: c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:    70 |   __m128i t_14;
encrypt.c: ...

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

Compiler output


encrypt.c: encrypt.c:90:2: error: "This code requires AVX512F to work"
encrypt.c: #error "This code requires AVX512F to work"
encrypt.c:  ^
encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: encrypt.c:322:20: error: conflicting types for '_mm512_reduce_add_epi64'
encrypt.c: unsigned long long _mm512_reduce_add_epi64 (__m512i a) {
encrypt.c:                    ^
encrypt.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9318:51: note: previous definition is here
encrypt.c: static __inline__ long long __DEFAULT_FN_ATTRS512 _mm512_reduce_add_epi64(__m512i __W) {
encrypt.c:                                                   ^
encrypt.c: encrypt.c:335:21: error: invalid input size for constraint 'Yz'
encrypt.c:         : [a] "Yz" (a)
encrypt.c:                     ^
encrypt.c: encrypt.c:480:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: encrypt.c:488:19: warning: unused variable 'kv20' [-Wunused-variable]
encrypt.c:           __m512i kv20 = _mm512_loadu_si512((const __m512i*)(nhkey+20)); // 2
encrypt.c:                   ^
encrypt.c: ...

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

Compiler output


encrypt.c: encrypt.c:90:2: error: "This code requires AVX512F to work"
encrypt.c: #error "This code requires AVX512F to work"
encrypt.c:  ^
encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: encrypt.c:322:20: error: conflicting types for '_mm512_reduce_add_epi64'
encrypt.c: unsigned long long _mm512_reduce_add_epi64 (__m512i a) {
encrypt.c:                    ^
encrypt.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9318:51: note: previous definition is here
encrypt.c: static __inline__ long long __DEFAULT_FN_ATTRS512 _mm512_reduce_add_epi64(__m512i __W) {
encrypt.c:                                                   ^
encrypt.c: encrypt.c:335:21: error: invalid input size for constraint 'Yz'
encrypt.c:         : [a] "Yz" (a)
encrypt.c:                     ^
encrypt.c: encrypt.c:488:19: warning: unused variable 'kv20' [-Wunused-variable]
encrypt.c:           __m512i kv20 = _mm512_loadu_si512((const __m512i*)(nhkey+20)); // 2
encrypt.c:                   ^
encrypt.c: encrypt.c:480:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: ...

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

Compiler output


encrypt.c: encrypt.c:90:2: error: "This code requires AVX512F to work"
encrypt.c: #error "This code requires AVX512F to work"
encrypt.c:  ^
encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: encrypt.c:322:20: error: conflicting types for '_mm512_reduce_add_epi64'
encrypt.c: unsigned long long _mm512_reduce_add_epi64 (__m512i a) {
encrypt.c:                    ^
encrypt.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9318:51: note: previous definition is here
encrypt.c: static __inline__ long long __DEFAULT_FN_ATTRS512 _mm512_reduce_add_epi64(__m512i __W) {
encrypt.c:                                                   ^
encrypt.c: encrypt.c:335:21: error: invalid input size for constraint 'Yz'
encrypt.c:         : [a] "Yz" (a)
encrypt.c:                     ^
encrypt.c: encrypt.c:488:19: warning: unused variable 'kv20' [-Wunused-variable]
encrypt.c:           __m512i kv20 = _mm512_loadu_si512((const __m512i*)(nhkey+20)); // 2
encrypt.c:                   ^
encrypt.c: encrypt.c:480:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: ...

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

Compiler output


encrypt.c: encrypt.c:90:2: error: "This code requires AVX512F to work"
encrypt.c: #error "This code requires AVX512F to work"
encrypt.c:  ^
encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: encrypt.c:322:20: error: conflicting types for '_mm512_reduce_add_epi64'
encrypt.c: unsigned long long _mm512_reduce_add_epi64 (__m512i a) {
encrypt.c:                    ^
encrypt.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9318:51: note: previous definition is here
encrypt.c: static __inline__ long long __DEFAULT_FN_ATTRS512 _mm512_reduce_add_epi64(__m512i __W) {
encrypt.c:                                                   ^
encrypt.c: encrypt.c:335:21: error: invalid input size for constraint 'Yz'
encrypt.c:         : [a] "Yz" (a)
encrypt.c:                     ^
encrypt.c: encrypt.c:487:19: warning: unused variable 'kv16' [-Wunused-variable]
encrypt.c:           __m512i kv16 = _mm512_loadu_si512((const __m512i*)(nhkey+16)); // 2
encrypt.c:                   ^
encrypt.c: encrypt.c:480:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: ...

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

Compiler output


encrypt.c: encrypt.c:90:2: error: "This code requires AVX512F to work"
encrypt.c: #error "This code requires AVX512F to work"
encrypt.c:  ^
encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: encrypt.c:322:20: error: conflicting types for '_mm512_reduce_add_epi64'
encrypt.c: unsigned long long _mm512_reduce_add_epi64 (__m512i a) {
encrypt.c:                    ^
encrypt.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/avx512fintrin.h:9318:51: note: previous definition is here
encrypt.c: static __inline__ long long __DEFAULT_FN_ATTRS512 _mm512_reduce_add_epi64(__m512i __W) {
encrypt.c:                                                   ^
encrypt.c: encrypt.c:335:21: error: invalid input size for constraint 'Yz'
encrypt.c:         : [a] "Yz" (a)
encrypt.c:                     ^
encrypt.c: encrypt.c:480:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: encrypt.c:488:19: warning: unused variable 'kv20' [-Wunused-variable]
encrypt.c:           __m512i kv20 = _mm512_loadu_si512((const __m512i*)(nhkey+20)); // 2
encrypt.c:                   ^
encrypt.c: ...

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

Compiler output


encrypt.c: encrypt.c:85: warning: "_bswap64" redefined
encrypt.c:    85 | #define _bswap64(a) __builtin_bswap64(a)
encrypt.c:       |
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/x86gprintrin.h:33,
encrypt.c:                  from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:27,
encrypt.c:                  from encrypt.c:54:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/ia32intrin.h:273: note: this is the location of the previous definition
encrypt.c:   273 | #define _bswap64(a)             __bswapq(a)
encrypt.c:       |
encrypt.c: encrypt.c:86: warning: "_bswap" redefined
encrypt.c:    86 | #define _bswap(a) __builtin_bswap(a)
encrypt.c:       |
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/x86gprintrin.h:33,
encrypt.c:                  from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:27,
encrypt.c:                  from encrypt.c:54:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/ia32intrin.h:307: note: this is the location of the previous definition
encrypt.c:   307 | #define _bswap(a)               __bswapd(a)
encrypt.c:       |
encrypt.c: encrypt.c:90:2: error: #error "This code requires AVX512F to work"
encrypt.c:    90 | #error "This code requires AVX512F to work"
encrypt.c:       |  ^~~~~
encrypt.c: In file included from encrypt.c:194:
encrypt.c: encrypt.c: In function 'chacha_noxor176':
encrypt.c: c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:    71 |   __m128i t_15;
encrypt.c: ...

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

Compiler output


encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: encrypt.c:418:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: encrypt.c:311:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:     unsigned i=0, j;
encrypt.c:                   ^
encrypt.c: encrypt.c:558:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:            ^
encrypt.c: encrypt.c:558:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:                  ^
encrypt.c: 6 warnings generated.

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

Compiler output


encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: encrypt.c:418:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: encrypt.c:311:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:     unsigned i=0, j;
encrypt.c:                   ^
encrypt.c: encrypt.c:558:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:                  ^
encrypt.c: encrypt.c:558:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:            ^
encrypt.c: 6 warnings generated.

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

Compiler output


encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: encrypt.c:418:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: encrypt.c:311:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:     unsigned i=0, j;
encrypt.c:                   ^
encrypt.c: encrypt.c:558:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:            ^
encrypt.c: encrypt.c:558:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:                  ^
encrypt.c: 6 warnings generated.

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:dolbeau/amd64-sseclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:dolbeau/amd64-sseclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   __m128i t_14;
encrypt.c:           ^
encrypt.c: ./c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   __m128i t_15;
encrypt.c:           ^
encrypt.c: encrypt.c:418:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:       ALIGN32 uint64_t ia1[4];
encrypt.c:                        ^
encrypt.c: encrypt.c:311:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:     unsigned i=0, j;
encrypt.c:                   ^
encrypt.c: encrypt.c:558:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:                  ^
encrypt.c: encrypt.c:558:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c:   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:            ^
encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c176.h:99:7: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'chacha_noxor176' that is compiled without support for 'ssse3'
encrypt.c:       VEC4_QUARTERROUND( 0, 4, 8,12);
encrypt.c:       ^
encrypt.c: ./c176.h:17:36: note: expanded from macro 'VEC4_QUARTERROUND'
encrypt.c: #define VEC4_QUARTERROUND(a,b,c,d) VEC4_QUARTERROUND_SHUFFLE(a,b,c,d)
encrypt.c: ...

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

Compiler output


encrypt.c: In file included from encrypt.c:190:
encrypt.c: encrypt.c: In function 'chacha_noxor176':
encrypt.c: c176.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:    71 |   __m128i t_15;
encrypt.c:       |           ^~~~
encrypt.c: c176.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:    70 |   __m128i t_14;
encrypt.c:       |           ^~~~
encrypt.c: encrypt.c: In function 'prf_hash2_2':
encrypt.c: encrypt.c:418:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c:   418 |       ALIGN32 uint64_t ia1[4];
encrypt.c:       |                        ^~~
encrypt.c: encrypt.c:311:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:   311 |     unsigned i=0, j;
encrypt.c:       |                   ^
encrypt.c: encrypt.c: In function 'hs1_data':
encrypt.c: encrypt.c:558:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c:   558 |   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:       |                  ^~~~
encrypt.c: encrypt.c:558:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c:   558 |   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:       |            ^~~~

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