Implementation notes: aarch64, pi4b, crypto_kem/edonk128ref

Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240716
Operation: crypto_kem
Primitive: edonk128ref

Compiler output


dec.c: In file included from dec.c:20:
dec.c: In file included from ./field.h:1:
dec.c: In file included from ./mpfq_2_128.h:14:
dec.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
dec.c: #error "This header is only meant to be used on x86 and x64 architecture"
dec.c:  ^
dec.c: In file included from dec.c:20:
dec.c: In file included from ./field.h:1:
dec.c: In file included from ./mpfq_2_128.h:14:
dec.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:17:
dec.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
dec.c: #error "This header is only meant to be used on x86 and x64 architecture"
dec.c:  ^
dec.c: In file included from dec.c:20:
dec.c: In file included from ./field.h:1:
dec.c: In file included from ./mpfq_2_128.h:14:
dec.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/emmintrin.h:17:
dec.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/xmmintrin.h:17:
dec.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"
dec.c: #error "This header is only meant to be used on x86 and x64 architecture"
dec.c:  ^
dec.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
dec.c:     return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
dec.c:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dec.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
dec.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


dec.c: In file included from field.h:1,
dec.c:                  from dec.c:20:
dec.c: mpfq_2_128.h:14:10: fatal error: emmintrin.h: No such file or directory
dec.c:    14 | #include <emmintrin.h>
dec.c:       |          ^~~~~~~~~~~~~
dec.c: compilation terminated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)