Implementation notes: amd64, hydra7, crypto_encrypt/mcnie4q2561

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_encrypt
Primitive: mcnie4q2561
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1326820854342 6 5273444 844 1856T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
1384080040346 6 5258196 844 1856T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
1600474738642 6 5256164 844 1856T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625
3312201632197 6 5248620 836 1824T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024063020240625

Compiler output


bin_vec.c: bin_vec.c: In function 'Shift':
bin_vec.c: bin_vec.c:201:15: 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:9: 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:11: 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_mcnie4q2561_ref_timingleaks':
crypt.c: crypt.c:987:38: 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:       |                                      ^~~~~~~~~
crypt.c: crypt.c: In function 'error_space':
crypt.c: crypt.c:1176:12: warning: '*Fs' may be used uninitialized [-Wmaybe-uninitialized]
crypt.c:  1176 |         er = Fs[0];  rr = N;
crypt.c:       |         ~~~^~~~~~~
matrix.c: matrix.c: In function 'mat_inv':
matrix.c: matrix.c:325:18: warning: '*_179 + _313' may be used uninitialized [-Wmaybe-uninitialized]
matrix.c:   325 |         if( B.dat[N-1][N-1] != 1 )
matrix.c:       |             ~~~~~^~~~~

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

Compiler output


bin_vec.c: bin_vec.c: In function 'Shift':
bin_vec.c: bin_vec.c:201:15: 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:9: 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:11: 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_mcnie4q2561_ref_timingleaks':
crypt.c: crypt.c:987:38: 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:       |                                      ^~~~~~~~~
crypt.c: crypt.c: In function 'error_space':
crypt.c: crypt.c:1176:12: warning: '*Fs' may be used uninitialized [-Wmaybe-uninitialized]
crypt.c:  1176 |         er = Fs[0];  rr = N;
crypt.c:       |         ~~~^~~~~~~
matrix.c: matrix.c: In function 'mat_inv':
matrix.c: matrix.c:325:18: warning: '*_179 + _357' may be used uninitialized [-Wmaybe-uninitialized]
matrix.c:   325 |         if( B.dat[N-1][N-1] != 1 )
matrix.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)

Compiler output


bin_vec.c: bin_vec.c: In function 'Shift':
bin_vec.c: bin_vec.c:201:15: 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:9: 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:11: 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_mcnie4q2561_ref_timingleaks':
crypt.c: crypt.c:987:38: 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: 2, namely:
ImplementationCompiler
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)