Implementation notes: amd64, hydra4, crypto_encrypt/mcnie4q1281

Computer: hydra4
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20240625
Operation: crypto_encrypt
Primitive: mcnie4q1281
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1228514064414 6 5284465 860 1784T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071320240625
1229424158749 6 5277977 860 1784T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071320240625
1237024164414 6 5284465 860 1784T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071320240625
1421395335901 6 5253753 844 1784T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071320240625
1499623133346 6 5250617 844 1784T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071320240625
2816248974902 6 5295055 820 1848T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071320240625
2958719441121 6 5259975 820 1848T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071320240625
3015900837451 6 5255639 820 1848T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071320240625
3462523930854 6 5247855 812 1816T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071320240625

Compiler output


bin_vec.c: bin_vec.c:201:8: warning: unused variable 'last' [-Wunused-variable]
bin_vec.c:         short last = x->size - ((n-1)<<5);
bin_vec.c:               ^
bin_vec.c: 1 warning generated.
conv.c: conv.c:142:4: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
conv.c:           for( i=0 ; i<nr ; i++ )
conv.c:           ^
conv.c: conv.c:127:2: note: previous statement is here
conv.c:         for( i=0 ; i<nr ; i++ )
conv.c:         ^
conv.c: 1 warning generated.

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

Compiler output


bin_vec.c: bin_vec.c: In function 'Shift':
bin_vec.c: bin_vec.c:201:8: warning: unused variable 'last' [-Wunused-variable]
bin_vec.c:   201 |  short last = x->size - ((n-1)<<5);
bin_vec.c:       |        ^~~~
conv.c: conv.c: In function 'conv':
conv.c: conv.c:127:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
conv.c:   127 |  for( i=0 ; i<nr ; i++ )
conv.c:       |  ^~~
conv.c: conv.c:142:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
conv.c:   142 |    for( i=0 ; i<nr ; i++ )
conv.c:       |    ^~~
crypt.c: crypt.c: In function 'crypto_encrypt_mcnie4q1281_ref_timingleaks':
crypt.c: crypt.c:987:31: warning: variable 'res_bytes' set but not used [-Wunused-but-set-variable]
crypt.c:   987 |  unsigned long long num_block,res_bytes,real_mlen;
crypt.c:       |                               ^~~~~~~~~

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