Implementation notes: amd64, hertz, crypto_aead/ketjejrv2

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: ketjejrv2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3634436039 0 033318 828 1096T:compactclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3771525791 0 032934 828 1096T:compactclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
4247576287 0 030189 804 1160T:compactgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
5640665036 0 026925 804 1096T:compactgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
7669564417 0 023824 780 1064T:compactgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
8347294188 0 025208 820 1096T:compactclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
2427434193837 1160 40108277 2260 1256T:refg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3272181986711 1144 40109444 1772 1128T:refclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3280349078101 1144 40100964 1772 1128T:refclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3643234971454 1160 4092168 2268 1192T:refg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3821909848137 1144 4066390 1740 1128T:refclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
7928418446577 1144 4065594 1740 1160T:refg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

Compiler output


KeccakP-200-compact.c: KeccakP-200-compact.c:20:36: warning: '/*' within block comment [-Wcomment]
KeccakP-200-compact.c:    20 | /* #define DIVISION_INSTRUCTION    /* comment if no division instruction or more compact when not using division */
KeccakP-200-compact.c:       |                                    ^
KeccakP-200-compact.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:compactclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:compactclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:compactclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


KeccakP-200-compact.c: KeccakP-200-compact.c:20:36: warning: "/*" within comment [-Wcomment]
KeccakP-200-compact.c:    20 | /* #define DIVISION_INSTRUCTION    /* comment if no division instruction or more compact when not using division */
KeccakP-200-compact.c:       |

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:compactgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:compactgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:compactgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

Compiler output


Keccak-f.cpp: In file included from Keccak-f.cpp:17:
Keccak-f.cpp: Keccak-f.h: In instantiation of 'void KeccakF::forward(std::vector<Lane>&) const [with Lane = long long unsigned int]':
Keccak-f.cpp: Keccak-f.cpp:175:12:   required from here
Keccak-f.cpp: Keccak-f.h:473:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
Keccak-f.cpp:   473 |     for(int i=startRoundIndex; i<startRoundIndex+nrRounds; i++)
Keccak-f.cpp:       |                                ~^~~~~~~~~~~~~~~~~~~~~~~~~

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refg++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

Namespace violations


KeccakP-200-compact.o KeccakF200_RoundConstants R
KeccakP-200-compact.o KeccakP200_AddByte T
KeccakP-200-compact.o KeccakP200_AddBytes T
KeccakP-200-compact.o KeccakP200_ExtractAndAddBytes T
KeccakP-200-compact.o KeccakP200_ExtractBytes T
KeccakP-200-compact.o KeccakP200_Initialize T
KeccakP-200-compact.o KeccakP200_Mod5 R
KeccakP-200-compact.o KeccakP200_OverwriteBytes T
KeccakP-200-compact.o KeccakP200_OverwriteWithZeroes T
KeccakP-200-compact.o KeccakP200_Permute_18rounds T
KeccakP-200-compact.o KeccakP200_Permute_Nrounds T
KeccakP-200-compact.o KeccakP200_PiLane R
KeccakP-200-compact.o KeccakP200_RotationConstants R
KetJr.o KetJr_FeedAssociatedDataBlocks T
KetJr.o KetJr_StateAddByte T
KetJr.o KetJr_StateExtractByte T
KetJr.o KetJr_StateOverwrite T
KetJr.o KetJr_StateTwistIndexes R
KetJr.o KetJr_Step T
KetJr.o KetJr_UnwrapBlocks T
KetJr.o KetJr_WrapBlocks T
KetjeJr.o KetjeJr_FeedAssociatedData T
KetjeJr.o KetjeJr_GetTag T
KetjeJr.o KetjeJr_Initialize T
KetjeJr.o KetjeJr_UnwrapCiphertext T
KetjeJr.o KetjeJr_WrapPlaintext T

Number of similar (implementation,compiler) pairs: 6, namely:
ImplementationCompiler
T:compactclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:compactclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:compactclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:compactgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:compactgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:compactgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)