Implementation notes: amd64, hertz, crypto_aead/twegift64lotusaeadv1
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: twegift64lotusaeadv1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
7727672 | 30313 0 0 | 51294 828 1096 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
9476065 | 28099 0 0 | 48878 828 1096 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
11774738 | 28783 0 0 | 46212 812 1160 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
14439958 | 16890 0 0 | 31848 820 1096 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
19540321 | 8997 0 0 | 24301 804 1096 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
23937307 | 6643 0 0 | 20296 780 1064 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
Compiler output
encrypt.c: encrypt.c:492:7: warning: explicitly assigning value of variable of type 'const unsigned char *' to itself [-Wself-assign]
encrypt.c: 492 | nsec = nsec;
encrypt.c: | ~~~~ ^ ~~~~
encrypt.c: encrypt.c:549:7: warning: explicitly assigning value of variable of type 'unsigned char *' to itself [-Wself-assign]
encrypt.c: 549 | nsec = nsec;
encrypt.c: | ~~~~ ^ ~~~~
encrypt.c: 2 warnings 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)) |
Namespace violations
encrypt.o init T
encrypt.o memcpy_and_zero_one_pad T
encrypt.o mult_by_alpha T
encrypt.o proc_ad T
encrypt.o proc_ct T
encrypt.o proc_pt T
encrypt.o proc_tg T
encrypt.o xor_bytes T
twegift-64.o _gift_perm R
twegift-64.o _gift_perm_inv R
twegift-64.o _gift_round_constants R
twegift-64.o _gift_sbox R
twegift-64.o _gift_sbox_inv R
twegift-64.o add_round_constants T
twegift-64.o add_round_key T
twegift-64.o add_round_tweak T
twegift-64.o bits_to_nibbles T
twegift-64.o bytes_to_nibbles T
twegift-64.o expand_tweak T
twegift-64.o generate_round_keys T
twegift-64.o nibbles_to_bits T
twegift-64.o nibbles_to_bytes T
twegift-64.o perm_bits T
twegift-64.o perm_bits_inv T
twegift-64.o sub_cells T
twegift-64.o sub_cells_inv T
twegift-64.o twegift_dec T
twegift-64.o twegift_enc T
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) |