Implementation notes: amd64, r24000, crypto_hash/essence384
Computer: r24000
Microarchitecture: amd64; Coffee Lake (906ea)
Architecture: amd64
CPU ID: GenuineIntel-000906ea-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_hash
Primitive: essence384
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:
Implementation | Compiler |
T:gcc | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:gcc | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:gcc | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:gcc | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
T:gcc | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_16.0.6_(15)) |
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:
Implementation | Compiler |
T:gcc | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:gcc | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:gcc | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:gcc | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |