Implementation notes: amd64, h6sandy, crypto_aead/hs1sivhiv2
Computer: h6sandy
Microarchitecture: amd64; Sandy Bridge (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: hs1sivhiv2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
20080 | 9884 0 0 | 31341 820 1088 | T:faster | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
20232 | 8224 0 0 | 27544 796 1056 | T:faster | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
22489 | 9061 0 0 | 29988 812 1088 | T:faster | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
40590 | 6181 0 0 | 28179 860 1024 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
40696 | 7765 0 0 | 31675 860 1024 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
50767 | 7933 0 0 | 30483 860 1024 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
58199 | 4924 0 0 | 24939 860 1024 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
62347 | 7628 0 0 | 30781 820 1088 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
63245 | 6244 0 0 | 28133 820 1088 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
98093 | 6358 0 0 | 27821 820 1088 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
Test failure
error 111
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:faster | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:faster | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:faster | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:faster | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Test failure
error 111
crypto_aead_decrypt allows trivial forgeries
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | gcc -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 AVX2 to work"
encrypt.c: #error "This code requires AVX2 to work"
encrypt.c: ^
encrypt.c: encrypt.c:484:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: encrypt.c:333:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: unsigned i=0, j;
encrypt.c: ^
encrypt.c: encrypt.c:625: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:625:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c: unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: ^
encrypt.c: 4 warnings and 1 error generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:dolbeau/amd64-avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:dolbeau/amd64-avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:dolbeau/amd64-avx2 | clang -mcpu=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 AVX2 to work"
encrypt.c: #error "This code requires AVX2 to work"
encrypt.c: ^
encrypt.c: encrypt.c:484:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: ALIGN32 uint64_t ia1[4];
encrypt.c: ^
encrypt.c: encrypt.c:333:19: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: unsigned i=0, j;
encrypt.c: ^
encrypt.c: encrypt.c:625: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:625:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c: unsigned atot, mtot, arnd64, mrnd64;
encrypt.c: ^
encrypt.c: 4 warnings and 1 error generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx2 | clang -march=native -Os -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 AVX2 to work"
encrypt.c: 90 | #error "This code requires AVX2 to work"
encrypt.c: | ^~~~~
encrypt.c: encrypt.c: In function 'prf_hash2_3':
encrypt.c: encrypt.c:484:24: warning: unused variable 'ia1' [-Wunused-variable]
encrypt.c: 484 | ALIGN32 uint64_t ia1[4];
encrypt.c: | ^~~
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/amd64-avx2 | gcc -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:195:
encrypt.c: ./c368.h:146:11: warning: unused variable 't_3' [-Wunused-variable]
encrypt.c: __m512i t_3;
encrypt.c: ^
encrypt.c: ./c368.h:145:11: warning: unused variable 't_2' [-Wunused-variable]
encrypt.c: __m512i t_2;
encrypt.c: ^
encrypt.c: ./c368.h:148:11: warning: unused variable 't_5' [-Wunused-variable]
encrypt.c: __m512i t_5;
encrypt.c: ^
encrypt.c: ./c368.h:147:11: warning: unused variable 't_4' [-Wunused-variable]
encrypt.c: __m512i t_4;
encrypt.c: ^
encrypt.c: ./c368.h:143:11: warning: unused variable 't_0' [-Wunused-variable]
encrypt.c: __m512i t_0;
encrypt.c: ^
encrypt.c: ./c368.h:158:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m512i t_15;
encrypt.c: ^
encrypt.c: ./c368.h:144:11: warning: unused variable 't_1' [-Wunused-variable]
encrypt.c: __m512i t_1;
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -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:195:
encrypt.c: ./c368.h:150:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c: __m512i t_7;
encrypt.c: ^
encrypt.c: ./c368.h:149:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c: __m512i t_6;
encrypt.c: ^
encrypt.c: ./c368.h:148:11: warning: unused variable 't_5' [-Wunused-variable]
encrypt.c: __m512i t_5;
encrypt.c: ^
encrypt.c: ./c368.h:154:11: warning: unused variable 't_11' [-Wunused-variable]
encrypt.c: __m512i t_11;
encrypt.c: ^
encrypt.c: ./c368.h:152:11: warning: unused variable 't_9' [-Wunused-variable]
encrypt.c: __m512i t_9;
encrypt.c: ^
encrypt.c: ./c368.h:151:11: warning: unused variable 't_8' [-Wunused-variable]
encrypt.c: __m512i t_8;
encrypt.c: ^
encrypt.c: ./c368.h:153:11: warning: unused variable 't_10' [-Wunused-variable]
encrypt.c: __m512i t_10;
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -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:195:
encrypt.c: ./c368.h:158:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m512i t_15;
encrypt.c: ^
encrypt.c: ./c368.h:157:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m512i t_14;
encrypt.c: ^
encrypt.c: ./c368.h:143:11: warning: unused variable 't_0' [-Wunused-variable]
encrypt.c: __m512i t_0;
encrypt.c: ^
encrypt.c: ./c368.h:156:11: warning: unused variable 't_13' [-Wunused-variable]
encrypt.c: __m512i t_13;
encrypt.c: ^
encrypt.c: ./c368.h:147:11: warning: unused variable 't_4' [-Wunused-variable]
encrypt.c: __m512i t_4;
encrypt.c: ^
encrypt.c: ./c368.h:146:11: warning: unused variable 't_3' [-Wunused-variable]
encrypt.c: __m512i t_3;
encrypt.c: ^
encrypt.c: ./c368.h:145:11: warning: unused variable 't_2' [-Wunused-variable]
encrypt.c: __m512i t_2;
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -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:195:
encrypt.c: ./c368.h:146:11: warning: unused variable 't_3' [-Wunused-variable]
encrypt.c: __m512i t_3;
encrypt.c: ^
encrypt.c: ./c368.h:147:11: warning: unused variable 't_4' [-Wunused-variable]
encrypt.c: __m512i t_4;
encrypt.c: ^
encrypt.c: ./c368.h:148:11: warning: unused variable 't_5' [-Wunused-variable]
encrypt.c: __m512i t_5;
encrypt.c: ^
encrypt.c: ./c368.h:149:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c: __m512i t_6;
encrypt.c: ^
encrypt.c: ./c368.h:157:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m512i t_14;
encrypt.c: ^
encrypt.c: ./c368.h:143:11: warning: unused variable 't_0' [-Wunused-variable]
encrypt.c: __m512i t_0;
encrypt.c: ^
encrypt.c: ./c368.h:158:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: __m512i t_15;
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -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:195:
encrypt.c: ./c368.h:157:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: __m512i t_14;
encrypt.c: ^
encrypt.c: ./c368.h:147:11: warning: unused variable 't_4' [-Wunused-variable]
encrypt.c: __m512i t_4;
encrypt.c: ^
encrypt.c: ./c368.h:148:11: warning: unused variable 't_5' [-Wunused-variable]
encrypt.c: __m512i t_5;
encrypt.c: ^
encrypt.c: ./c368.h:146:11: warning: unused variable 't_3' [-Wunused-variable]
encrypt.c: __m512i t_3;
encrypt.c: ^
encrypt.c: ./c368.h:151:11: warning: unused variable 't_8' [-Wunused-variable]
encrypt.c: __m512i t_8;
encrypt.c: ^
encrypt.c: ./c368.h:152:11: warning: unused variable 't_9' [-Wunused-variable]
encrypt.c: __m512i t_9;
encrypt.c: ^
encrypt.c: ./c368.h:149:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c: __m512i t_6;
encrypt.c: ^
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | clang -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:195:
encrypt.c: encrypt.c: In function 'chacha_noxor368':
encrypt.c: c368.h:158:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: 158 | __m512i t_15;
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
encrypt.c: In file included from encrypt.c:192:
encrypt.c: ./c256.h:131:5: warning: unused variable 't0' [-Wunused-variable]
encrypt.c: ONEQUAD(0,1,2,3);
encrypt.c: ^
encrypt.c: ./c256.h:129:26: note: expanded from macro 'ONEQUAD'
encrypt.c: #define ONEQUAD(a,b,c,d) ONEQUAD_TRANSPOSE_NOXOR(a,b,c,d)
encrypt.c: ^
encrypt.c: ./c256.h:110:15: note: expanded from macro 'ONEQUAD_TRANSPOSE_NOXOR'
encrypt.c: __m128i t0, t1, t2, t3; \
encrypt.c: ^
encrypt.c: ./c256.h:131:5: warning: unused variable 't1' [-Wunused-variable]
encrypt.c: ./c256.h:129:26: note: expanded from macro 'ONEQUAD'
encrypt.c: #define ONEQUAD(a,b,c,d) ONEQUAD_TRANSPOSE_NOXOR(a,b,c,d)
encrypt.c: ^
encrypt.c: ./c256.h:110:19: note: expanded from macro 'ONEQUAD_TRANSPOSE_NOXOR'
encrypt.c: __m128i t0, t1, t2, t3; \
encrypt.c: ^
encrypt.c: ./c256.h:131:5: warning: unused variable 't2' [-Wunused-variable]
encrypt.c: ./c256.h:129:26: note: expanded from macro 'ONEQUAD'
encrypt.c: #define ONEQUAD(a,b,c,d) ONEQUAD_TRANSPOSE_NOXOR(a,b,c,d)
encrypt.c: ^
encrypt.c: ./c256.h:110:23: note: expanded from macro 'ONEQUAD_TRANSPOSE_NOXOR'
encrypt.c: __m128i t0, t1, t2, t3; \
encrypt.c: ^
encrypt.c: ./c256.h:131:5: warning: unused variable 't3' [-Wunused-variable]
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:dolbeau/amd64-sse | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:dolbeau/amd64-sse | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:dolbeau/amd64-sse | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:dolbeau/amd64-sse | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:dolbeau/amd64-sse | clang -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:192:
encrypt.c: c256.h: In function 'chacha_noxor368':
encrypt.c: c256.h:110:27: warning: unused variable 't3' [-Wunused-variable]
encrypt.c: 110 | __m128i t0, t1, t2, t3; \
encrypt.c: | ^~
encrypt.c: c256.h:129:26: note: in expansion of macro 'ONEQUAD_TRANSPOSE_NOXOR'
encrypt.c: 129 | #define ONEQUAD(a,b,c,d) ONEQUAD_TRANSPOSE_NOXOR(a,b,c,d)
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: c256.h:131:5: note: in expansion of macro 'ONEQUAD'
encrypt.c: 131 | ONEQUAD(0,1,2,3);
encrypt.c: | ^~~~~~~
encrypt.c: c256.h:110:23: warning: unused variable 't2' [-Wunused-variable]
encrypt.c: 110 | __m128i t0, t1, t2, t3; \
encrypt.c: | ^~
encrypt.c: c256.h:129:26: note: in expansion of macro 'ONEQUAD_TRANSPOSE_NOXOR'
encrypt.c: 129 | #define ONEQUAD(a,b,c,d) ONEQUAD_TRANSPOSE_NOXOR(a,b,c,d)
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: c256.h:131:5: note: in expansion of macro 'ONEQUAD'
encrypt.c: 131 | ONEQUAD(0,1,2,3);
encrypt.c: | ^~~~~~~
encrypt.c: c256.h:110:19: warning: unused variable 't1' [-Wunused-variable]
encrypt.c: 110 | __m128i t0, t1, t2, t3; \
encrypt.c: | ^~
encrypt.c: c256.h:129:26: note: in expansion of macro 'ONEQUAD_TRANSPOSE_NOXOR'
encrypt.c: 129 | #define ONEQUAD(a,b,c,d) ONEQUAD_TRANSPOSE_NOXOR(a,b,c,d)
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/amd64-sse | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
hs1.c: hs1.c:116:23: warning: unused variable 'm61' [-Wunused-const-variable]
hs1.c: static const uint64_t m61 = ((uint64_t)1 << 61) - 1;
hs1.c: ^
hs1.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:faster | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:faster | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:faster | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:faster | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
hs1.c: hs1.c:116:23: warning: 'm61' defined but not used [-Wunused-const-variable=]
hs1.c: 116 | static const uint64_t m61 = ((uint64_t)1 << 61) - 1;
hs1.c: | ^~~
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:faster | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:faster | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
hs1.c: hs1.c:116:23: warning: 'm61' defined but not used [-Wunused-const-variable=]
hs1.c: 116 | static const uint64_t m61 = ((uint64_t)1 << 61) - 1;
hs1.c: | ^~~
hs1.c: In function 'xor_copy_chacha_key',
hs1.c: inlined from 'hs1_gen_siv' at hs1.c:973:5:
hs1.c: hs1.c:890:34: warning: 'chacha_state' is used uninitialized [-Wuninitialized]
hs1.c: 890 | ((uint64_t *)dst)[2] ^= ((uint64_t *)src)[2];
hs1.c: | ^~
hs1.c: hs1.c: In function 'hs1_gen_siv':
hs1.c: hs1.c:936:50: note: 'chacha_state' declared here
hs1.c: 936 | __attribute__ ((aligned(32))) chacha_state_t chacha_state;
hs1.c: | ^~~~~~~~~~~~
hs1.c: In function 'xor_copy_chacha_key',
hs1.c: inlined from 'hs1siv_decrypt.part.0' at hs1.c:1023:5:
hs1.c: hs1.c:890:34: warning: 'chacha_state' is used uninitialized [-Wuninitialized]
hs1.c: 890 | ((uint64_t *)dst)[2] ^= ((uint64_t *)src)[2];
hs1.c: | ^~
hs1.c: hs1.c: In function 'hs1siv_decrypt.part.0':
hs1.c: hs1.c:1011:50: note: 'chacha_state' declared here
hs1.c: 1011 | __attribute__ ((aligned(32))) chacha_state_t chacha_state;
hs1.c: | ^~~~~~~~~~~~
hs1.c: In function 'xor_copy_chacha_key',
hs1.c: inlined from 'hs1' at hs1.c:1062:5:
hs1.c: hs1.c:890:34: warning: 'chacha_state' is used uninitialized [-Wuninitialized]
hs1.c: 890 | ((uint64_t *)dst)[2] ^= ((uint64_t *)src)[2];
hs1.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:faster | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Namespace violations
chacha_moon.o _chacha_blocks T
chacha_moon.o chacha_blocks T
hs1.o asu_hash T
hs1.o asu_hash_sse T
hs1.o hash_finalize T
hs1.o hash_step T
hs1.o hs1 T
hs1.o hs1_bzero T
hs1.o hs1_gen_siv T
hs1.o hs1_memcpy T
hs1.o hs1_setup T
hs1.o hs1siv_decrypt T
hs1.o hs1siv_encrypt T
hs1.o poly_finalize T
hs1.o poly_step T
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:faster | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:faster | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Namespace violations
encrypt.o chacha T
encrypt.o chacha_ivsetup T
encrypt.o chacha_keysetup T
encrypt.o hs1 T
encrypt.o hs1_hash T
encrypt.o hs1siv_chacha256 T
encrypt.o hs1siv_decrypt T
encrypt.o hs1siv_encrypt T
encrypt.o hs1siv_subkeygen T
encrypt.o prf_hash2 T
Number of similar (implementation,compiler) pairs: 7, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |