Implementation notes: armeabi, novenablue, crypto_aead/norx6461v1

Computer: novenablue
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20200702
Operation: crypto_aead
Primitive: norx6461v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
8877810196 0 030450 416 824neonclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200417
9007810240 0 028786 416 824neonclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200417
9007910240 0 030482 416 824neonclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200417
9008310240 0 028786 416 824neonclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200417
9011710148 0 027644 412 824neonclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200417
2886579668 4 029872 424 824refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200417
2888059668 4 028176 424 824refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200417
2888619668 4 028176 424 824refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200417
2903645760 4 023210 420 824refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200417
3018549676 4 029896 424 824refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200417
3461893878 4 015312 408 816refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042620200417
34695741048 4 053684 416 816refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042620200417
34715847784 4 061972 416 816refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042620200417
36406728208 4 040284 416 816refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042620200417

Compiler output

Implementation: neon
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
norx.c: In file included from norx.c:24:0:
norx.c: /usr/lib/gcc/arm-linux-gnueabihf/4.9/include/arm_neon.h:31:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
norx.c: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
norx.c: ^
norx.c: norx.c: In function 'crypto_aead_norx6461v1_neon_encrypt':
norx.c: norx.c:300:5: error: unknown type name 'uint64x2_t'
norx.c: uint64x2_t A0, A1, B0, B1, C0, C1, D0, D1;
norx.c: ^
norx.c: norx.c:301:11: error: unknown type name 'uint64x2_t'
norx.c: const uint64x2_t N = LOADU(npub);
norx.c: ^
norx.c: norx.c:302:11: error: unknown type name 'uint64x2_t'
norx.c: const uint64x2_t K0 = LOADU(k + 0);
norx.c: ^
norx.c: norx.c:303:11: error: unknown type name 'uint64x2_t'
norx.c: const uint64x2_t K1 = LOADU(k + 16);
norx.c: ^
norx.c: norx.c:101:5: error: unknown type name 'uint64x2_t'
norx.c: uint64x2_t l0, r0, l1, r1; \
norx.c: ^
norx.c: norx.c:175:5: note: in expansion of macro 'G'
norx.c: G(A0, A1, B0, B1, C0, C1, D0, D1); \
norx.c: ^
norx.c: norx.c:188:9: note: in expansion of macro 'F'
norx.c: F(A0, A1, B0, B1, C0, C1, D0, D1); \
norx.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: xmm
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
norx.c: In file included from norx.c:26:
norx.c: In file included from /usr/include/clang/3.5.0/include/x86intrin.h:27:
norx.c: /usr/include/clang/3.5.0/include/ia32intrin.h:77:26: error: unknown register name 'flags' in asm
norx.c: :"flags"
norx.c: ^
norx.c: norx.c:361:9: warning: implicit declaration of function '_mm_storeu_si128' is invalid in C99 [-Wimplicit-function-declaration]
norx.c: STOREU(out + 0, LOADU(in + 0));
norx.c: ^
norx.c: norx.c:48:24: note: expanded from macro 'STOREU'
norx.c: #define STOREU(out, x) _mm_storeu_si128((__m128i*)(out), (x))
norx.c: ^
norx.c: norx.c:361:9: error: use of undeclared identifier '__m128i'
norx.c: norx.c:48:42: note: expanded from macro 'STOREU'
norx.c: #define STOREU(out, x) _mm_storeu_si128((__m128i*)(out), (x))
norx.c: ^
norx.c: norx.c:361:9: error: expected expression
norx.c: norx.c:48:50: note: expanded from macro 'STOREU'
norx.c: #define STOREU(out, x) _mm_storeu_si128((__m128i*)(out), (x))
norx.c: ^
norx.c: norx.c:361:26: warning: implicit declaration of function '_mm_loadu_si128' is invalid in C99 [-Wimplicit-function-declaration]
norx.c: STOREU(out + 0, LOADU(in + 0));
norx.c: ^
norx.c: norx.c:47:19: note: expanded from macro 'LOADU'
norx.c: #define LOADU(in) _mm_loadu_si128((__m128i*)(in))
norx.c: ^
norx.c: ...

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

Compiler output

Implementation: xmm
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
norx.c: norx.c:26:27: fatal error: x86intrin.h: No such file or directory
norx.c: #include <x86intrin.h>
norx.c: ^
norx.c: compilation terminated.

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

Compiler output

Implementation: ymm
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
norx.c: In file included from norx.c:26:
norx.c: In file included from /usr/include/clang/3.5.0/include/x86intrin.h:27:
norx.c: /usr/include/clang/3.5.0/include/ia32intrin.h:77:26: error: unknown register name 'flags' in asm
norx.c: :"flags"
norx.c: ^
norx.c: norx.c:302:9: warning: implicit declaration of function '_mm256_storeu_si256' is invalid in C99 [-Wimplicit-function-declaration]
norx.c: STOREU(out + 0, LOADU(in + 0));
norx.c: ^
norx.c: norx.c:48:24: note: expanded from macro 'STOREU'
norx.c: #define STOREU(out, x) _mm256_storeu_si256((__m256i*)(out), (x))
norx.c: ^
norx.c: norx.c:302:9: error: use of undeclared identifier '__m256i'
norx.c: norx.c:48:45: note: expanded from macro 'STOREU'
norx.c: #define STOREU(out, x) _mm256_storeu_si256((__m256i*)(out), (x))
norx.c: ^
norx.c: norx.c:302:9: error: expected expression
norx.c: norx.c:48:53: note: expanded from macro 'STOREU'
norx.c: #define STOREU(out, x) _mm256_storeu_si256((__m256i*)(out), (x))
norx.c: ^
norx.c: norx.c:302:26: warning: implicit declaration of function '_mm256_loadu_si256' is invalid in C99 [-Wimplicit-function-declaration]
norx.c: STOREU(out + 0, LOADU(in + 0));
norx.c: ^
norx.c: norx.c:47:19: note: expanded from macro 'LOADU'
norx.c: #define LOADU(in) _mm256_loadu_si256((__m256i*)(in))
norx.c: ^
norx.c: ...

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

Namespace violations

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
norx.o norx_aead_decrypt T
norx.o norx_aead_encrypt T
norx.o norx_decrypt_msg T
norx.o norx_encrypt_msg T
norx.o norx_init T
norx.o norx_output_tag T
norx.o norx_process_header T
norx.o norx_process_trailer T
norx.o norx_verify_tag T

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