Implementation notes: amd64, comet, crypto_aead/flexaead256b256v12

Computer: comet
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: flexaead256b256v12
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
19513614494 0 028491 772 1088T:opt1gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
20304210138 0 022879 756 1056T:opt1gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
21164520518 0 038049 852 1056T:opt1clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
21218320598 0 038425 852 1088T:opt1clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
21852615925 0 030399 844 1088T:opt1clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
22255719255 0 035753 852 1024T:opt1clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
22934819049 0 033113 852 1024T:opt1clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
23755631104 0 047452 780 1088T:opt1gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
24241316611 0 031052 780 1088T:opt1gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
24479723526 0 040001 852 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
25146030356 0 048241 852 1088T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
25238530324 0 047913 852 1056T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
27075611213 0 025660 780 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
27818012651 0 026705 852 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
29642412345 0 026983 844 1088T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
30129710239 0 024292 780 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
3761906512 0 019239 756 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625

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:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -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:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)