Implementation notes: aarch64, pi3bplus, crypto_stream/trivium

Computer: pi3bplus
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20200702
Operation: crypto_stream
Primitive: trivium

Compiler output

Implementation: crypto_stream/trivium/e/submissions/trivium
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
trivium.c: In file included from trivium.c:2:
trivium.c: ./e/trivium.c:212:18: warning: implicit declaration of function 'U64TO64_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
trivium.c: ctx->init[0] = U64TO64_CONVERT(ctx->init[0]);
trivium.c: ^
trivium.c: ./e/trivium.c:43:25: note: expanded from macro 'U64TO64_CONVERT'
trivium.c: #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: ^
trivium.c: ./e/trivium.c:244:19: warning: implicit declaration of function 'U64TO64_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
trivium.c: ctx->state[2] = U64TO64_CONVERT(ctx->state[2]);
trivium.c: ^
trivium.c: ./e/trivium.c:43:25: note: expanded from macro 'U64TO64_CONVERT'
trivium.c: #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: ^
trivium.c: ./e/trivium.c:284:7: warning: implicit declaration of function 'U64TO64_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
trivium.c: M64TO64_CONVERT(z[0]); ((m64*)output)[0] = XOR(((m64*)input)[0], z[0]);
trivium.c: ^
trivium.c: ./e/trivium.c:44:25: note: expanded from macro 'M64TO64_CONVERT'
trivium.c: #define M64TO64_CONVERT M64TO64_LITTLE
trivium.c: ^
trivium.c: ./e/trivium.c:94:32: note: expanded from macro 'M64TO64_LITTLE'
trivium.c: #define M64TO64_LITTLE(m) (m = U64TO64_LITTLE(m))
trivium.c: ^
trivium.c: ./e/trivium.c:297:4: warning: implicit declaration of function 'U64TO64_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
trivium.c: M64TO64_CONVERT(z);
trivium.c: ^
trivium.c: ...
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `crypto_stream_trivium_e_submissions_trivium_ECRYPT_keysetup':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `crypto_stream_trivium_e_submissions_trivium_ECRYPT_ivsetup':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `crypto_stream_trivium_e_submissions_trivium_ECRYPT_process_bytes':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o):trivium.c:(.text+0x...): more undefined references to `U64TO64_LITTLE' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE e/submissions/trivium

Compiler output

Implementation: crypto_stream/trivium/e/submissions/trivium
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
trivium.c: In file included from trivium.c:2:
trivium.c: e/trivium.c: In function 'crypto_stream_trivium_e_submissions_trivium_ECRYPT_keysetup':
trivium.c: e/trivium.c:43:25: warning: implicit declaration of function 'U64TO64_LITTLE'; did you mean 'M64TO64_LITTLE'? [-Wimplicit-function-declaration]
trivium.c: #define U64TO64_CONVERT U64TO64_LITTLE
trivium.c: ^~~~~~~~~~~~~~
trivium.c: e/trivium.c:212:18: note: in expansion of macro 'U64TO64_CONVERT'
trivium.c: ctx->init[0] = U64TO64_CONVERT(ctx->init[0]);
trivium.c: ^~~~~~~~~~~~~~~
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `crypto_stream_trivium_e_submissions_trivium_ECRYPT_keysetup':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `crypto_stream_trivium_e_submissions_trivium_ECRYPT_ivsetup':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o): in function `crypto_stream_trivium_e_submissions_trivium_ECRYPT_process_bytes':
try.c: trivium.c:(.text+0x...): undefined reference to `U64TO64_LITTLE'
try.c: /usr/bin/ld: crypto_stream_trivium.a(trivium.o):trivium.c:(.text+0x...): more undefined references to `U64TO64_LITTLE' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/submissions/trivium
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/submissions/trivium
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE e/submissions/trivium
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE e/submissions/trivium