Implementation notes: armeabi, odroid, crypto_aead/scream10v3

Computer: odroid
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: scream10v3
TimeImplementationCompilerBenchmark dateSUPERCOP version
590986neongcc -mcpu=native -mfpu=neon -O -fomit-frame-pointer -fwrapv2016082420160806
612395neongcc -mcpu=native -mfpu=neon -Os -fomit-frame-pointer -fwrapv2016082420160806
644271neongcc -mcpu=native -mfpu=neon -O2 -fomit-frame-pointer -fwrapv2016082420160806
810459neongcc -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv2016082420160806
956498refgcc -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv2016082420160806
1137105refclang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016082420160806
1508170refgcc -mcpu=native -mfpu=neon -O2 -fomit-frame-pointer -fwrapv2016082420160806
1677582refgcc -mcpu=native -mfpu=neon -O -fomit-frame-pointer -fwrapv2016082420160806
1766061refgcc -mcpu=native -mfpu=neon -Os -fomit-frame-pointer -fwrapv2016082420160806

Compiler output

Implementation: crypto_aead/scream10v3/sse
Compiler: clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
scream.c: scream.c:197:5: error: invalid output constraint '=x' in asm
scream.c: READ(tables[0], table);
scream.c: ^
scream.c: scream.c:192:18: note: expanded from macro 'READ'
scream.c: [data] "=x" (x): \
scream.c: ^
scream.c: scream.c:199:10: error: use of unknown builtin '__builtin_ia32_psrldi128' [-Wimplicit-function-declaration]
scream.c: t0 = shift_right(in[0]) & V(0xf);
scream.c: ^
scream.c: scream.c:16:32: note: expanded from macro 'shift_right'
scream.c: #define shift_right(x) ((v16qi)__builtin_ia32_psrldi128((v4si)x, 4))
scream.c: ^
scream.c: scream.c:199:10: error: invalid conversion between vector type 'v16qi' (vector of 16 'char' values) and integer type 'int' of different size
scream.c: t0 = shift_right(in[0]) & V(0xf);
scream.c: ^~~~~~~~~~~~~~~~~~
scream.c: scream.c:16:25: note: expanded from macro 'shift_right'
scream.c: #define shift_right(x) ((v16qi)__builtin_ia32_psrldi128((v4si)x, 4))
scream.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:200:10: error: invalid conversion between vector type 'v16qi' (vector of 16 'char' values) and integer type 'int' of different size
scream.c: t1 = shift_right(in[2]) & V(0xf);
scream.c: ^~~~~~~~~~~~~~~~~~
scream.c: scream.c:16:25: note: expanded from macro 'shift_right'
scream.c: #define shift_right(x) ((v16qi)__builtin_ia32_psrldi128((v4si)x, 4))
scream.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:202:10: error: use of unknown builtin '__builtin_ia32_pshufb128' [-Wimplicit-function-declaration]
scream.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments sse

Compiler output

Implementation: crypto_aead/scream10v3/neon
Compiler: clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
scream.c: scream.c:206:10: error: use of unknown builtin '__builtin_shuffle' [-Wimplicit-function-declaration]
scream.c: A = __builtin_shuffle(table, t0);
scream.c: ^
scream.c: scream.c:206:8: error: assigning to 'v16qu' (aka 'uint8x16_t') from incompatible type 'int'
scream.c: A = __builtin_shuffle(table, t0);
scream.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:207:8: error: assigning to 'v16qu' (aka 'uint8x16_t') from incompatible type 'int'
scream.c: C = __builtin_shuffle(table, t1);
scream.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:211:8: error: assigning to 'v16qu' (aka 'uint8x16_t') from incompatible type 'int'
scream.c: B = __builtin_shuffle(table, t0);
scream.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:212:8: error: assigning to 'v16qu' (aka 'uint8x16_t') from incompatible type 'int'
scream.c: D = __builtin_shuffle(table, t1);
scream.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:216:7: error: cannot convert between vector values of different size ('v16qu' (aka 'uint8x16_t') and 'int')
scream.c: A ^= __builtin_shuffle(table, in[0]);
scream.c: ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:217:7: error: cannot convert between vector values of different size ('v16qu' (aka 'uint8x16_t') and 'int')
scream.c: C ^= __builtin_shuffle(table, in[2]);
scream.c: ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:221:7: error: cannot convert between vector values of different size ('v16qu' (aka 'uint8x16_t') and 'int')
scream.c: B ^= __builtin_shuffle(table, in[0]);
scream.c: ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:222:7: error: cannot convert between vector values of different size ('v16qu' (aka 'uint8x16_t') and 'int')
scream.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments neon

Compiler output

Implementation: crypto_aead/scream10v3/sse
Compiler: gcc -mcpu=native -mfpu=neon -O2 -fomit-frame-pointer -fwrapv
scream.c: scream.c: In function 'LBox16P':
scream.c: scream.c:16:32: warning: implicit declaration of function '__builtin_ia32_psrldi128' [-Wimplicit-function-declaration]
scream.c: #define shift_right(x) ((v16qi)__builtin_ia32_psrldi128((v4si)x, 4))
scream.c: ^
scream.c: scream.c:199:10: note: in expansion of macro 'shift_right'
scream.c: t0 = shift_right(in[0]) & V(0xf);
scream.c: ^~~~~~~~~~~
scream.c: scream.c:199:5: error: can't convert a value of type 'int' to vector type '__vector(16) char' which has different size
scream.c: t0 = shift_right(in[0]) & V(0xf);
scream.c: ^~
scream.c: scream.c:200:5: error: can't convert a value of type 'int' to vector type '__vector(16) char' which has different size
scream.c: t1 = shift_right(in[2]) & V(0xf);
scream.c: ^~
scream.c: scream.c:202:10: warning: implicit declaration of function '__builtin_ia32_pshufb128' [-Wimplicit-function-declaration]
scream.c: A = __builtin_ia32_pshufb128(table, t0);
scream.c: ^~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:202:8: error: incompatible types when assigning to type 'v16qi {aka __vector(16) char}' from type 'int'
scream.c: A = __builtin_ia32_pshufb128(table, t0);
scream.c: ^
scream.c: scream.c:203:8: error: incompatible types when assigning to type 'v16qi {aka __vector(16) char}' from type 'int'
scream.c: C = __builtin_ia32_pshufb128(table, t1);
scream.c: ^
scream.c: scream.c:207:8: error: incompatible types when assigning to type 'v16qi {aka __vector(16) char}' from type 'int'
scream.c: B = __builtin_ia32_pshufb128(table, t0);
scream.c: ^
scream.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -mcpu=native -mfpu=neon -O2 -fomit-frame-pointer -fwrapv sse
gcc -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv sse
gcc -mcpu=native -mfpu=neon -O -fomit-frame-pointer -fwrapv sse
gcc -mcpu=native -mfpu=neon -Os -fomit-frame-pointer -fwrapv sse