Implementation notes: amd64, kizomba, crypto_hash/essence256

Computer: kizomba
Microarchitecture: amd64; Kaby Lake (906e9)
Architecture: amd64
CPU ID: GenuineIntel-000906e9-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: essence256

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: ...

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

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 (11.4.0)
T:gccgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:gccgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:gccgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)