Implementation notes: amd64, alder, crypto_encrypt/mcnie3q1922
Computer: alder
Microarchitecture: amd64; Golden Cove (90675-00)
Architecture: amd64
CPU ID: GenuineIntel-00090675-00-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_encrypt
Primitive: mcnie3q1922
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
10567305 | 50427 6 52 | 72633 860 1816 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
10715345 | 31111 6 52 | 50745 844 1816 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
10742360 | 55380 6 52 | 77745 860 1816 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
10776600 | 66590 6 52 | 88921 860 1816 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
10975114 | 34040 6 52 | 54121 844 1816 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
11802071 | 56926 6 52 | 79831 820 1880 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
12405291 | 37503 6 52 | 58279 820 1880 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
14892212 | 35468 6 52 | 55919 820 1880 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
52119091 | 29097 6 52 | 48399 812 1848 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
Compiler output
Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
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:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
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 'encrypt_one_block':
crypt.c: crypt.c:312:8: warning: variable 'blk2' set but not used [-Wunused-but-set-variable]
crypt.c: 312 | short blk2,blk3;
crypt.c: | ^~~~
crypt.c: crypt.c: In function 'encrypt_one_block_given_error':
crypt.c: crypt.c:421:8: warning: variable 'blk2' set but not used [-Wunused-but-set-variable]
crypt.c: 421 | short blk2,blk3;
crypt.c: | ^~~~
crypt.c: crypt.c: In function 'decrypt_one_block':
crypt.c: crypt.c:515:13: warning: variable 'blk3' set but not used [-Wunused-but-set-variable]
crypt.c: 515 | short blk2,blk3;
crypt.c: | ^~~~
crypt.c: crypt.c:515:8: warning: variable 'blk2' set but not used [-Wunused-but-set-variable]
crypt.c: 515 | short blk2,blk3;
crypt.c: | ^~~~
crypt.c: crypt.c: In function 'decrypt_one_block_return_error':
crypt.c: crypt.c:653:13: warning: variable 'blk3' set but not used [-Wunused-but-set-variable]
crypt.c: 653 | short blk2,blk3;
crypt.c: | ^~~~
crypt.c: crypt.c:653:8: warning: variable 'blk2' set but not used [-Wunused-but-set-variable]
crypt.c: 653 | short blk2,blk3;
crypt.c: | ^~~~
crypt.c: crypt.c: In function 'crypto_encrypt_mcnie3q1922_ref_timingleaks':
crypt.c: crypt.c:922:31: warning: variable 'res_bytes' set but not used [-Wunused-but-set-variable]
crypt.c: 922 | unsigned long long num_block,res_bytes,real_mlen;
crypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |