Implementation notes: armeabi, bblack, crypto_aead/iscream14v1

Computer: bblack
Microarchitecture: armeabi; Cortex-A8 (413fc082)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_aead
Primitive: iscream14v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
13961526616 1024 037711 1436 792T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050720240425
15006007944 1024 023378 1484 776T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050720240425
15535128232 1024 030631 1436 784T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050720240425
15536407752 1024 032951 1436 776T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050720240425
15536807752 1024 032951 1436 776T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050720240425
20690364124 1024 027477 1432 776T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024050720240425
26064682480 1024 016894 1484 776T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050720240425
27994602144 1024 015850 1476 776T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050720240425
29159562378 1024 017246 1484 776T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024050720240425

Compiler output


iscream.c: In file included from iscream.c:10:
iscream.c: In file included from ./tae.h:7:
iscream.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:28:2: error: "NEON support not enabled"
iscream.c: #error "NEON support not enabled"
iscream.c:  ^
iscream.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
iscream.c: typedef __attribute__((neon_vector_type(8))) int8_t int8x8_t;
iscream.c:                        ^
iscream.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
iscream.c: typedef __attribute__((neon_vector_type(16))) int8_t int8x16_t;
iscream.c:                        ^
iscream.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
iscream.c: typedef __attribute__((neon_vector_type(4))) int16_t int16x4_t;
iscream.c:                        ^
iscream.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
iscream.c: typedef __attribute__((neon_vector_type(8))) int16_t int16x8_t;
iscream.c:                        ^
iscream.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
iscream.c: typedef __attribute__((neon_vector_type(2))) int32_t int32x2_t;
iscream.c:                        ^
iscream.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
iscream.c: typedef __attribute__((neon_vector_type(4))) int32_t int32x4_t;
iscream.c:                        ^
iscream.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
iscream.c: typedef __attribute__((neon_vector_type(1))) int64_t int64x1_t;
iscream.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


iscream.c: iscream.c:181:10: error: use of unknown builtin '__builtin_shuffle' [-Wimplicit-function-declaration]
iscream.c:     A  = __builtin_shuffle(table, t0);
iscream.c:          ^
iscream.c: iscream.c:181:8: error: assigning to 'v16qu' (aka 'uint8x16_t') from incompatible type 'int'
iscream.c:     A  = __builtin_shuffle(table, t0);
iscream.c:        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:182:8: error: assigning to 'v16qu' (aka 'uint8x16_t') from incompatible type 'int'
iscream.c:     C  = __builtin_shuffle(table, t1);
iscream.c:        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:186:8: error: assigning to 'v16qu' (aka 'uint8x16_t') from incompatible type 'int'
iscream.c:     B  = __builtin_shuffle(table, t0);
iscream.c:        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:187:8: error: assigning to 'v16qu' (aka 'uint8x16_t') from incompatible type 'int'
iscream.c:     D  = __builtin_shuffle(table, t1);
iscream.c:        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:191:7: error: cannot convert between scalar type 'int' and vector type 'v16qu' (aka 'uint8x16_t') as implicit conversion would cause truncation
iscream.c:     A ^= __builtin_shuffle(table, in[0]);
iscream.c:       ^
iscream.c: iscream.c:192:7: error: cannot convert between scalar type 'int' and vector type 'v16qu' (aka 'uint8x16_t') as implicit conversion would cause truncation
iscream.c:     C ^= __builtin_shuffle(table, in[2]);
iscream.c:       ^
iscream.c: iscream.c:196:7: error: cannot convert between scalar type 'int' and vector type 'v16qu' (aka 'uint8x16_t') as implicit conversion would cause truncation
iscream.c:     B ^= __builtin_shuffle(table, in[0]);
iscream.c:       ^
iscream.c: iscream.c:197:7: error: cannot convert between scalar type 'int' and vector type 'v16qu' (aka 'uint8x16_t') as implicit conversion would cause truncation
iscream.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


iscream.c: In file included from tae.h:7,
iscream.c:                  from iscream.c:10:
iscream.c: helper.h: In function 'write128':
iscream.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:9852:1: error: inlining failed in call to always_inline 'vzipq_u8': target specific option mismatch
iscream.c:  vzipq_u8 (uint8x16_t __a, uint8x16_t __b)
iscream.c:  ^~~~~~~~
iscream.c: In file included from iscream.c:13:
iscream.c: helper.h:10:24: note: called from here
iscream.c:      uint8x16x2_t c__ = vzipq_u8 (X(i), X(j));       \
iscream.c:                         ^~~~~~~~~~~~~~~~~~~~~
iscream.c: helper.h:49:3: note: in expansion of macro 'INTERLEAVE'
iscream.c:    INTERLEAVE(14, 15);
iscream.c:    ^~~~~~~~~~
iscream.c: In file included from tae.h:7,
iscream.c:                  from iscream.c:10:
iscream.c: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:9852:1: error: inlining failed in call to always_inline 'vzipq_u8': target specific option mismatch
iscream.c:  vzipq_u8 (uint8x16_t __a, uint8x16_t __b)
iscream.c:  ^~~~~~~~
iscream.c: In file included from iscream.c:13:
iscream.c: helper.h:10:24: note: called from here
iscream.c:      uint8x16x2_t c__ = vzipq_u8 (X(i), X(j));       \
iscream.c:                         ^~~~~~~~~~~~~~~~~~~~~
iscream.c: helper.h:48:3: note: in expansion of macro 'INTERLEAVE'
iscream.c:    INTERLEAVE(12, 13);
iscream.c:    ^~~~~~~~~~
iscream.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)

Compiler output


iscream.c: iscream.c:198:5: error: invalid output constraint '=x' in asm
iscream.c:     READ(tables[0], table);
iscream.c:     ^
iscream.c: iscream.c:193:18: note: expanded from macro 'READ'
iscream.c:           [data] "=x" (x):                                              \
iscream.c:                  ^
iscream.c: iscream.c:200:10: error: use of unknown builtin '__builtin_ia32_psrldi128' [-Wimplicit-function-declaration]
iscream.c:     t0 = shift_right(in[0]) & V(0xf);
iscream.c:          ^
iscream.c: iscream.c:17:32: note: expanded from macro 'shift_right'
iscream.c: #define shift_right(x) ((v16qi)__builtin_ia32_psrldi128((v4si)x, 4))
iscream.c:                                ^
iscream.c: iscream.c:200:10: error: invalid conversion between vector type 'v16qi' (vector of 16 'char' values) and integer type 'int' of different size
iscream.c:     t0 = shift_right(in[0]) & V(0xf);
iscream.c:          ^~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:17:25: note: expanded from macro 'shift_right'
iscream.c: #define shift_right(x) ((v16qi)__builtin_ia32_psrldi128((v4si)x, 4))
iscream.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:201:10: error: invalid conversion between vector type 'v16qi' (vector of 16 'char' values) and integer type 'int' of different size
iscream.c:     t1 = shift_right(in[2]) & V(0xf);
iscream.c:          ^~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:17:25: note: expanded from macro 'shift_right'
iscream.c: #define shift_right(x) ((v16qi)__builtin_ia32_psrldi128((v4si)x, 4))
iscream.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:203:10: error: use of unknown builtin '__builtin_ia32_pshufb128' [-Wimplicit-function-declaration]
iscream.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:sseclang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:sseclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:sseclang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:sseclang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:sseclang -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


iscream.c: iscream.c: In function 'LBox16P':
iscream.c: iscream.c:17:32: warning: implicit declaration of function '__builtin_ia32_psrldi128'; did you mean '__builtin_fabsd128'? [-Wimplicit-function-declaration]
iscream.c:  #define shift_right(x) ((v16qi)__builtin_ia32_psrldi128((v4si)x, 4))
iscream.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:200:10: note: in expansion of macro 'shift_right'
iscream.c:      t0 = shift_right(in[0]) & V(0xf);
iscream.c:           ^~~~~~~~~~~
iscream.c: iscream.c:200:5: error: can't convert a value of type 'int' to vector type '__vector(16) char' which has different size
iscream.c:      t0 = shift_right(in[0]) & V(0xf);
iscream.c:      ^~
iscream.c: iscream.c:201:5: error: can't convert a value of type 'int' to vector type '__vector(16) char' which has different size
iscream.c:      t1 = shift_right(in[2]) & V(0xf);
iscream.c:      ^~
iscream.c: iscream.c:203:10: warning: implicit declaration of function '__builtin_ia32_pshufb128'; did you mean '__builtin_isinfd128'? [-Wimplicit-function-declaration]
iscream.c:      A  = __builtin_ia32_pshufb128(table, t0);
iscream.c:           ^~~~~~~~~~~~~~~~~~~~~~~~
iscream.c:           __builtin_isinfd128
iscream.c: iscream.c:203:8: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
iscream.c:      A  = __builtin_ia32_pshufb128(table, t0);
iscream.c:         ^
iscream.c: iscream.c:204:8: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
iscream.c:      C  = __builtin_ia32_pshufb128(table, t1);
iscream.c:         ^
iscream.c: iscream.c:208:8: error: incompatible types when assigning to type 'v16qi' {aka '__vector(16) char'} from type 'int'
iscream.c:      B  = __builtin_ia32_pshufb128(table, t0);
iscream.c: ...

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

Namespace violations


iscream_cipher.o Class13 T
iscream_cipher.o LBox1 D
iscream_cipher.o LBox2 D
iscream_cipher.o LS_decrypt T
iscream_cipher.o LS_encrypt T

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