Implementation notes: amd64, margaux, crypto_aead/aescopav1

Computer: margaux
Microarchitecture: amd64; Core 2 65nm (6fb)
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: aescopav1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
105017046548 0 062995 860 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
105470010798 0 024277 852 1024T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
106341113256 0 028940 828 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
106910647488 0 063987 860 1024T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
107141746613 0 062011 860 1024T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
109083610456 0 025683 820 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
110421915574 0 029891 860 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
112348938016 0 054860 828 1088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
12857209364 0 023311 804 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625

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)