Implementation notes: amd64, hertz, crypto_hash/essence384

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240107
Operation: crypto_hash
Primitive: essence384
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5184326542 3200 040165 4044 1032T:gccgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
5813210322 3168 021917 3980 968T:gccgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
6133212851 3168 027090 4052 968T:gccclang-17_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
6154513910 3168 028331 4052 968T:gccclang-17_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
660459023 3168 020702 4020 968T:gccclang-17_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
899908185 3168 018248 3956 936T:gccgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217

Compiler output

Implementation: T:gcc
Security model: timingleaks
Compiler: clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
essence_L_tables.c: In file included from essence_L_tables.c:12:
essence_L_tables.c: ./essence_api.h:13:9: warning: '_ESSENCE_API_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
essence_L_tables.c: 13 | #ifndef _ESSENCE_API_H_
essence_L_tables.c: | ^~~~~~~~~~~~~~~
essence_L_tables.c: ./essence_api.h:14:9: note: '_ESSENCE_H_API_' is defined here; did you mean '_ESSENCE_API_H_'?
essence_L_tables.c: 14 | #define _ESSENCE_H_API_
essence_L_tables.c: | ^~~~~~~~~~~~~~~
essence_L_tables.c: | _ESSENCE_API_H_
essence_L_tables.c: 1 warning generated.
essence_api.c: In file included from essence_api.c:11:
essence_api.c: In file included from ./essence.h:11:
essence_api.c: ./essence_api.h:13:9: warning: '_ESSENCE_API_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
essence_api.c: 13 | #ifndef _ESSENCE_API_H_
essence_api.c: | ^~~~~~~~~~~~~~~
essence_api.c: ./essence_api.h:14:9: note: '_ESSENCE_H_API_' is defined here; did you mean '_ESSENCE_API_H_'?
essence_api.c: 14 | #define _ESSENCE_H_API_
essence_api.c: | ^~~~~~~~~~~~~~~
essence_api.c: | _ESSENCE_API_H_
essence_api.c: 1 warning generated.
essence_compress_256.c: In file included from essence_compress_256.c:11:
essence_compress_256.c: In file included from ./essence.h:11:
essence_compress_256.c: ./essence_api.h:13:9: warning: '_ESSENCE_API_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
essence_compress_256.c: 13 | #ifndef _ESSENCE_API_H_
essence_compress_256.c: | ^~~~~~~~~~~~~~~
essence_compress_256.c: ./essence_api.h:14:9: note: '_ESSENCE_H_API_' is defined here; did you mean '_ESSENCE_API_H_'?
essence_compress_256.c: 14 | #define _ESSENCE_H_API_
essence_compress_256.c: | ^~~~~~~~~~~~~~~
essence_compress_256.c: | _ESSENCE_API_H_
essence_compress_256.c: 1 warning generated.
essence_compress_256_dual.c: In file included from essence_compress_256_dual.c:11:
essence_compress_256_dual.c: In file included from ./essence.h:11:
essence_compress_256_dual.c: ./essence_api.h:13:9: warning: '_ESSENCE_API_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
essence_compress_256_dual.c: 13 | #ifndef _ESSENCE_API_H_
essence_compress_256_dual.c: | ^~~~~~~~~~~~~~~
essence_compress_256_dual.c: ./essence_api.h:14:9: note: '_ESSENCE_H_API_' is defined here; did you mean '_ESSENCE_API_H_'?
essence_compress_256_dual.c: 14 | #define _ESSENCE_H_API_
essence_compress_256_dual.c: | ^~~~~~~~~~~~~~~
essence_compress_256_dual.c: | _ESSENCE_API_H_
essence_compress_256_dual.c: 1 warning generated.
essence_compress_512.c: In file included from essence_compress_512.c:10:
essence_compress_512.c: In file included from ./essence.h:11:
essence_compress_512.c: ./essence_api.h:13:9: warning: '_ESSENCE_API_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
essence_compress_512.c: 13 | #ifndef _ESSENCE_API_H_
essence_compress_512.c: | ^~~~~~~~~~~~~~~
essence_compress_512.c: ./essence_api.h:14:9: note: '_ESSENCE_H_API_' is defined here; did you mean '_ESSENCE_API_H_'?
essence_compress_512.c: 14 | #define _ESSENCE_H_API_
essence_compress_512.c: | ^~~~~~~~~~~~~~~
essence_compress_512.c: | _ESSENCE_API_H_
essence_compress_512.c: 1 warning generated.
hash.c: In file included from hash.c:2:
hash.c: ./essence_api.h:13:9: warning: '_ESSENCE_API_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
hash.c: 13 | #ifndef _ESSENCE_API_H_
hash.c: | ^~~~~~~~~~~~~~~
hash.c: ./essence_api.h:14:9: note: '_ESSENCE_H_API_' is defined here; did you mean '_ESSENCE_API_H_'?
hash.c: 14 | #define _ESSENCE_H_API_
hash.c: | ^~~~~~~~~~~~~~~
hash.c: | _ESSENCE_API_H_
hash.c: 1 warning generated.

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:gcc
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:gcc
clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:gcc

Compiler output

Implementation: T:gcc
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
essence_api.c: essence_api.c: In function 'Join_256':
essence_api.c: essence_api.c:411:33: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=]
essence_api.c: 411 | data_buffer[32+i*4+j] = (byte)(hash_b[i] >> (j*8));
essence_api.c: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
essence_api.c: essence_api.c:396:8: note: at offset 32 into destination object 'data_buffer' of size 32
essence_api.c: 396 | byte data_buffer[32];
essence_api.c: | ^~~~~~~~~~~
essence_api.c: essence_api.c:411:33: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=]
essence_api.c: 411 | data_buffer[32+i*4+j] = (byte)(hash_b[i] >> (j*8));
essence_api.c: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
essence_api.c: essence_api.c:396:8: note: at offset 40 into destination object 'data_buffer' of size 32
essence_api.c: 396 | byte data_buffer[32];
essence_api.c: | ^~~~~~~~~~~
essence_api.c: essence_api.c:411:33: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=]
essence_api.c: 411 | data_buffer[32+i*4+j] = (byte)(hash_b[i] >> (j*8));
essence_api.c: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
essence_api.c: essence_api.c:396:8: note: at offset 48 into destination object 'data_buffer' of size 32
essence_api.c: 396 | byte data_buffer[32];
essence_api.c: | ^~~~~~~~~~~
essence_api.c: essence_api.c:411:33: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=]
essence_api.c: 411 | data_buffer[32+i*4+j] = (byte)(hash_b[i] >> (j*8));
essence_api.c: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
essence_api.c: essence_api.c:396:8: note: at offset 56 into destination object 'data_buffer' of size 32
essence_api.c: 396 | byte data_buffer[32];
essence_api.c: | ^~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:gcc