Implementation notes: amd64, samba, crypto_aead/hanmre

Computer: samba
Microarchitecture: amd64; Skylake (506e3)
Architecture: amd64
CPU ID: GenuineIntel-000506e3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: hanmre
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3568285335 0 023091 852 1056T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
3616413931 0 018621 844 1088T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
3641345335 0 023387 852 1088T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
3864304708 0 021195 852 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4853173853 0 019061 812 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4940413810 0 017795 852 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
6222173788 0 018548 804 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
6691163422 0 016920 788 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


hanmre.c: hanmre.c: In function 'hanmre_mac':
hanmre.c: hanmre.c:21:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
hanmre.c:    21 |         Permutation_Initialize(state);
hanmre.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hanmre.c: In file included from hanmre.c:5:
hanmre.c: permutation.h:4:6: note: by argument 1 of type 'const void *' to 'Permutation_Initialize' declared here
hanmre.c:     4 | void Permutation_Initialize(
hanmre.c:       |      ^~~~~~~~~~~~~~~~~~~~~~
hanmre.c: hanmre.c:20:23: note: 'state' declared here
hanmre.c:    20 |         unsigned char state[HANMRE_STATE_SZ];
hanmre.c:       |                       ^~~~~
hanmre.c: hanmre.c: In function 'hanmre_rk':
hanmre.c: hanmre.c:94:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
hanmre.c:    94 |         Permutation_Initialize(state);
hanmre.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hanmre.c: In file included from hanmre.c:5:
hanmre.c: permutation.h:4:6: note: by argument 1 of type 'const void *' to 'Permutation_Initialize' declared here
hanmre.c:     4 | void Permutation_Initialize(
hanmre.c:       |      ^~~~~~~~~~~~~~~~~~~~~~
hanmre.c: hanmre.c:93:23: note: 'state' declared here
hanmre.c:    93 |         unsigned char state[HANMRE_STATE_SZ];
hanmre.c:       |                       ^~~~~

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

Compiler output


hanmre.c: hanmre.c: In function 'hanmre_mac':
hanmre.c: hanmre.c:21:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
hanmre.c:    21 |         Permutation_Initialize(state);
hanmre.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hanmre.c: In file included from hanmre.c:5:
hanmre.c: permutation.h:4:6: note: by argument 1 of type 'const void *' to 'Permutation_Initialize' declared here
hanmre.c:     4 | void Permutation_Initialize(
hanmre.c:       |      ^~~~~~~~~~~~~~~~~~~~~~
hanmre.c: hanmre.c:20:23: note: 'state' declared here
hanmre.c:    20 |         unsigned char state[HANMRE_STATE_SZ];
hanmre.c:       |                       ^~~~~
hanmre.c: hanmre.c: In function 'hanmre_rk':
hanmre.c: hanmre.c:94:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
hanmre.c:    94 |         Permutation_Initialize(state);
hanmre.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hanmre.c: In file included from hanmre.c:5:
hanmre.c: permutation.h:4:6: note: by argument 1 of type 'const void *' to 'Permutation_Initialize' declared here
hanmre.c:     4 | void Permutation_Initialize(
hanmre.c:       |      ^~~~~~~~~~~~~~~~~~~~~~
hanmre.c: hanmre.c:93:23: note: 'state' declared here
hanmre.c:    93 |         unsigned char state[HANMRE_STATE_SZ];
hanmre.c:       |                       ^~~~~
hanmre.c: In function 'hanmre_rk',
hanmre.c:     inlined from 'hanmre_enc' at hanmre.c:124:2:
hanmre.c: hanmre.c:94:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
hanmre.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)