Implementation notes: amd64, dali, crypto_hash/essence512

Computer: dali
Microarchitecture: amd64; Zen (820f01)
Architecture: amd64
CPU ID: AuthenticAMD-00820f01-178bfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: essence512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5153414774 3168 027616 3988 888T:gccclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
5401712293 3168 024872 3988 920T:gccclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
5411912629 3168 025336 3988 920T:gccclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
567028074 3168 018102 3980 888T:gccclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
584798285 3168 018822 3980 888T:gccclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625

Compiler output


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: #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: #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: #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: #define _ESSENCE_H_API_
essence_api.c:         ^~~~~~~~~~~~~~~
essence_api.c:         _ESSENCE_API_H_
essence_api.c: essence_api.c:68:9: warning: unused variable 'byte_array' [-Wunused-variable]
essence_api.c:   byte *byte_array;
essence_api.c:         ^
essence_api.c: essence_api.c:542:13: warning: unused variable 'root_hash' [-Wunused-variable]
essence_api.c:   uint64_t *root_hash;
essence_api.c:             ^
essence_api.c: essence_api.c:543:12: warning: unused variable 'blocks_per_tree' [-Wunused-variable]
essence_api.c:   int i,j, blocks_per_tree, leaf_num, level, level_mask;
essence_api.c:            ^
essence_api.c: essence_api.c:543:29: warning: unused variable 'leaf_num' [-Wunused-variable]
essence_api.c:   int i,j, blocks_per_tree, leaf_num, level, level_mask;
essence_api.c:                             ^
essence_api.c: essence_api.c:543:39: warning: unused variable 'level' [-Wunused-variable]
essence_api.c:   int i,j, blocks_per_tree, leaf_num, level, level_mask;
essence_api.c:                                       ^
essence_api.c: essence_api.c:543:46: warning: unused variable 'level_mask' [-Wunused-variable]
essence_api.c: ...
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: #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: #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: #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: #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: #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: #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: #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: #define _ESSENCE_H_API_
hash.c:         ^~~~~~~~~~~~~~~
hash.c:         _ESSENCE_API_H_
hash.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:gccclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:gccclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:gccclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:gccclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:gccclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


essence_api.c: essence_api.c: In function 'Init':
essence_api.c: essence_api.c:68:9: warning: unused variable 'byte_array' [-Wunused-variable]
essence_api.c:    68 |   byte *byte_array;
essence_api.c:       |         ^~~~~~~~~~
essence_api.c: essence_api.c: In function 'Merge_Tree_512':
essence_api.c: essence_api.c:543:46: warning: unused variable 'level_mask' [-Wunused-variable]
essence_api.c:   543 |   int i,j, blocks_per_tree, leaf_num, level, level_mask;
essence_api.c:       |                                              ^~~~~~~~~~
essence_api.c: essence_api.c:543:39: warning: unused variable 'level' [-Wunused-variable]
essence_api.c:   543 |   int i,j, blocks_per_tree, leaf_num, level, level_mask;
essence_api.c:       |                                       ^~~~~
essence_api.c: essence_api.c:543:29: warning: unused variable 'leaf_num' [-Wunused-variable]
essence_api.c:   543 |   int i,j, blocks_per_tree, leaf_num, level, level_mask;
essence_api.c:       |                             ^~~~~~~~
essence_api.c: essence_api.c:543:12: warning: unused variable 'blocks_per_tree' [-Wunused-variable]
essence_api.c:   543 |   int i,j, blocks_per_tree, leaf_num, level, level_mask;
essence_api.c:       |            ^~~~~~~~~~~~~~~
essence_api.c: essence_api.c:542:13: warning: unused variable 'root_hash' [-Wunused-variable]
essence_api.c:   542 |   uint64_t *root_hash;
essence_api.c:       |             ^~~~~~~~~
essence_api.c: essence_api.c: In function 'Merge_Tree_256':
essence_api.c: essence_api.c:764:46: warning: unused variable 'level_mask' [-Wunused-variable]
essence_api.c:   764 |   int i,j, blocks_per_tree, leaf_num, level, level_mask;
essence_api.c:       |                                              ^~~~~~~~~~
essence_api.c: essence_api.c:764:39: warning: unused variable 'level' [-Wunused-variable]
essence_api.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:gccgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:gccgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:gccgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:gccgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)