Implementation notes: armeabi, novena, crypto_stream/speck64128ctr

Computer: novena
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20220506
Operation: crypto_stream
Primitive: speck64128ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2200226920 0 049033 424 760T:neonclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060520220506

Compiler output

Implementation: T:neon
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
stream.c: In file included from stream.c:20:
stream.c: In file included from ./Speck64128NEON.h:16:
stream.c: In file included from ./Intrinsics_NEON_64block.h:5:
stream.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/arm_neon.h:32:2: error: "NEON support not enabled"
stream.c: #error "NEON support not enabled"
stream.c: ^
stream.c: stream.c:22:84: error: unknown type name 'uint32x4_t'; did you mean 'uint32_t'?
stream.c: inline __attribute__((always_inline)) int Encrypt(unsigned char *out, u32 nonce[], u128 rk[], u32 key[], int numbytes);
stream.c: ^~~~
stream.c: uint32_t
stream.c: ./Intrinsics_NEON_64block.h:10:14: note: expanded from macro 'u128'
stream.c: #define u128 uint32x4_t
stream.c: ^
stream.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:26:20: note: 'uint32_t' declared here
stream.c: typedef __uint32_t uint32_t;
stream.c: ^
stream.c: stream.c:23:113: error: unknown type name 'uint32x4_t'; did you mean 'uint32_t'?
stream.c: inline __attribute__((always_inline)) int Encrypt_Xor(unsigned char *out, const unsigned char *in, u32 nonce[], u128 rk[], u32 key[], int numbytes);
stream.c: ^~~~
stream.c: uint32_t
stream.c: ./Intrinsics_NEON_64block.h:10:14: note: expanded from macro 'u128'
stream.c: #define u128 uint32x4_t
stream.c: ^
stream.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:26:20: note: 'uint32_t' declared here
stream.c: typedef __uint32_t uint32_t;
stream.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:neon
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:neon
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:neon
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:neon

Compiler output

Implementation: T:neon
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
stream.c: In file included from Intrinsics_NEON_64block.h:5,
stream.c: from Speck64128NEON.h:16,
stream.c: from stream.c:20:
stream.c: stream.c: In function ‘Encrypt’:
stream.c: /usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h:651:1: error: inlining failed in call to ‘always_inline’ ‘vaddq_u32’: target specific option mismatch
stream.c: 651 | vaddq_u32 (uint32x4_t __a, uint32x4_t __b)
stream.c: | ^~~~~~~~~
stream.c: In file included from Speck64128NEON.h:16,
stream.c: from stream.c:20:
stream.c: Intrinsics_NEON_64block.h:17:13: note: called from here
stream.c: 17 | #define ADD vaddq_u32
stream.c: | ^
stream.c: Intrinsics_NEON_64block.h:23:33: note: in expansion of macro ‘ADD’
stream.c: 23 | #define SET4(X,c) (SET1(X,c), X=ADD(X,SET(0x0000000200000000LL,0x0000000300000001LL)),c+=4)
stream.c: | ^~~
stream.c: stream.c:129:24: note: in expansion of macro ‘SET4’
stream.c: 129 | SET1(X[0],nonce[1]); SET4(Y[0],nonce[0]);
stream.c: | ^~~~
stream.c: In file included from Intrinsics_NEON_64block.h:5,
stream.c: from Speck64128NEON.h:16,
stream.c: from stream.c:20:
stream.c: /usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h:7196:1: error: inlining failed in call to ‘always_inline’ ‘vcombine_u32’: target specific option mismatch
stream.c: 7196 | vcombine_u32 (uint32x2_t __a, uint32x2_t __b)
stream.c: | ^~~~~~~~~~~~
stream.c: In file included from Speck64128NEON.h:16,
stream.c: ...

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