Implementation notes: aarch64, pi4b, crypto_aead/gimli24v1

Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: gimli24v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2166014412 0 017564 816 864T:littleendiangcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
2826853852 0 018018 840 856T:littleendianclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122420231222
3403211764 0 013979 808 848T:littleendiangcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
3414951636 0 013812 816 848T:littleendiangcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
4126721372 0 012564 800 840T:littleendiangcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
8674025148 0 019298 840 856T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122420231222
11025981820 0 013988 816 848T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
11720644488 0 017612 816 864T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
17817971808 0 012988 800 840T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222
18337922252 0 014483 808 848T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122420231222

Compiler output

Implementation: T:sse
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cipher.c: In file included from cipher.c:5:
cipher.c: In file included from ./gimli.inc:1:
cipher.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/x86intrin.h:15:
cipher.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
cipher.c: #error "This header is only meant to be used on x86 and x64 architecture"
cipher.c: ^
cipher.c: In file included from cipher.c:5:
cipher.c: In file included from ./gimli.inc:1:
cipher.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/x86intrin.h:15:
cipher.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/immintrin.h:17:
cipher.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/x86gprintrin.h:15:
cipher.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm
cipher.c: __asm__ ("hreset $0" :: "a"(__eax));
cipher.c: ^
cipher.c: In file included from cipher.c:5:
cipher.c: In file included from ./gimli.inc:1:
cipher.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/x86intrin.h:15:
cipher.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/immintrin.h:21:
cipher.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
cipher.c: #error "This header is only meant to be used on x86 and x64 architecture"
cipher.c: ^
cipher.c: /usr/lib/llvm-14/lib/clang/14.0.0/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
cipher.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
cipher.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cipher.c: /usr/lib/llvm-14/lib/clang/14.0.0/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
cipher.c: ...

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

Compiler output

Implementation: T:sse
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
cipher.c: In file included from cipher.c:5:
cipher.c: gimli.inc:1:10: fatal error: x86intrin.h: No such file or directory
cipher.c: 1 | #include <x86intrin.h>
cipher.c: | ^~~~~~~~~~~~~
cipher.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: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
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssealt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssealt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssealt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ssealt