Implementation notes: aarch64, pi4b, crypto_aead/gimli24v1

Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: gimli24v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2165624464 0 017920 816 864T:littleendiangcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
2826883864 0 018230 840 856T:littleendianclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
3354551792 0 014279 808 848T:littleendiangcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
3411861652 0 014056 816 848T:littleendiangcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
4128681388 0 012808 800 840T:littleendiangcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
8674415160 0 019510 840 856T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
11030331836 0 014232 816 848T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
11496424496 0 017936 816 864T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
18314082284 0 014775 808 848T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
18831771820 0 013256 800 840T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808

Compiler output


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 (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:sseclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:ssealtclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


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 (implementation,compiler) pairs: 8, namely:
ImplementationCompiler
T:ssegcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:ssegcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:ssegcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:ssegcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:ssealtgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:ssealtgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:ssealtgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:ssealtgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)