Implementation notes: amd64, titan0, crypto_aead/flexaead128b064v12
Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: flexaead128b064v12
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
286803 | 15521 0 0 | 33520 860 1056 | T:opt1 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
287213 | 13025 0 0 | 29512 860 1024 | T:opt1 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
299665 | 9699 0 0 | 25021 804 1088 | T:opt1 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
307359 | 8585 0 0 | 23516 796 1088 | T:opt1 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
317177 | 14959 0 0 | 32664 860 1056 | T:opt1 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
320144 | 8823 0 0 | 22824 860 1024 | T:opt1 | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
332260 | 6106 0 0 | 19792 780 1056 | T:opt1 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
340452 | 10768 0 0 | 25322 852 1088 | T:opt1 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
393722 | 9692 0 0 | 23688 860 1024 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
398146 | 9749 0 0 | 25275 820 1088 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
403409 | 8982 0 0 | 24187 820 1088 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
426328 | 11826 0 0 | 26330 852 1088 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
433399 | 29723 0 0 | 47552 860 1056 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
434875 | 21968 0 0 | 38424 860 1024 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
436263 | 29723 0 0 | 47272 860 1056 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
713991 | 6012 0 0 | 19878 796 1056 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
Checksum failure
8764d3b5d24be947bf73f3d8d72871bd05eb7e3263116138176b4a47499f61ef
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:opt1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
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 (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 -march=native -Os -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) |
Compiler output
encrypt.c: In function 'dirShuffleLayer',
encrypt.c: inlined from 'dirPFK' at encrypt.c:631:3,
encrypt.c: inlined from 'sumAD.constprop' at encrypt.c:745:5:
encrypt.c: encrypt.c:585:34: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 585 | *(state+(2*i+0)) = *(block+(0*(blocklen/2)+i));
encrypt.c: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'sumAD.constprop':
encrypt.c: encrypt.c:48:18: note: at offset 8 into destination object 'state' of size 8
encrypt.c: 48 | unsigned char state[BLOCKSIZE];
encrypt.c: | ^~~~~
encrypt.c: In function 'dirShuffleLayer',
encrypt.c: inlined from 'dirPFK' at encrypt.c:631:3,
encrypt.c: inlined from 'sumAD.constprop' at encrypt.c:745:5:
encrypt.c: encrypt.c:586:34: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 586 | *(state+(2*i+1)) = *(block+(1*(blocklen/2)+i));
encrypt.c: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'sumAD.constprop':
encrypt.c: encrypt.c:48:18: note: at offset [9, 4294967293] into destination object 'state' of size 8
encrypt.c: 48 | unsigned char state[BLOCKSIZE];
encrypt.c: | ^~~~~
encrypt.c: In function 'dirShuffleLayer',
encrypt.c: inlined from 'dirPFK' at encrypt.c:631:3,
encrypt.c: inlined from 'sumAD.constprop' at encrypt.c:745:5:
encrypt.c: encrypt.c:585:34: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 585 | *(state+(2*i+0)) = *(block+(0*(blocklen/2)+i));
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 (11.4.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: 8, namely:
Implementation | Compiler |
T:opt1 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:opt1 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:opt1 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:opt1 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:opt1 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:opt1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:opt1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.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 (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 -march=native -Os -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 -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |