Implementation notes: amd64, comet, crypto_aead/flexaead256b256v12
Computer: comet
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: flexaead256b256v12
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
195080 | 14494 0 0 | 28491 772 1088 | T:opt1 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
203185 | 10138 0 0 | 22879 756 1056 | T:opt1 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
212438 | 20518 0 0 | 38049 852 1056 | T:opt1 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
220161 | 15925 0 0 | 30399 844 1088 | T:opt1 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
222776 | 19255 0 0 | 35753 852 1024 | T:opt1 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
229137 | 19049 0 0 | 33113 852 1024 | T:opt1 | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
237246 | 31104 0 0 | 47452 780 1088 | T:opt1 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
243114 | 16611 0 0 | 31052 780 1088 | T:opt1 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
245290 | 23526 0 0 | 40001 852 1024 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
246376 | 20598 0 0 | 38425 852 1088 | T:opt1 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
253055 | 30324 0 0 | 47913 852 1056 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
254504 | 30356 0 0 | 48241 852 1088 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
270910 | 11213 0 0 | 25660 780 1088 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
277669 | 12651 0 0 | 26705 852 1024 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
297464 | 12345 0 0 | 26983 844 1088 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
298826 | 10239 0 0 | 24292 780 1088 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
394734 | 6512 0 0 | 19239 756 1056 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240812 | 20240808 |
Compiler output
encrypt.c: encrypt.c:777:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
encrypt.c: dirPFK( block, (*self).nBytes, ((*self).subkeys + SUBKEY0), (*self).nRounds, (*self).state );
encrypt.c: ^
encrypt.c: encrypt.c:774:5: note: previous statement is here
encrypt.c: for( unsigned i = 0; i<(*self).nBytes; i+=8)
encrypt.c: ^
encrypt.c: encrypt.c:799:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
encrypt.c: invPFK( block, (*self).nBytes, ((*self).subkeys + SUBKEY1), (*self).nRounds, (*self).state );
encrypt.c: ^
encrypt.c: encrypt.c:796:5: note: previous statement is here
encrypt.c: for( unsigned i = 0; i<(*self).nBytes; i+=8)
encrypt.c: ^
encrypt.c: 2 warnings generated.
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
encrypt.c: In function 'invShuffleLayer',
encrypt.c: inlined from 'invPFK' at encrypt.c:693:3,
encrypt.c: inlined from 'decryptBlock' at encrypt.c:784:2:
encrypt.c: encrypt.c:598:37: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 598 | *(state+(1*(blocklen/2)+i)) = *(block+(2*i+1));
encrypt.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'decryptBlock':
encrypt.c: encrypt.c:48:18: note: at offset [33, 4294967293] into destination object 'state' of size 32
encrypt.c: 48 | unsigned char state[BLOCKSIZE];
encrypt.c: | ^~~~~
encrypt.c: In function 'invShuffleLayer',
encrypt.c: inlined from 'invPFK' at encrypt.c:693:3,
encrypt.c: inlined from 'decryptBlock' at encrypt.c:784:2:
encrypt.c: encrypt.c:598:37: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 598 | *(state+(1*(blocklen/2)+i)) = *(block+(2*i+1));
encrypt.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'decryptBlock':
encrypt.c: encrypt.c:48:18: note: at offset [34, 4294967293] into destination object 'state' of size 32
encrypt.c: 48 | unsigned char state[BLOCKSIZE];
encrypt.c: | ^~~~~
encrypt.c: In function 'invShuffleLayer',
encrypt.c: inlined from 'invPFK' at encrypt.c:693:3,
encrypt.c: inlined from 'decryptBlock' at encrypt.c:784:2:
encrypt.c: encrypt.c:598:37: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 598 | *(state+(1*(blocklen/2)+i)) = *(block+(2*i+1));
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Namespace violations
encrypt.o FlexAEADv1_init T
encrypt.o decryptBlock T
encrypt.o dirMixQuartersLayer T
encrypt.o dirPFK T
encrypt.o dirSBox0 R
encrypt.o dirSBox1 R
encrypt.o dirSBox2 R
encrypt.o dirSBox3 R
encrypt.o dirSBoxLayer T
encrypt.o dirShuffleLayer T
encrypt.o encryptBlock T
encrypt.o invPFK T
encrypt.o invSBox0 R
encrypt.o invSBox1 R
encrypt.o invSBox2 R
encrypt.o invSBox3 R
encrypt.o invSBoxLayer T
encrypt.o invShuffleLayer T
encrypt.o memcpyopt T
encrypt.o mwc32 T
encrypt.o padBlock T
encrypt.o sumAD T
encrypt.o unpadBlock T
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
T:opt1 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:opt1 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:opt1 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:opt1 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:opt1 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:opt1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:opt1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:opt1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:opt1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Namespace violations
encrypt.o FlexAEADv1_init T
encrypt.o decryptBlock T
encrypt.o dirMixQuartersLayer T
encrypt.o dirPFK T
encrypt.o dirSBox0 R
encrypt.o dirSBox1 R
encrypt.o dirSBox2 R
encrypt.o dirSBox3 R
encrypt.o dirSBoxLayer T
encrypt.o dirShuffleLayer T
encrypt.o encryptBlock T
encrypt.o invPFK T
encrypt.o invSBox0 R
encrypt.o invSBox1 R
encrypt.o invSBox2 R
encrypt.o invSBox3 R
encrypt.o invSBoxLayer T
encrypt.o invShuffleLayer T
encrypt.o mwc32 T
encrypt.o padBlock T
encrypt.o sumAD T
encrypt.o unpadBlock T
Number of similar (implementation,compiler) pairs: 8, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |