Implementation notes: amd64, hertz, crypto_aead/aescopav1

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: aescopav1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
53996332892 0 054030 844 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
54089332975 0 054222 844 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
54577330764 0 048332 828 1160T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
58082312758 0 028316 828 1096T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
89419711145 0 026264 836 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
9748159434 0 023351 804 1064T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

Compiler output


encrypt.c: encrypt.c:24:13: warning: unused function 'printblock' [-Wunused-function]
encrypt.c:    24 | static void printblock(const char* caption, const block_t buf)
encrypt.c:       |             ^~~~~~~~~~
encrypt.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


encrypt.c: encrypt.c:24:13: warning: 'printblock' defined but not used [-Wunused-function]
encrypt.c:    24 | static void printblock(const char* caption, const block_t buf)
encrypt.c:       |             ^~~~~~~~~~
encrypt.c: In function 'rol',
encrypt.c:     inlined from 'mix' at encrypt.c:282:2:
encrypt.c: encrypt.c:264:36: warning: 'ab' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.c:   264 |         unsigned char firstbit = in[0] >> 7;
encrypt.c:       |                                  ~~^~~
encrypt.c: encrypt.c: In function 'mix':
encrypt.c: encrypt.c:276:23: note: 'ab' declared here
encrypt.c:   276 |         unsigned char ab[16];
encrypt.c:       |                       ^~

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

Compiler output


encrypt.c: encrypt.c:24:13: warning: 'printblock' defined but not used [-Wunused-function]
encrypt.c:    24 | static void printblock(const char* caption, const block_t buf)
encrypt.c:       |             ^~~~~~~~~~

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

Namespace violations


aes-core.o aes_addroundkey T
aes-core.o aes_first_addroundkey T
aes-core.o aes_isubbyte_ishiftrows_imixcols T
aes-core.o aes_isubbytes_ishiftrows T
aes-core.o aes_last_addroundkey T
aes-core.o aes_subbyte_shiftrows_mixcols T
aes-core.o aes_subbytes_shiftrows T
aes-core.o aesc_decrypt T
aes-core.o aesc_encrypt T
aes-core.o aesc_keyexp T
encrypt.o AES_DECRYPT T
encrypt.o AES_ENCRYPT T
encrypt.o invmix T
encrypt.o mac T
encrypt.o mix T
encrypt.o rol T
encrypt.o xls T
encrypt.o xlsinv T

Number of similar (implementation,compiler) pairs: 6, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)