Implementation notes: armeabi, tinker, crypto_aead/norx3261v3

Computer: tinker
Microarchitecture: armeabi; Cortex-A17 (410fc0d1)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: norx3261v3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1120355940 8 022205 392 824T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
1141822912 8 018449 392 824T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
1232507540 4 023797 388 824T:neongcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
1232637536 4 023065 388 824T:neongcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
1238107598 4 022240 384 816T:neongcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
1242297150 4 020153 380 816T:neongcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
1269854884 8 024378 420 824T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012920240107
1278401910 8 014921 384 816T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
1372202782 8 017453 388 816T:refgcc_-march=native_-mtune=native_-O_-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
norx.c: In file included from norx.c:18:
norx.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/arm_neon.h:32:2: error: "NEON support not enabled"
norx.c: #error "NEON support not enabled"
norx.c: ^
norx.c: norx.c:382:11: error: unknown type name 'uint32x4_t'; did you mean 'uint32_t'?
norx.c: const uint32x4_t K = LOADU(key);
norx.c: ^~~~~~~~~~
norx.c: uint32_t
norx.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:26:20: note: 'uint32_t' declared here
norx.c: typedef __uint32_t uint32_t;
norx.c: ^
norx.c: norx.c:382:26: warning: implicit declaration of function 'vreinterpretq_u32_u8' is invalid in C99 [-Wimplicit-function-declaration]
norx.c: const uint32x4_t K = LOADU(key);
norx.c: ^
norx.c: norx.c:40:19: note: expanded from macro 'LOADU'
norx.c: #define LOADU(in) LOAD((in))
norx.c: ^
norx.c: norx.c:39:18: note: expanded from macro 'LOAD'
norx.c: #define LOAD(in) vreinterpretq_u32_u8( vld1q_u8((uint8_t *)(in)) )
norx.c: ^
norx.c: norx.c:382:26: warning: implicit declaration of function 'vld1q_u8' is invalid in C99 [-Wimplicit-function-declaration]
norx.c: norx.c:40:19: note: expanded from macro 'LOADU'
norx.c: #define LOADU(in) LOAD((in))
norx.c: ^
norx.c: norx.c:39:40: note: expanded from macro 'LOAD'
norx.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:xmm
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
norx.c: In file included from norx.c:26:
norx.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
norx.c: #error "This header is only meant to be used on x86 and x64 architecture"
norx.c: ^
norx.c: In file included from norx.c:26:
norx.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/immintrin.h:17:
norx.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/x86gprintrin.h:15:
norx.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm
norx.c: __asm__ ("hreset $0" :: "a"(__eax));
norx.c: ^
norx.c: In file included from norx.c:26:
norx.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/immintrin.h:21:
norx.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
norx.c: #error "This header is only meant to be used on x86 and x64 architecture"
norx.c: ^
norx.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:54:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
norx.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
norx.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
norx.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:133:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
norx.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
norx.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
norx.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:163:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
norx.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
norx.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
norx.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/mmintrin.h:193:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
norx.c: ...

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

Compiler output

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

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