Implementation notes: armeabi, tinker, crypto_aead/scream10v3

Computer: tinker
Microarchitecture: armeabi; Cortex-A17 (410fc0d1)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: scream10v3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
21692722692 0 039581 384 824T:neongcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
22335714276 0 030437 384 824T:neongcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
22660912750 0 025761 376 816T:neongcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
23017914188 0 028973 384 816T:neongcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
6176558272 0 825161 384 832T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
71618310048 0 829550 412 832T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012920240107
9796315602 0 820389 384 824T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
9847084922 0 817929 376 824T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
10919766376 0 822533 384 832T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107

Compiler output

Implementation: T:neon
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
scream.c: In file included from scream.c:10:
scream.c: In file included from ./tae.h:7:
scream.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/arm_neon.h:32:2: error: "NEON support not enabled"
scream.c: #error "NEON support not enabled"
scream.c: ^
scream.c: In file included from scream.c:10:
scream.c: ./tae.h:13:9: error: unknown type name 'uint8x16_t'; did you mean 'uint16_t'?
scream.c: typedef uint8x16_t v16qu;
scream.c: ^~~~~~~~~~
scream.c: uint16_t
scream.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:25:20: note: 'uint16_t' declared here
scream.c: typedef __uint16_t uint16_t;
scream.c: ^
scream.c: In file included from scream.c:13:
scream.c: ./helper.h:15:3: error: unknown type name 'uint8x16x2_t'; did you mean 'uint16_t'?
scream.c: INTERLEAVE( 0, 8);
scream.c: ^
scream.c: ./helper.h:10:5: note: expanded from macro 'INTERLEAVE'
scream.c: uint8x16x2_t c__ = vzipq_u8 (X(i), X(j)); \
scream.c: ^
scream.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:25:20: note: 'uint16_t' declared here
scream.c: typedef __uint16_t uint16_t;
scream.c: ^
scream.c: In file included from scream.c:13:
scream.c: ./helper.h:15:3: warning: implicit declaration of function 'vzipq_u8' is invalid in C99 [-Wimplicit-function-declaration]
scream.c: ...

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

Compiler output

Implementation: T:sse
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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: A = __builtin_ia32_pshufb128(table, t0);
scream.c: ^
scream.c: scream.c:202:10: note: did you mean '__builtin_ia32_psrldi128'?
scream.c: scream.c:199:10: note: '__builtin_ia32_psrldi128' declared here
scream.c: t0 = shift_right(in[0]) & V(0xf);
scream.c: ^
scream.c: ...

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

Compiler output

Implementation: T:sse
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
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: 16 | #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: 199 | t0 = shift_right(in[0]) & V(0xf);
scream.c: | ^~~~~~~~~~~
scream.c: scream.c:199:5: error: cannot convert a value of type ‘int’ to vector type ‘__vector(16) char’ which has different size
scream.c: 199 | t0 = shift_right(in[0]) & V(0xf);
scream.c: | ^~
scream.c: scream.c:200:5: error: cannot convert a value of type ‘int’ to vector type ‘__vector(16) char’ which has different size
scream.c: 200 | t1 = shift_right(in[2]) & V(0xf);
scream.c: | ^~
scream.c: scream.c:202:10: warning: implicit declaration of function ‘__builtin_ia32_pshufb128’; did you mean ‘__builtin_arm_qsub8’? [-Wimplicit-function-declaration]
scream.c: 202 | A = __builtin_ia32_pshufb128(table, t0);
scream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
scream.c: | __builtin_arm_qsub8
scream.c: scream.c:202:10: error: incompatible types when assigning to type ‘v16qi’ {aka ‘__vector(16) char’} from type ‘int’
scream.c: scream.c:203:10: error: incompatible types when assigning to type ‘v16qi’ {aka ‘__vector(16) char’} from type ‘int’
scream.c: 203 | C = __builtin_ia32_pshufb128(table, t1);
scream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:207:10: error: incompatible types when assigning to type ‘v16qi’ {aka ‘__vector(16) char’} from type ‘int’
scream.c: 207 | B = __builtin_ia32_pshufb128(table, t0);
scream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~
scream.c: scream.c:208:10: error: incompatible types when assigning to type ‘v16qi’ {aka ‘__vector(16) char’} from type ‘int’
scream.c: ...

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