Implementation notes: aarch64, pi3bplus, crypto_stream/aes128ctr

Computer: pi3bplus
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20200702
Operation: crypto_stream
Primitive: aes128ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
51218440 0 010231 896 784opensslgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042220200417
51253608 0 012543 912 808opensslgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042220200417
51411344 0 013072 824 800opensslclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042220200417
51536448 0 011223 912 792opensslgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042220200417
51559452 0 011151 912 792opensslgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042220200417

Test failure

Implementation: crypto_stream/aes128ctr/dolbeau/armv8crypto
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 dolbeau/armv8crypto

Compiler output

Implementation: crypto_stream/aes128ctr/cryptopp
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
stream.cpp: stream.cpp:1:10: fatal error: cryptopp/aes.h: No such file or directory
stream.cpp: #include <cryptopp/aes.h>
stream.cpp: ^~~~~~~~~~~~~~~~
stream.cpp: compilation terminated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE cryptopp
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE cryptopp
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE cryptopp
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE cryptopp

Compiler output

Implementation: crypto_stream/aes128ctr/dolbeau/armv8crypto
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/8/include/arm_neon.h:12440:1: error: inlining failed in call to always_inline 'vaesmcq_u8': target specific option mismatch
armv8crypto.c: vaesmcq_u8 (uint8x16_t data)
armv8crypto.c: ^~~~~~~~~~
armv8crypto.c: armv8crypto.c:49:119: note: called from here
armv8crypto.c: 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:49:119: note: in definition of macro 'AESENCx'
armv8crypto.c: 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:105:7: note: in expansion of macro 'MAKE8'
armv8crypto.c: MAKEN(AESENCx); \
armv8crypto.c: ^~~~~
armv8crypto.c: armv8crypto.c:115:1: note: in expansion of macro 'FUNC'
armv8crypto.c: FUNC(8, MAKE8)
armv8crypto.c: ^~~~
armv8crypto.c: In file included from armv8crypto.c:11:
armv8crypto.c: /usr/lib/gcc/aarch64-linux-gnu/8/include/arm_neon.h:12426:1: error: inlining failed in call to always_inline 'vaeseq_u8': target specific option mismatch
armv8crypto.c: vaeseq_u8 (uint8x16_t data, uint8x16_t key)
armv8crypto.c: ^~~~~~~~~
armv8crypto.c: armv8crypto.c:49:14: note: called from here
armv8crypto.c: 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:74: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 dolbeau/armv8crypto
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE dolbeau/armv8crypto
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE dolbeau/armv8crypto
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE dolbeau/armv8crypto