Implementation notes: aarch64, pi4b, crypto_stream/aes256ctr

Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240107
Operation: crypto_stream
Primitive: aes256ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4152120364 2800 01643327 145185 15128T:cryptoppg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
4159117642 2800 01648989 145185 15128T:cryptoppg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
4177122163 2800 01646199 145169 15128T:cryptoppg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
419039643 3272 01640132 146241 15112T:cryptoppg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
85294636 0 012730 888 792T:opensslgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
85302616 0 012754 888 792T:opensslgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
85310604 0 011666 872 784T:opensslgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
85347800 0 013874 888 800T:opensslgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
85628460 0 014553 896 792T:opensslclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122420231222

Test failure

Implementation: T:dolbeau/armv8crypto
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 111

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:dolbeau/armv8crypto

Compiler output

Implementation: T:dolbeau/armv8crypto
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
armv8crypto.c: In file included from armv8crypto.c:11:
armv8crypto.c: armv8crypto.c: In function 'aesni_encrypt8':
armv8crypto.c: /usr/lib/gcc/aarch64-linux-gnu/11/include/arm_neon.h:10913:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
armv8crypto.c: 10913 | vaesmcq_u8 (uint8x16_t data)
armv8crypto.c: | ^~~~~~~~~~
armv8crypto.c: armv8crypto.c:125:119: note: called from here
armv8crypto.c: 125 | temp##a = vreinterpretq_u32_u8(vaeseq_u8(vreinterpretq_u8_u32(temp##a), vreinterpretq_u8_u32(rkeys[i])));temp##a = vreinterpretq_u32_u8(vaesmcq_u8(vreinterpretq_u8_u32(temp##a)))
armv8crypto.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:125:119: note: in definition of macro 'AESENCx'
armv8crypto.c: 125 | temp##a = vreinterpretq_u32_u8(vaeseq_u8(vreinterpretq_u8_u32(temp##a), vreinterpretq_u8_u32(rkeys[i])));temp##a = vreinterpretq_u32_u8(vaesmcq_u8(vreinterpretq_u8_u32(temp##a)))
armv8crypto.c: | ^~~~~~~~~~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:181:7: note: in expansion of macro 'MAKE8'
armv8crypto.c: 181 | MAKEN(AESENCx); \
armv8crypto.c: | ^~~~~
armv8crypto.c: armv8crypto.c:191:1: note: in expansion of macro 'FUNC'
armv8crypto.c: 191 | FUNC(8, MAKE8)
armv8crypto.c: | ^~~~
armv8crypto.c: In file included from armv8crypto.c:11:
armv8crypto.c: /usr/lib/gcc/aarch64-linux-gnu/11/include/arm_neon.h:10899:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
armv8crypto.c: 10899 | vaeseq_u8 (uint8x16_t data, uint8x16_t key)
armv8crypto.c: | ^~~~~~~~~
armv8crypto.c: armv8crypto.c:125:14: note: called from here
armv8crypto.c: 125 | temp##a = vreinterpretq_u32_u8(vaeseq_u8(vreinterpretq_u8_u32(temp##a), vreinterpretq_u8_u32(rkeys[i])));temp##a = vreinterpretq_u32_u8(vaesmcq_u8(vreinterpretq_u8_u32(temp##a)))
armv8crypto.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:150:18: note: in expansion of macro 'AESENCx'
armv8crypto.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:dolbeau/armv8crypto
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:dolbeau/armv8crypto
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:dolbeau/armv8crypto
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:dolbeau/armv8crypto