Implementation notes: armeabi, bblack, crypto_stream/speck128256ctr

Computer: bblack
Microarchitecture: armeabi; Cortex-A8 (413fc082)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_stream
Primitive: speck128256ctr

Compiler output


stream.c: In file included from stream.c:20:
stream.c: In file included from ./Speck128256NEON.h:16:
stream.c: In file included from ./Intrinsics_NEON_128block.h:5:
stream.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:28:2: error: "NEON support not enabled"
stream.c: #error "NEON support not enabled"
stream.c:  ^
stream.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:48:24: error: 'neon_vector_type' attribute is not supported for this target
stream.c: typedef __attribute__((neon_vector_type(8))) int8_t int8x8_t;
stream.c:                        ^
stream.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:49:24: error: 'neon_vector_type' attribute is not supported for this target
stream.c: typedef __attribute__((neon_vector_type(16))) int8_t int8x16_t;
stream.c:                        ^
stream.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:50:24: error: 'neon_vector_type' attribute is not supported for this target
stream.c: typedef __attribute__((neon_vector_type(4))) int16_t int16x4_t;
stream.c:                        ^
stream.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:51:24: error: 'neon_vector_type' attribute is not supported for this target
stream.c: typedef __attribute__((neon_vector_type(8))) int16_t int16x8_t;
stream.c:                        ^
stream.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:52:24: error: 'neon_vector_type' attribute is not supported for this target
stream.c: typedef __attribute__((neon_vector_type(2))) int32_t int32x2_t;
stream.c:                        ^
stream.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:53:24: error: 'neon_vector_type' attribute is not supported for this target
stream.c: typedef __attribute__((neon_vector_type(4))) int32_t int32x4_t;
stream.c:                        ^
stream.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:54:24: error: 'neon_vector_type' attribute is not supported for this target
stream.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:neonclang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:neonclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:neonclang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:neonclang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


stream.c: stream.c:115: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:115: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:119: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 (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:neonclang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


stream.c: In file included from Intrinsics_NEON_128block.h:5,
stream.c:                  from Speck128256NEON.h:16,
stream.c:                  from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:642:1: error: inlining failed in call to always_inline 'vaddq_u64': target specific option mismatch
stream.c:  vaddq_u64 (uint64x2_t __a, uint64x2_t __b)
stream.c:  ^~~~~~~~~
stream.c: In file included from Speck128256NEON.h:16,
stream.c:                  from stream.c:20:
stream.c: Intrinsics_NEON_128block.h:18:13: note: called from here
stream.c:  #define ADD vaddq_u64
stream.c:              ^
stream.c: Intrinsics_NEON_128block.h:24:33: note: in expansion of macro 'ADD'
stream.c:  #define SET2(X,c) (SET1(X,c), X=ADD(X,SET(0x1,0x0)),c+=2)
stream.c:                                  ^~~
stream.c: stream.c:115:24: note: in expansion of macro 'SET2'
stream.c:    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 Speck128256NEON.h:16,
stream.c:                  from stream.c:20:
stream.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:7199:1: error: inlining failed in call to always_inline 'vcombine_u64': target specific option mismatch
stream.c:  vcombine_u64 (uint64x1_t __a, uint64x1_t __b)
stream.c:  ^~~~~~~~~~~~
stream.c: In file included from Speck128256NEON.h:16,
stream.c: ...

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