Implementation notes: armeabi, tinker, crypto_aead/norx6461v1

Computer: tinker
Microarchitecture: armeabi; Cortex-A17 (410fc0d1)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: norx6461v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
928789336 0 022381 376 816T:neongcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
938219460 0 025745 384 824T:neongcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
938929460 0 026481 384 824T:neongcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
9469710292 0 025197 384 816T:neongcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
18136417644 4 034669 388 824T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
1826434828 4 021125 388 824T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
1874264230 4 019149 388 816T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
1970469012 4 028468 420 824T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012920240107
2157713430 4 016489 380 816T:refgcc_-march=native_-mtune=native_-Os_-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:24:
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:300:5: error: unknown type name 'uint64x2_t'; did you mean 'uint64_t'?
norx.c: uint64x2_t A0, A1, B0, B1, C0, C1, D0, D1;
norx.c: ^~~~~~~~~~
norx.c: uint64_t
norx.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:27:20: note: 'uint64_t' declared here
norx.c: typedef __uint64_t uint64_t;
norx.c: ^
norx.c: norx.c:301:11: error: unknown type name 'uint64x2_t'; did you mean 'uint64_t'?
norx.c: const uint64x2_t N = LOADU(npub);
norx.c: ^~~~~~~~~~
norx.c: uint64_t
norx.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:27:20: note: 'uint64_t' declared here
norx.c: typedef __uint64_t uint64_t;
norx.c: ^
norx.c: norx.c:301:27: warning: implicit declaration of function 'vreinterpretq_u64_u8' is invalid in C99 [-Wimplicit-function-declaration]
norx.c: const uint64x2_t N = LOADU(npub);
norx.c: ^
norx.c: norx.c:47:19: note: expanded from macro 'LOADU'
norx.c: #define LOADU(in) LOAD(in)
norx.c: ^
norx.c: norx.c:45:18: 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:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
norx.c: In function ‘norx_decrypt_lastblock’,
norx.c: inlined from ‘norx_decrypt_msg’ at norx.c:502:9,
norx.c: inlined from ‘norx_decrypt_msg’ at norx.c:490:6:
norx.c: norx.c:313:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
norx.c: 313 | b[j] = c;
norx.c: | ~~~~~~~^~~
norx.c: norx.c: In function ‘norx_decrypt_msg’:
norx.c: norx.c:287:13: note: at offset 8 into destination object ‘b’ of size 8
norx.c: 287 | uint8_t b[BYTES(NORX_W)];
norx.c: | ^
norx.c: In function ‘norx_decrypt_lastblock’,
norx.c: inlined from ‘norx_decrypt_msg’ at norx.c:502:9,
norx.c: inlined from ‘norx_decrypt_msg’ at norx.c:490:6,
norx.c: inlined from ‘norx_aead_decrypt’ at norx.c:688:5:
norx.c: norx.c:313:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
norx.c: 313 | b[j] = c;
norx.c: | ~~~~~~~^~~
norx.c: norx.c: In function ‘norx_aead_decrypt’:
norx.c: norx.c:287:13: note: at offset 8 into destination object ‘b’ of size 8
norx.c: 287 | uint8_t b[BYTES(NORX_W)];
norx.c: | ^

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

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: In file included from /usr/lib/llvm-14/lib/clang/14.0.6/include/x86intrin.h:15:
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/x86intrin.h:15:
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/x86intrin.h:15:
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: ...

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

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: x86intrin.h: No such file or directory
norx.c: 26 | #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 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
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ymm
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ymm
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ymm
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ymm