Implementation notes: armeabi, novenablue, crypto_aead/aes128otrsv3

Computer: novenablue
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20200702
Operation: crypto_aead
Primitive: aes128otrsv3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3100964404 4392 32014320 4804 1136refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042420200417
31689215824 4392 32027288 4804 1136refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042420200417
3778853186 4392 32012336 4796 1136refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042420200417
39915510338 4392 32025250 4852 1152refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042420200417
39933510338 4392 32025250 4852 1152refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042420200417
39964611430 4392 32028042 4852 1152refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042420200417
40052911490 4392 32028122 4852 1152refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042420200417
4162116570 4392 32020404 4848 1152refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042420200417
4251923520 4392 32013152 4804 1136refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042420200417

Compiler output

Implementation: ni_p7m1
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: In file included from encrypt.c:33:
encrypt.c: In file included from ./otr.h:30:
encrypt.c: In file included from /usr/include/clang/3.5.0/include/x86intrin.h:27:
encrypt.c: /usr/include/clang/3.5.0/include/ia32intrin.h:77:26: error: unknown register name 'flags' in asm
encrypt.c: :"flags"
encrypt.c: ^
encrypt.c: In file included from encrypt.c:33:
encrypt.c: ./otr.h:44:18: error: unknown type name '__m128i'
encrypt.c: typedef ALIGN(16)__m128i block;
encrypt.c: ^
encrypt.c: In file included from encrypt.c:35:
encrypt.c: In file included from ./doubling.h:27:
encrypt.c: ./otr.h:42:23: warning: redefinition of typedef 'uint8' is a C11 feature [-Wtypedef-redefinition]
encrypt.c: typedef unsigned char uint8;
encrypt.c: ^
encrypt.c: ./otr.h:42:23: note: previous definition is here
encrypt.c: typedef unsigned char uint8;
encrypt.c: ^
encrypt.c: In file included from encrypt.c:35:
encrypt.c: In file included from ./doubling.h:27:
encrypt.c: ./otr.h:43:22: warning: redefinition of typedef 'uint32' is a C11 feature [-Wtypedef-redefinition]
encrypt.c: typedef unsigned int uint32;
encrypt.c: ^
encrypt.c: ./otr.h:43:22: note: previous definition is here
encrypt.c: typedef unsigned int uint32;
encrypt.c: ...

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

Compiler output

Implementation: ni_p7m1
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: In file included from encrypt.c:33:0:
encrypt.c: otr.h:30:23: fatal error: x86intrin.h: No such file or directory
encrypt.c: #include <x86intrin.h>
encrypt.c: ^
encrypt.c: compilation terminated.

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

Compiler output

Implementation: ni_p7m2
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: In file included from encrypt.c:33:
encrypt.c: In file included from ./otr.h:30:
encrypt.c: In file included from /usr/include/clang/3.5.0/include/x86intrin.h:27:
encrypt.c: /usr/include/clang/3.5.0/include/ia32intrin.h:77:26: error: unknown register name 'flags' in asm
encrypt.c: :"flags"
encrypt.c: ^
encrypt.c: In file included from encrypt.c:33:
encrypt.c: ./otr.h:44:18: error: unknown type name '__m128i'
encrypt.c: typedef ALIGN(16)__m128i block;
encrypt.c: ^
encrypt.c: encrypt.c:71:15: warning: implicit declaration of function '_mm_loadu_si128' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: kp[0] = x0 = _mm_loadu_si128((block*)userKey);
encrypt.c: ^
encrypt.c: encrypt.c:73:7: warning: implicit declaration of function '_mm_setzero_si128' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: x2 = _mm_setzero_si128();
encrypt.c: ^
encrypt.c: encrypt.c:74:2: warning: implicit declaration of function '_mm_aeskeygenassist_si128' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: EXPAND_ASSIST(x0, x1, x2, x3, 255, 1); kp[2] = x0;
encrypt.c: ^
encrypt.c: encrypt.c:53:10: note: expanded from macro 'EXPAND_ASSIST'
encrypt.c: v2 = _mm_aeskeygenassist_si128(v4,aes_const); \
encrypt.c: ^
encrypt.c: encrypt.c:74:2: warning: implicit declaration of function '_mm_castps_si128' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: encrypt.c:54:10: note: expanded from macro 'EXPAND_ASSIST'
encrypt.c: v3 = _mm_castps_si128(_mm_shuffle_ps(_mm_castsi128_ps(v3), \
encrypt.c: ...

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

Namespace violations

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
otr.o AE_Decrypt T
otr.o AE_Encrypt T
otr.o AFunc T
otr.o AFuncS T
otr.o DFunc T
otr.o EFunc T
otr.o L B
otr.o Ls B
otr.o Q B
otr.o Setup T
otr.o TA B
otr.o TE B
otr.o nEnc T
t-aes_enc_only.o Encryption T
t-aes_enc_only.o KeySchedule T
t-aes_enc_only.o RC D
t-aes_enc_only.o S D
t-aes_enc_only.o T0 D
t-aes_enc_only.o T1 D
t-aes_enc_only.o T2 D
t-aes_enc_only.o T3 D

Number of similar (compiler,implementation) pairs: 9, 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 -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -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
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref