Implementation notes: armeabi, novena, crypto_stream/speck128128ctr

Computer: novena
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20220506
Operation: crypto_stream
Primitive: speck128128ctr

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 ./Speck128128NEON.h:16:
stream.c: In file included from ./Intrinsics_NEON_128block.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 'uint64x2_t'; did you mean 'uint64_t'?
stream.c: inline __attribute__((always_inline)) int Encrypt(unsigned char *out, u64 nonce[], u128 rk[], u64 key[], int numbytes);
stream.c: ^~~~
stream.c: uint64_t
stream.c: ./Intrinsics_NEON_128block.h:11:14: note: expanded from macro 'u128'
stream.c: #define u128 uint64x2_t
stream.c: ^
stream.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:27:20: note: 'uint64_t' declared here
stream.c: typedef __uint64_t uint64_t;
stream.c: ^
stream.c: stream.c:23:113: error: unknown type name 'uint64x2_t'; did you mean 'uint64_t'?
stream.c: inline __attribute__((always_inline)) int Encrypt_Xor(unsigned char *out, const unsigned char *in, u64 nonce[], u128 rk[], u64 key[], int numbytes);
stream.c: ^~~~
stream.c: uint64_t
stream.c: ./Intrinsics_NEON_128block.h:11:14: note: expanded from macro 'u128'
stream.c: #define u128 uint64x2_t
stream.c: ^
stream.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:27:20: note: 'uint64_t' declared here
stream.c: typedef __uint64_t uint64_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: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
stream.c: stream.c:112:24: error: invalid conversion between vector type 'uint64x1_t' (vector of 1 'uint64_t' value) and integer type 'int' of different size
stream.c: SET1(X[0],nonce[1]); SET2(Y[0],nonce[0]);
stream.c: ^~~~~~~~~~~~~~~~~~~
stream.c: ./Intrinsics_NEON_128block.h:24:39: note: expanded from macro 'SET2'
stream.c: #define SET2(X,c) (SET1(X,c), X=ADD(X,SET(0x1,0x0)),c+=2)
stream.c: ^~~~~~~~~~~~
stream.c: ./Intrinsics_NEON_128block.h:22:31: note: expanded from macro 'SET'
stream.c: #define SET(a,b) vcombine_u64((uint64x1_t)(a),(uint64x1_t)(b))
stream.c: ^~~~~~~~~~~~~~~
stream.c: stream.c:112:24: error: invalid conversion between vector type 'uint64x1_t' (vector of 1 'uint64_t' value) and integer type 'int' of different size
stream.c: SET1(X[0],nonce[1]); SET2(Y[0],nonce[0]);
stream.c: ^~~~~~~~~~~~~~~~~~~
stream.c: ./Intrinsics_NEON_128block.h:24:39: note: expanded from macro 'SET2'
stream.c: #define SET2(X,c) (SET1(X,c), X=ADD(X,SET(0x1,0x0)),c+=2)
stream.c: ^~~~~~~~~~~~
stream.c: ./Intrinsics_NEON_128block.h:22:47: note: expanded from macro 'SET'
stream.c: #define SET(a,b) vcombine_u64((uint64x1_t)(a),(uint64x1_t)(b))
stream.c: ^~~~~~~~~~~~~~~
stream.c: stream.c:116:16: error: invalid conversion between vector type 'uint64x1_t' (vector of 1 'uint64_t' value) and integer type 'int' of different size
stream.c: X[1]=X[0]; SET2(Y[1],nonce[0]);
stream.c: ^~~~~~~~~~~~~~~~~~~
stream.c: ./Intrinsics_NEON_128block.h:24:39: note: expanded from macro 'SET2'
stream.c: #define SET2(X,c) (SET1(X,c), X=ADD(X,SET(0x1,0x0)),c+=2)
stream.c: ^~~~~~~~~~~~
stream.c: ./Intrinsics_NEON_128block.h:22:31: note: expanded from macro 'SET'
stream.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -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_128block.h:5,
stream.c: from Speck128128NEON.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:658:1: error: inlining failed in call to ‘always_inline’ ‘vaddq_u64’: target specific option mismatch
stream.c: 658 | vaddq_u64 (uint64x2_t __a, uint64x2_t __b)
stream.c: | ^~~~~~~~~
stream.c: In file included from Speck128128NEON.h:16,
stream.c: from stream.c:20:
stream.c: Intrinsics_NEON_128block.h:18:13: note: called from here
stream.c: 18 | #define ADD vaddq_u64
stream.c: | ^
stream.c: Intrinsics_NEON_128block.h:24:33: note: in expansion of macro ‘ADD’
stream.c: 24 | #define SET2(X,c) (SET1(X,c), X=ADD(X,SET(0x1,0x0)),c+=2)
stream.c: | ^~~
stream.c: stream.c:112:24: note: in expansion of macro ‘SET2’
stream.c: 112 | SET1(X[0],nonce[1]); SET2(Y[0],nonce[0]);
stream.c: | ^~~~
stream.c: In file included from Intrinsics_NEON_128block.h:5,
stream.c: from Speck128128NEON.h:16,
stream.c: from stream.c:20:
stream.c: /usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h:7203:1: error: inlining failed in call to ‘always_inline’ ‘vcombine_u64’: target specific option mismatch
stream.c: 7203 | vcombine_u64 (uint64x1_t __a, uint64x1_t __b)
stream.c: | ^~~~~~~~~~~~
stream.c: In file included from Speck128128NEON.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