Implementation notes: amd64, speed2supercop, crypto_aead/flexaead256b256v12
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: flexaead256b256v12
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
200616 | 14614 0 0 | 28004 744 928 | T:opt1 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
211808 | 10138 0 0 | 22336 728 896 | T:opt1 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
222328 | 16789 0 0 | 32918 792 856 | T:opt1 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
222848 | 16853 0 0 | 34157 792 872 | T:opt1 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
225992 | 16909 0 0 | 34389 792 872 | T:opt1 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
227248 | 19637 0 0 | 33062 792 856 | T:opt1 | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
239996 | 15654 0 0 | 29719 784 920 | T:opt1 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
243440 | 30838 0 0 | 46525 752 928 | T:opt1 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
244536 | 16255 0 0 | 29925 752 928 | T:opt1 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
256344 | 22132 0 0 | 39269 792 872 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
257368 | 18256 0 0 | 34358 792 856 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
260404 | 22148 0 0 | 39461 792 872 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
266980 | 52444 0 0 | 68157 752 928 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
279096 | 10812 0 0 | 24501 752 928 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
280936 | 12478 0 0 | 25886 792 856 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
301120 | 10330 0 0 | 23781 752 928 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
316548 | 12115 0 0 | 26135 784 920 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
375644 | 6405 0 0 | 18584 728 896 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240703 | 20240625 |
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_16.0.6_(27+b1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
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 (13.3.0) |