Implementation notes: amd64, hunsnivy, crypto_aead/elmd501v1
Computer: hunsnivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: elmd501v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
189764 | 26541 0 1012 | 42647 828 2072 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240810 | 20240808 |
245629 | 22071 0 976 | 38918 844 2008 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240810 | 20240808 |
248296 | 25250 0 976 | 43750 844 2008 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240810 | 20240808 |
248713 | 26106 0 976 | 43086 844 2008 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240810 | 20240808 |
253391 | 17487 0 1012 | 32631 828 2072 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240810 | 20240808 |
265228 | 16486 0 976 | 30516 836 2008 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240810 | 20240808 |
367695 | 15890 0 1012 | 29514 804 2072 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240810 | 20240808 |
377081 | 16893 0 1012 | 31710 820 2072 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240810 | 20240808 |
378605 | 16752 0 976 | 31380 836 2008 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240810 | 20240808 |
Compiler output
encrypt.c: In file included from encrypt.c:12:
encrypt.c: ./module.h:140:6: warning: unused variable 'i' [-Wunused-variable]
encrypt.c: int i;
encrypt.c: ^
encrypt.c: encrypt.c:138: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:138: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:139: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:139: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:139: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:140:6: warning: unused variable 'i' [-Wunused-variable]
encrypt.c: 140 | int i;
encrypt.c: | ^
encrypt.c: encrypt.c: In function 'crypto_aead_elmd501v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:139:38: warning: unused variable 'blk_ctr1' [-Wunused-variable]
encrypt.c: 139 | unsigned long long tlen, blk_ctr=0, blk_ctr1=0;
encrypt.c: | ^~~~~~~~
encrypt.c: encrypt.c:139:27: warning: unused variable 'blk_ctr' [-Wunused-variable]
encrypt.c: 139 | unsigned long long tlen, blk_ctr=0, blk_ctr1=0;
encrypt.c: | ^~~~~~~
encrypt.c: encrypt.c:139:21: warning: unused variable 'tlen' [-Wunused-variable]
encrypt.c: 139 | unsigned long long tlen, blk_ctr=0, blk_ctr1=0;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:138:58: warning: unused variable 'Is_complete' [-Wunused-variable]
encrypt.c: 138 | int i; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
encrypt.c: | ^~~~~~~~~~~
encrypt.c: encrypt.c:138:33: warning: unused variable 'blen' [-Wunused-variable]
encrypt.c: 138 | int i; u8 zeroes[16], ozs[16], blen = 16, Is_final = 0, Is_complete =1;
encrypt.c: | ^~~~
encrypt.c: encrypt.c:138:24: warning: variable 'ozs' set but not used [-Wunused-but-set-variable]
encrypt.c: 138 | 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) |
Namespace violations
encrypt.o AES_decrypt_r5 T
encrypt.o AES_encrypt_r5 T
encrypt.o AES_set_decrypt_key_5 T
encrypt.o AES_set_encrypt_key_5 T
encrypt.o aes_key1 B
encrypt.o aes_key2 B
encrypt.o aes_key3 B
encrypt.o aes_key4 B
encrypt.o is_equal_block T
Number of similar (implementation,compiler) pairs: 9, 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) |
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) |