Implementation notes: amd64, hertz, crypto_aead/aesjambuv1
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: aesjambuv1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
33565 | 3815 0 0 | 18608 820 1096 | T:aesni | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
33568 | 6293 0 0 | 27215 828 1096 | T:aesni | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
33568 | 6309 0 0 | 27343 828 1096 | T:aesni | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
34423 | 5163 0 0 | 22468 812 1160 | T:aesni | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
34865 | 5163 0 0 | 20444 812 1096 | T:aesni | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
48086 | 3234 0 0 | 16950 796 1064 | T:aesni | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
123922 | 5529 5120 0 | 24927 5916 1064 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
140826 | 6395 5120 0 | 28276 5940 1096 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
140952 | 6395 5120 0 | 30300 5940 1160 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
143351 | 5583 5120 0 | 32551 5956 1096 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
143578 | 5583 5120 0 | 32663 5956 1096 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
144730 | 5331 5120 0 | 26128 5948 1096 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
Compiler output
encrypt.c: encrypt.c:266:18: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: 266 | unsigned long i,j;
encrypt.c: | ^
encrypt.c: encrypt.c:267:16: warning: unused variable 'partialblockplaintext' [-Wunused-variable]
encrypt.c: 267 | unsigned char partialblockplaintext[8],partialblockciphertext[8];
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:267:41: warning: unused variable 'partialblockciphertext' [-Wunused-variable]
encrypt.c: 267 | unsigned char partialblockplaintext[8],partialblockciphertext[8];
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:340:18: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: 340 | unsigned long i,j;
encrypt.c: | ^
encrypt.c: encrypt.c:341:16: warning: unused variable 'partialblockplaintext' [-Wunused-variable]
encrypt.c: 341 | unsigned char partialblockplaintext[16],partialblockciphertext[16];
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:341:42: warning: unused variable 'partialblockciphertext' [-Wunused-variable]
encrypt.c: 341 | unsigned char partialblockplaintext[16],partialblockciphertext[16];
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:342:16: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c: 342 | unsigned char tag[8];
encrypt.c: | ^~~
encrypt.c: encrypt.c:343:16: warning: unused variable 'check' [-Wunused-variable]
encrypt.c: 343 | unsigned char check = 0;
encrypt.c: | ^~~~~
encrypt.c: 8 warnings generated.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:aesni | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:aesni | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:aesni | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
encrypt.c: encrypt.c: In function 'crypto_aead_aesjambuv1_aesni_timingleaks_encrypt':
encrypt.c: encrypt.c:267:48: warning: unused variable 'partialblockciphertext' [-Wunused-variable]
encrypt.c: 267 | unsigned char partialblockplaintext[8],partialblockciphertext[8];
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:267:23: warning: unused variable 'partialblockplaintext' [-Wunused-variable]
encrypt.c: 267 | unsigned char partialblockplaintext[8],partialblockciphertext[8];
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:266:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: 266 | unsigned long i,j;
encrypt.c: | ^
encrypt.c: encrypt.c: In function 'crypto_aead_aesjambuv1_aesni_timingleaks_decrypt':
encrypt.c: encrypt.c:343:23: warning: unused variable 'check' [-Wunused-variable]
encrypt.c: 343 | unsigned char check = 0;
encrypt.c: | ^~~~~
encrypt.c: encrypt.c:342:23: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c: 342 | unsigned char tag[8];
encrypt.c: | ^~~
encrypt.c: encrypt.c:341:49: warning: unused variable 'partialblockciphertext' [-Wunused-variable]
encrypt.c: 341 | unsigned char partialblockplaintext[16],partialblockciphertext[16];
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:341:23: warning: unused variable 'partialblockplaintext' [-Wunused-variable]
encrypt.c: 341 | unsigned char partialblockplaintext[16],partialblockciphertext[16];
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:340:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: 340 | unsigned long i,j;
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:aesni | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:aesni | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:aesni | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Compiler output
encrypt.c: encrypt.c:267:11: warning: unused variable 'check' [-Wunused-variable]
encrypt.c: 267 | uint8_t check = 0;
encrypt.c: | ^~~~~
encrypt.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
encrypt.c: encrypt.c: In function 'crypto_aead_aesjambuv1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:267:17: warning: unused variable 'check' [-Wunused-variable]
encrypt.c: 267 | uint8_t check = 0;
encrypt.c: | ^~~~~
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
encrypt.o aes128_keyexpand T
Number of similar (implementation,compiler) pairs: 6, namely:
Implementation | Compiler |
T:aesni | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:aesni | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:aesni | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:aesni | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:aesni | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:aesni | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
aes.o AESEncrypt T
aes.o AESKeySteup T
aes.o TE0 D
aes.o TE1 D
aes.o TE2 D
aes.o TE3 D
aes.o TE4 D
Number of similar (implementation,compiler) pairs: 6, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |