Implementation notes: armeabi, bblack, crypto_aead/scream10v1
Computer: bblack
Microarchitecture: armeabi; Cortex-A8 (413fc082)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_aead
Primitive: scream10v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
802800 | 9348 0 0 | 24786 460 776 | T:ref | gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE | 20240510 | 20240425 |
922708 | 8792 0 0 | 39895 412 792 | T:ref | clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE | 20240510 | 20240425 |
945208 | 9944 0 0 | 32351 412 784 | T:ref | clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE | 20240510 | 20240425 |
945248 | 9464 0 0 | 34671 412 776 | T:ref | clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE | 20240510 | 20240425 |
945332 | 9464 0 0 | 34671 412 776 | T:ref | clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE | 20240510 | 20240425 |
1503768 | 5368 0 0 | 19782 460 776 | T:ref | gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE | 20240510 | 20240425 |
1510932 | 4936 0 0 | 19962 452 776 | T:ref | gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE | 20240510 | 20240425 |
1617264 | 6296 0 0 | 29653 408 776 | T:ref | clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE | 20240510 | 20240425 |
1729216 | 5178 0 0 | 20046 460 776 | T:ref | gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE | 20240510 | 20240425 |
Compiler output
scream.c: In file included from scream.c:10:
scream.c: In file included from ./tae.h:7:
scream.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:28:2: error: "NEON support not enabled"
scream.c: #error "NEON support not enabled"
scream.c: ^
scream.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
scream.c: typedef __attribute__((neon_vector_type(8))) int8_t int8x8_t;
scream.c: ^
scream.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
scream.c: typedef __attribute__((neon_vector_type(16))) int8_t int8x16_t;
scream.c: ^
scream.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
scream.c: typedef __attribute__((neon_vector_type(4))) int16_t int16x4_t;
scream.c: ^
scream.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
scream.c: typedef __attribute__((neon_vector_type(8))) int16_t int16x8_t;
scream.c: ^
scream.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
scream.c: typedef __attribute__((neon_vector_type(2))) int32_t int32x2_t;
scream.c: ^
scream.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
scream.c: typedef __attribute__((neon_vector_type(4))) int32_t int32x4_t;
scream.c: ^
scream.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
scream.c: typedef __attribute__((neon_vector_type(1))) int64_t int64x1_t;
scream.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:neon | clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:neon | clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:neon | clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:neon | clang -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
scream.c: scream.c:189:10: error: use of unknown builtin '__builtin_shuffle' [-Wimplicit-function-declaration]
scream.c: A = __builtin_shuffle(table, t0);
scream.c: ^
scream.c: scream.c:189: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:190: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:194: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:195: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:199:7: error: cannot convert between scalar type 'int' and vector type 'v16qu' (aka 'uint8x16_t') as implicit conversion would cause truncation
scream.c: A ^= __builtin_shuffle(table, in[0]);
scream.c: ^
scream.c: scream.c:200:7: error: cannot convert between scalar type 'int' and vector type 'v16qu' (aka 'uint8x16_t') as implicit conversion would cause truncation
scream.c: C ^= __builtin_shuffle(table, in[2]);
scream.c: ^
scream.c: scream.c:204:7: error: cannot convert between scalar type 'int' and vector type 'v16qu' (aka 'uint8x16_t') as implicit conversion would cause truncation
scream.c: B ^= __builtin_shuffle(table, in[0]);
scream.c: ^
scream.c: scream.c:205:7: error: cannot convert between scalar type 'int' and vector type 'v16qu' (aka 'uint8x16_t') as implicit conversion would cause truncation
scream.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:neon | clang -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
scream.c: In file included from tae.h:7,
scream.c: from scream.c:10:
scream.c: helper.h: In function 'write128':
scream.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
scream.c: vzipq_u8 (uint8x16_t __a, uint8x16_t __b)
scream.c: ^~~~~~~~
scream.c: In file included from scream.c:13:
scream.c: helper.h:10:24: note: called from here
scream.c: uint8x16x2_t c__ = vzipq_u8 (X(i), X(j)); \
scream.c: ^~~~~~~~~~~~~~~~~~~~~
scream.c: helper.h:49:3: note: in expansion of macro 'INTERLEAVE'
scream.c: INTERLEAVE(14, 15);
scream.c: ^~~~~~~~~~
scream.c: In file included from tae.h:7,
scream.c: from scream.c:10:
scream.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
scream.c: vzipq_u8 (uint8x16_t __a, uint8x16_t __b)
scream.c: ^~~~~~~~
scream.c: In file included from scream.c:13:
scream.c: helper.h:10:24: note: called from here
scream.c: uint8x16x2_t c__ = vzipq_u8 (X(i), X(j)); \
scream.c: ^~~~~~~~~~~~~~~~~~~~~
scream.c: helper.h:48:3: note: in expansion of macro 'INTERLEAVE'
scream.c: INTERLEAVE(12, 13);
scream.c: ^~~~~~~~~~
scream.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:neon | gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:neon | gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:neon | gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:neon | gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
Compiler output
scream.c: scream.c:180:5: error: invalid output constraint '=x' in asm
scream.c: READ(tables[0], table);
scream.c: ^
scream.c: scream.c:175:18: note: expanded from macro 'READ'
scream.c: [data] "=x" (x): \
scream.c: ^
scream.c: scream.c:182: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:182: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:183: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:185:10: error: use of unknown builtin '__builtin_ia32_pshufb128' [-Wimplicit-function-declaration]
scream.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:sse | clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:sse | clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:sse | clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:sse | clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:sse | clang -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
scream.c: scream.c: In function 'LBox16P':
scream.c: scream.c:16:32: warning: implicit declaration of function '__builtin_ia32_psrldi128'; did you mean '__builtin_fabsd128'? [-Wimplicit-function-declaration]
scream.c: #define shift_right(x) ((v16qi)__builtin_ia32_psrldi128((v4si)x, 4))
scream.c: ^~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:182:10: note: in expansion of macro 'shift_right'
scream.c: t0 = shift_right(in[0]) & V(0xf);
scream.c: ^~~~~~~~~~~
scream.c: scream.c:182: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:183: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:185:10: warning: implicit declaration of function '__builtin_ia32_pshufb128'; did you mean '__builtin_isinfd128'? [-Wimplicit-function-declaration]
scream.c: A = __builtin_ia32_pshufb128(table, t0);
scream.c: ^~~~~~~~~~~~~~~~~~~~~~~~
scream.c: __builtin_isinfd128
scream.c: scream.c:185: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:186: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:190: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: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:sse | gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:sse | gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:sse | gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:sse | gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
Namespace violations
scream_cipher.o LS_decrypt T
scream_cipher.o LS_encrypt T
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final)) |
T:ref | gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:ref | gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:ref | gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |
T:ref | gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0) |