Implementation notes: amd64, bolero, crypto_encrypt/mcnie4q2561
Computer: bolero
Microarchitecture: amd64; Broadwell+AES (406f1)
Architecture: amd64
CPU ID: GenuineIntel-000406f1-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_encrypt
Primitive: mcnie4q2561
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
9984064 | 54090 6 52 | 76029 816 1704 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
10035292 | 75724 6 52 | 98965 864 1640 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
10215476 | 63547 6 52 | 85077 864 1640 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
10225528 | 70784 6 52 | 93717 864 1640 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
10430708 | 39926 6 52 | 59805 816 1704 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
10504808 | 37553 6 52 | 56781 864 1640 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
11632184 | 35760 6 52 | 55165 848 1704 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
11860600 | 38407 6 52 | 57933 816 1704 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
32683612 | 32085 6 52 | 50613 808 1672 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
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.
crypt.c: crypt.c:847:29: warning: variable 'cip_len' set but not used [-Wunused-but-set-variable]
crypt.c: unsigned long long msg_len,cip_len,er_dat_len,y_len;
crypt.c: ^
crypt.c: crypt.c:906:29: warning: variable 'cip_len' set but not used [-Wunused-but-set-variable]
crypt.c: unsigned long long msg_len,cip_len,er_dat_len;
crypt.c: ^
crypt.c: crypt.c:987:31: warning: variable 'res_bytes' set but not used [-Wunused-but-set-variable]
crypt.c: unsigned long long num_block,res_bytes,real_mlen;
crypt.c: ^
crypt.c: 3 warnings generated.
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.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 + _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:
Implementation | Compiler |
T:ref | gcc -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:
Implementation | Compiler |
T:ref | gcc -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:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |