Implementation notes: aarch64, minimac, crypto_kem/lac256

Computer: minimac
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20211108
Operation: crypto_kem
Primitive: lac256

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
bch.c: bch.c:267:12: error: implicit declaration of function 'htobe32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
bch.c: w = r[0]^cpu_to_be32(*pdata++);
bch.c: ^
bch.c: bch.c:99:25: note: expanded from macro 'cpu_to_be32'
bch.c: # define cpu_to_be32(x) htobe32(x)
bch.c: ^
bch.c: 1 error generated.

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

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
bch.c: bch.c: In function 'encode_bch':
bch.c: bch.c:99:25: warning: implicit declaration of function 'htobe32' [-Wimplicit-function-declaration]
bch.c: 99 | # define cpu_to_be32(x) htobe32(x)
bch.c: | ^~~~~~~
bch.c: bch.c:267:12: note: in expansion of macro 'cpu_to_be32'
bch.c: 267 | w = r[0]^cpu_to_be32(*pdata++);
bch.c: | ^~~~~~~~~~~
bin-lwe.c: bin-lwe.c:1:10: fatal error: immintrin.h: No such file or directory
bin-lwe.c: 1 | #include <immintrin.h>
bin-lwe.c: | ^~~~~~~~~~~~~
bin-lwe.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:avx2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
bch.c: bch.c: In function 'encode_bch':
bch.c: bch.c:99:25: warning: implicit declaration of function 'htobe32' [-Wimplicit-function-declaration]
bch.c: 99 | # define cpu_to_be32(x) htobe32(x)
bch.c: | ^~~~~~~
bch.c: bch.c:267:12: note: in expansion of macro 'cpu_to_be32'
bch.c: 267 | w = r[0]^cpu_to_be32(*pdata++);
bch.c: | ^~~~~~~~~~~
rand.c: rand.c:5:10: fatal error: openssl/rand.h: No such file or directory
rand.c: 5 | #include <openssl/rand.h>
rand.c: | ^~~~~~~~~~~~~~~~
rand.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:opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref