Implementation notes: armeabi, novenaimx6, crypto_aead/iscream12v2

Computer: novenaimx6
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_aead
Primitive: iscream12v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
8367357068 1024 022022 1500 880refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010420191221
12438706032 1024 026105 1468 880refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010420191221
12450556280 1024 026209 1468 904refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010420191221
1334114? ? ?? ? ?refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010420191221
1391523? ? ?? ? ?refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010420191221
18599284628 1024 023491 1464 880refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010420191221
22387892294 1024 015026 1500 880refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010420191221
24037972516 1024 015146 1500 880refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010420191221

Compiler output

Implementation: neon
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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 vector values of different size ('v16qu' (aka 'uint8x16_t') and 'int')
iscream.c: A ^= __builtin_shuffle(table, in[0]);
iscream.c: ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:192:7: error: cannot convert between vector values of different size ('v16qu' (aka 'uint8x16_t') and 'int')
iscream.c: C ^= __builtin_shuffle(table, in[2]);
iscream.c: ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:196:7: error: cannot convert between vector values of different size ('v16qu' (aka 'uint8x16_t') and 'int')
iscream.c: B ^= __builtin_shuffle(table, in[0]);
iscream.c: ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:197:7: error: cannot convert between vector values of different size ('v16qu' (aka 'uint8x16_t') and 'int')
iscream.c: ...

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

Compiler output

Implementation: neon
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
iscream.c: In file included from tae.h:7:0,
iscream.c: from iscream.c:10:
iscream.c: helper.h: In function 'write128':
iscream.c: /usr/lib/gcc/arm-linux-gnueabihf/6/include/arm_neon.h:8519: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:0:
iscream.c: helper.h:10:18: 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:0,
iscream.c: from iscream.c:10:
iscream.c: /usr/lib/gcc/arm-linux-gnueabihf/6/include/arm_neon.h:8519: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:0:
iscream.c: helper.h:10:18: 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 (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE neon
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE neon
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE neon
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE neon

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
measure.c: fatal error: error in backend: IO failure on output stream.

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
iscream_cipher.c: iscream_cipher.c:118:1: fatal error: error writing to /tmp/cc2Yzguf.s: No space left on device
iscream_cipher.c: }
iscream_cipher.c: ^
iscream_cipher.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Compiler output

Implementation: sse
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
iscream.c: iscream.c:179:5: error: invalid output constraint '=x' in asm
iscream.c: READ(tables[0], table);
iscream.c: ^
iscream.c: iscream.c:174:18: note: expanded from macro 'READ'
iscream.c: [data] "=x" (x): \
iscream.c: ^
iscream.c: iscream.c:181: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:16: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:181: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:16: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:182: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:16: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:184:10: error: use of unknown builtin '__builtin_ia32_pshufb128' [-Wimplicit-function-declaration]
iscream.c: ...

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

Compiler output

Implementation: sse
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
iscream.c: iscream.c: In function 'LBox16P':
iscream.c: iscream.c:16:32: warning: implicit declaration of function '__builtin_ia32_psrldi128' [-Wimplicit-function-declaration]
iscream.c: #define shift_right(x) ((v16qi)__builtin_ia32_psrldi128((v4si)x, 4))
iscream.c: ^
iscream.c: iscream.c:181:10: note: in expansion of macro 'shift_right'
iscream.c: t0 = shift_right(in[0]) & V(0xf);
iscream.c: ^~~~~~~~~~~
iscream.c: iscream.c:181: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:182: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:184:10: warning: implicit declaration of function '__builtin_ia32_pshufb128' [-Wimplicit-function-declaration]
iscream.c: A = __builtin_ia32_pshufb128(table, t0);
iscream.c: ^~~~~~~~~~~~~~~~~~~~~~~~
iscream.c: iscream.c:184: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:185: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:189: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: ^
iscream.c: ...

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

Namespace violations

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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 (compiler,implementation) pairs: 6, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref