Implementation notes: amd64, gemini, crypto_aead/elmd601v2
Computer: gemini
Microarchitecture: amd64; Goldmont Plus (706a8)
Architecture: amd64
CPU ID: GenuineIntel-000706a8-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: elmd601v2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
203334 | 28496 0 500 | 44480 780 1592 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240701 | 20240625 |
271145 | 16601 0 488 | 30286 804 1496 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240701 | 20240625 |
293722 | 26586 0 488 | 43200 812 1496 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240701 | 20240625 |
304353 | 24577 0 488 | 42400 812 1496 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240701 | 20240625 |
307552 | 18095 0 500 | 32904 780 1592 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240701 | 20240625 |
331841 | 21951 0 488 | 37488 812 1496 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240701 | 20240625 |
459836 | 17224 0 488 | 31534 804 1496 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240701 | 20240625 |
495868 | 17363 0 500 | 31775 772 1592 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240701 | 20240625 |
509367 | 16284 0 500 | 29547 756 1560 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240701 | 20240625 |
Compiler output
encrypt.c: In file included from encrypt.c:12:
encrypt.c: ./module.h:139:6: warning: unused variable 'i' [-Wunused-variable]
encrypt.c: int i;
encrypt.c: ^
encrypt.c: encrypt.c:141:33: warning: unused variable 'blen' [-Wunused-variable]
encrypt.c: int i; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
encrypt.c: ^
encrypt.c: encrypt.c:141:58: warning: unused variable 'Is_complete' [-Wunused-variable]
encrypt.c: int i; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
encrypt.c: ^
encrypt.c: encrypt.c:142:21: warning: unused variable 'tlen' [-Wunused-variable]
encrypt.c: unsigned long long tlen, blk_ctr=0, blk_ctr1=0;
encrypt.c: ^
encrypt.c: encrypt.c:142:27: warning: unused variable 'blk_ctr' [-Wunused-variable]
encrypt.c: unsigned long long tlen, blk_ctr=0, blk_ctr1=0;
encrypt.c: ^
encrypt.c: encrypt.c:142:38: warning: unused variable 'blk_ctr1' [-Wunused-variable]
encrypt.c: unsigned long long tlen, blk_ctr=0, blk_ctr1=0;
encrypt.c: ^
encrypt.c: 6 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 (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: In file included from encrypt.c:12:
encrypt.c: module.h: In function 'process_block':
encrypt.c: module.h:139:6: warning: unused variable 'i' [-Wunused-variable]
encrypt.c: 139 | int i;
encrypt.c: | ^
encrypt.c: encrypt.c: In function 'crypto_aead_elmd601v2_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:142:38: warning: unused variable 'blk_ctr1' [-Wunused-variable]
encrypt.c: 142 | unsigned long long tlen, blk_ctr=0, blk_ctr1=0;
encrypt.c: | ^~~~~~~~
encrypt.c: encrypt.c:142:27: warning: unused variable 'blk_ctr' [-Wunused-variable]
encrypt.c: 142 | unsigned long long tlen, blk_ctr=0, blk_ctr1=0;
encrypt.c: | ^~~~~~~
encrypt.c: encrypt.c:142:21: warning: unused variable 'tlen' [-Wunused-variable]
encrypt.c: 142 | unsigned long long tlen, blk_ctr=0, blk_ctr1=0;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:141:58: warning: unused variable 'Is_complete' [-Wunused-variable]
encrypt.c: 141 | int i; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
encrypt.c: | ^~~~~~~~~~~
encrypt.c: encrypt.c:141:33: warning: unused variable 'blen' [-Wunused-variable]
encrypt.c: 141 | int i; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:141:24: warning: variable 'ozs' set but not used [-Wunused-but-set-variable]
encrypt.c: 141 | int i; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
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) |