Implementation notes: amd64, bolero, crypto_aead/aes128marble4rv1
Computer: bolero
Microarchitecture: amd64; Broadwell+AES (406f1)
Architecture: amd64
CPU ID: GenuineIntel-000406f1-1fc9cbf5
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: aes128marble4rv1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
192480 | 36002 0 0 | 52311 832 856 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
199268 | 37015 0 0 | 54903 832 872 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
199288 | 36311 0 0 | 53887 832 872 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
208464 | 49201 0 0 | 66228 800 928 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
237956 | 28554 0 0 | 43516 800 928 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
247000 | 30203 0 0 | 44127 832 856 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
254544 | 26428 0 0 | 39767 776 896 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
263896 | 27962 0 0 | 42652 800 928 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
274672 | 26525 0 0 | 41121 824 920 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
Compiler output
aes_core.c: aes_core.c:892:12: warning: unused variable 'status' [-Wunused-variable]
aes_core.c: int i, j, status;
aes_core.c: ^
aes_core.c: 1 warning generated.
encrypt.c: encrypt.c:34:2: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
encrypt.c: free(cxt);
encrypt.c: ^
encrypt.c: encrypt.c:34:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
encrypt.c: encrypt.c:19:16: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c: unsigned char tag[CRYPTO_ABYTES];
encrypt.c: ^
encrypt.c: 2 warnings generated.
marble.c: marble.c:223:7: warning: unused variable 'temp' [-Wunused-variable]
marble.c: byte temp[SLEN];
marble.c: ^
marble.c: marble.c:281:7: warning: unused variable 'temp' [-Wunused-variable]
marble.c: byte temp[SLEN];
marble.c: ^
marble.c: 2 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 (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
aes_core.c: aes_core.c: In function 'AES_set_4round_decrypt_key':
aes_core.c: aes_core.c:892:19: warning: unused variable 'status' [-Wunused-variable]
aes_core.c: 892 | int i, j, status;
aes_core.c: | ^~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_aes128marble4rv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:34:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
encrypt.c: 34 | free(cxt);
encrypt.c: | ^~~~
encrypt.c: encrypt.c:5:1: note: include '<stdlib.h>' or provide a declaration of 'free'
encrypt.c: 4 | #include "marble.h"
encrypt.c: +++ |+#include <stdlib.h>
encrypt.c: 5 |
encrypt.c: encrypt.c:34:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
encrypt.c: 34 | free(cxt);
encrypt.c: | ^~~~
encrypt.c: encrypt.c:34:9: note: include '<stdlib.h>' or provide a declaration of 'free'
encrypt.c: encrypt.c:19:23: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c: 19 | unsigned char tag[CRYPTO_ABYTES];
encrypt.c: | ^~~
encrypt.c: encrypt.c: In function 'crypto_aead_aes128marble4rv1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:67:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
encrypt.c: 67 | free(cxt);
encrypt.c: | ^~~~
encrypt.c: encrypt.c:67:9: note: include '<stdlib.h>' or provide a declaration of 'free'
marble.c: marble.c: In function 'ae_encrypt':
marble.c: marble.c:223:14: warning: unused variable 'temp' [-Wunused-variable]
marble.c: 223 | byte temp[SLEN];
marble.c: | ^~~~
marble.c: marble.c: In function 'ae_decrypt':
marble.c: marble.c:281:14: warning: unused variable 'temp' [-Wunused-variable]
marble.c: 281 | byte temp[SLEN];
marble.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 (11.4.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Namespace violations
aes_core.o AES_decrypt T
aes_core.o AES_decrypt_4round T
aes_core.o AES_encrypt T
aes_core.o AES_encrypt_4round T
aes_core.o AES_set_4round_decrypt_key T
aes_core.o AES_set_decrypt_key T
aes_core.o AES_set_encrypt_key T
aes_core.o print_state T
marble.o Dec T
marble.o Division2 T
marble.o Enc T
marble.o Time2 T
marble.o Time3 T
marble.o Time7 T
marble.o Trans T
marble.o XLS T
marble.o ae_decrypt T
marble.o ae_encrypt T
marble.o ae_init T
marble.o invTrans T
marble.o invXLS T
marble.o mix T
marble.o process_ad T
marble.o rotate1 T
utils.o ae_allocate T
utils.o pstate T
utils.o pstate2 T
utils.o xor_bytes T
utils.o xor_bytes2 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 (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |