Implementation notes: amd64, cezanne, crypto_aead/trivia128v2
Computer: cezanne
Microarchitecture: amd64; Zen 3 (a50f00)
Architecture: amd64
CPU ID: AuthenticAMD-00a50f00-178bfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: trivia128v2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
156918 | 7959 0 0 | 24592 812 1048 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
160494 | 8095 0 0 | 24824 812 1048 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
162351 | 7902 0 0 | 24288 812 1016 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
180658 | 4232 0 0 | 17918 804 1016 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
197569 | 9450 0 0 | 25800 780 1080 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
209795 | 5253 0 0 | 19888 780 1080 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
238247 | 4300 0 0 | 18334 804 1016 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
256103 | 4275 0 0 | 18487 772 1080 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
645525 | 3780 0 0 | 16827 756 1048 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
Compiler output
encrypt.c: encrypt.c:52:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: {int i; u64 temp, Block = Bytes[0];
encrypt.c: ^
encrypt.c: encrypt.c:56:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: {int i; u32 temp, Block = (u8)Bytes[0];
encrypt.c: ^
encrypt.c: encrypt.c:231:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:231:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:232:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:288:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:288:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: u32 dummy_word[2], Tag[4], temp;
encrypt.c: ^
encrypt.c: encrypt.c:289:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: u8 FINISH;
encrypt.c: ^
encrypt.c: encrypt.c:367:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: ...
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
encrypt.c: encrypt.c: In function 'load64':
encrypt.c: encrypt.c:52:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 52 | {int i; u64 temp, Block = Bytes[0];
encrypt.c: | ^~~~
encrypt.c: encrypt.c: In function 'load32':
encrypt.c: encrypt.c:56:13: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 56 | {int i; u32 temp, Block = (u8)Bytes[0];
encrypt.c: | ^~~~
encrypt.c: encrypt.c: In function 'Initialize_process_AD_Reinitialize':
encrypt.c: encrypt.c:232:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: 232 | u8 FINISH;
encrypt.c: | ^~~~~~
encrypt.c: encrypt.c:231:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 231 | u32 dummy_word[2], Tag[4], temp;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:231:8: warning: unused variable 'dummy_word' [-Wunused-variable]
encrypt.c: 231 | u32 dummy_word[2], Tag[4], temp;
encrypt.c: | ^~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_trivia128v2_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:289:7: warning: unused variable 'FINISH' [-Wunused-variable]
encrypt.c: 289 | u8 FINISH;
encrypt.c: | ^~~~~~
encrypt.c: encrypt.c:288:31: warning: unused variable 'temp' [-Wunused-variable]
encrypt.c: 288 | u32 dummy_word[2], Tag[4], temp;
encrypt.c: | ^~~~
encrypt.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) |