Implementation notes: aarch64, pi3bplus, crypto_stream/lexv2

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

Compiler output

Implementation: crypto_stream/lexv2/e/v2/ref
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
lex.c: In file included from lex.c:2:
lex.c: ./e/lex.c:685:9: warning: array index 10 is past the end of the array (which contains 10 elements) [-Warray-bounds]
lex.c: ctx->ks[10] = (t0 & 0xFF00FF00) ^ ((t2 & 0xFF00FF00)>>8); /* Leak for odd rounds */
lex.c: ^ ~~
lex.c: ./e/ecrypt-sync.h:65:3: note: array 'ks' declared here
lex.c: u32 ks[NUMWORDS]; /* Keystream words collected from leaks */
lex.c: ^
lex.c: In file included from lex.c:2:
lex.c: ./e/lex.c:692:6: warning: array index 11 is past the end of the array (which contains 10 elements) [-Warray-bounds]
lex.c: ctx->ks[11] = ((s0 & 0xFF00FF)<<8) ^ (s2 & 0xFF00FF); /* Leak for even rounds */
lex.c: ^ ~~
lex.c: ./e/ecrypt-sync.h:65:3: note: array 'ks' declared here
lex.c: u32 ks[NUMWORDS]; /* Keystream words collected from leaks */
lex.c: ^
lex.c: In file included from lex.c:2:
lex.c: ./e/lex.c:698:13: warning: array index 12 is past the end of the array (which contains 10 elements) [-Warray-bounds]
lex.c: ctx->ks[12] = (t0 & 0xFF00FF00) ^ ((t2 & 0xFF00FF00)>>8); /* Leak for odd rounds */
lex.c: ^ ~~
lex.c: ./e/ecrypt-sync.h:65:3: note: array 'ks' declared here
lex.c: u32 ks[NUMWORDS]; /* Keystream words collected from leaks */
lex.c: ^
lex.c: In file included from lex.c:2:
lex.c: ./e/lex.c:752:59: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
lex.c: *(u32*)(output+ 4*j) = *(u32*)(input+ 4*j) ^ U32TO32_LITTLE(ctx->ks[j]);
lex.c: ^
lex.c: ...
try.c: /usr/bin/ld: crypto_stream_lexv2.a(lex.o): in function `crypto_stream_lexv2_e_v2_ref_ECRYPT_process_bytes':
try.c: lex.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: lex.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: lex.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: lex.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: lex.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_lexv2.a(lex.o):lex.c:(.text+0x...): more undefined references to `U32TO32_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/v2/ref

Compiler output

Implementation: crypto_stream/lexv2/e/v2/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
lex.c: In file included from lex.c:2:
lex.c: e/lex.c: In function 'crypto_stream_lexv2_e_v2_ref_ECRYPT_process_bytes':
lex.c: e/lex.c:752:59: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
lex.c: *(u32*)(output+ 4*j) = *(u32*)(input+ 4*j) ^ U32TO32_LITTLE(ctx->ks[j]);
lex.c: ^~~~~~~~~~~~~~
lex.c: U8TO32_LITTLE
try.c: /usr/bin/ld: crypto_stream_lexv2.a(lex.o): in function `crypto_stream_lexv2_e_v2_ref_ECRYPT_process_bytes':
try.c: lex.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_lexv2.a(lex.o): in function `crypto_stream_lexv2_e_v2_ref_ECRYPT_keystream_bytes':
try.c: lex.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_lexv2.a(lex.o): in function `crypto_stream_lexv2_e_v2_ref_ECRYPT_process_blocks':
try.c: lex.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
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/v2/ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE e/v2/ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE e/v2/ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE e/v2/ref