Implementation notes: aarch64, pi4b, crypto_aead/minalpherv11

Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: minalpherv11
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
247008911532 0 026040 848 856T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
27287538076 0 021690 824 864T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
47438406584 0 019130 824 848T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
48787775736 0 017338 808 840T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
63537717276 0 019855 808 848T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808

Compiler output


MinalpherCore.cpp: In file included from MinalpherCore.cpp:33:
MinalpherCore.cpp: define.h:47:12: fatal error: x86intrin.h: No such file or directory
MinalpherCore.cpp:    47 |   #include <x86intrin.h>
MinalpherCore.cpp:       |            ^~~~~~~~~~~~~
MinalpherCore.cpp: compilation terminated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:avx2g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


encrypt.c: encrypt.c:116:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
encrypt.c:   int ret;
encrypt.c:       ^
encrypt.c: 1 warning generated.
minalpher.c: minalpher.c:473:25: warning: variable 'j' set but not used [-Wunused-but-set-variable]
minalpher.c:   unsigned long long i, j, blocknum;
minalpher.c:                         ^
minalpher.c: minalpher.c:560:10: warning: variable 'pad' set but not used [-Wunused-but-set-variable]
minalpher.c:   int d, pad, cnt;
minalpher.c:          ^
minalpher.c: minalpher.c:560:15: warning: variable 'cnt' set but not used [-Wunused-but-set-variable]
minalpher.c:   int d, pad, cnt;
minalpher.c:               ^
minalpher.c: 3 warnings generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


encrypt.c: encrypt.c: In function 'crypto_mac_gen':
encrypt.c: encrypt.c:116:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
encrypt.c:   116 |   int ret;
encrypt.c:       |       ^~~
minalpher.c: minalpher.c: In function 'AEAD_TGEN':
minalpher.c: minalpher.c:473:25: warning: variable 'j' set but not used [-Wunused-but-set-variable]
minalpher.c:   473 |   unsigned long long i, j, blocknum;
minalpher.c:       |                         ^
minalpher.c: minalpher.c: In function 'AEAD_MGEN':
minalpher.c: minalpher.c:560:15: warning: variable 'cnt' set but not used [-Wunused-but-set-variable]
minalpher.c:   560 |   int d, pad, cnt;
minalpher.c:       |               ^~~
minalpher.c: minalpher.c:560:10: warning: variable 'pad' set but not used [-Wunused-but-set-variable]
minalpher.c:   560 |   int d, pad, cnt;
minalpher.c:       |          ^~~

Number of similar (implementation,compiler) pairs: 4, 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)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Namespace violations


encrypt.o crypto_mac_gen T
encrypt.o crypto_mac_verif T
minalpher.o AEAD_DEC T
minalpher.o AEAD_ENC T
minalpher.o MAC_GEN T
minalpher.o MAC_VERIF T

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
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)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)