Implementation notes: amd64, rumba5, crypto_aead/aescopav1

Computer: rumba5
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: aescopav1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
64956935733 0 052740 828 1088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
77764513439 0 029236 828 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
77958834200 0 051091 860 1056T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
77963833797 0 050315 860 1056T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
78872846548 0 063011 860 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
80988010606 0 025803 820 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
82470910877 0 025733 852 1088T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
87615315442 0 029603 860 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
10733049306 0 023279 804 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


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

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.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:       |             ^~~~~~~~~~
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 (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.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:       |             ^~~~~~~~~~
encrypt.c: encrypt.c: In function 'mix':
encrypt.c: encrypt.c:282:9: warning: 'ab' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.c:   282 |         rol(ab, ab, s);
encrypt.c:       |         ^~~~~~~~~~~~~~
encrypt.c: encrypt.c:262:6: note: by argument 2 of type 'const unsigned char *' to 'rol' declared here
encrypt.c:   262 | void rol(unsigned char* out, const unsigned char* in, unsigned int s)
encrypt.c:       |      ^~~
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: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.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 (11.4.0)