Implementation notes: armeabi, bblack, crypto_encrypt/ledapkc52sl

Computer: bblack
Microarchitecture: armeabi; Cortex-A8 (413fc082)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_encrypt
Primitive: ledapkc52sl

Compiler output


constant_weight_codec.c: constant_weight_codec.c:231:14: error: expected ';' after expression
constant_weight_codec.c:   __uint128_t m = (__uint128_t) x * (__uint128_t) s;
constant_weight_codec.c:              ^
constant_weight_codec.c:              ;
constant_weight_codec.c: constant_weight_codec.c:231:3: error: use of undeclared identifier '__uint128_t'
constant_weight_codec.c:   __uint128_t m = (__uint128_t) x * (__uint128_t) s;
constant_weight_codec.c:   ^
constant_weight_codec.c: constant_weight_codec.c:231:15: error: use of undeclared identifier 'm'
constant_weight_codec.c:   __uint128_t m = (__uint128_t) x * (__uint128_t) s;
constant_weight_codec.c:               ^
constant_weight_codec.c: constant_weight_codec.c:231:20: error: use of undeclared identifier '__uint128_t'
constant_weight_codec.c:   __uint128_t m = (__uint128_t) x * (__uint128_t) s;
constant_weight_codec.c:                    ^
constant_weight_codec.c: constant_weight_codec.c:232:27: error: use of undeclared identifier 'm'
constant_weight_codec.c:   uint64_t l = (uint64_t) m;
constant_weight_codec.c:                           ^
constant_weight_codec.c: constant_weight_codec.c:237:7: error: use of undeclared identifier 'm'
constant_weight_codec.c:       m = (__uint128_t) x * (__uint128_t) s;
constant_weight_codec.c:       ^
constant_weight_codec.c: constant_weight_codec.c:237:12: error: use of undeclared identifier '__uint128_t'
constant_weight_codec.c:       m = (__uint128_t) x * (__uint128_t) s;
constant_weight_codec.c:            ^
constant_weight_codec.c: constant_weight_codec.c:238:22: error: use of undeclared identifier 'm'
constant_weight_codec.c:       l = (uint64_t) m;
constant_weight_codec.c:                      ^
constant_weight_codec.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:portableoptclang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:portableoptclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:portableoptclang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:portableoptclang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:portableoptclang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


constant_weight_codec.c: constant_weight_codec.c: In function 'rand_range_cwenc':
constant_weight_codec.c: constant_weight_codec.c:231:3: error: unknown type name '__uint128_t'; did you mean '__uint32_t'?
constant_weight_codec.c:    __uint128_t m = (__uint128_t) x * (__uint128_t) s;
constant_weight_codec.c:    ^~~~~~~~~~~
constant_weight_codec.c:    __uint32_t
constant_weight_codec.c: constant_weight_codec.c:231:20: error: '__uint128_t' undeclared (first use in this function); did you mean '__uint32_t'?
constant_weight_codec.c:    __uint128_t m = (__uint128_t) x * (__uint128_t) s;
constant_weight_codec.c:                     ^~~~~~~~~~~
constant_weight_codec.c:                     __uint32_t
constant_weight_codec.c: constant_weight_codec.c:231:20: note: each undeclared identifier is reported only once for each function it appears in
constant_weight_codec.c: constant_weight_codec.c:231:33: error: expected ',' or ';' before 'x'
constant_weight_codec.c:    __uint128_t m = (__uint128_t) x * (__uint128_t) s;
constant_weight_codec.c:                                  ^
constant_weight_codec.c: constant_weight_codec.c:237:24: error: expected ';' before 'x'
constant_weight_codec.c:        m = (__uint128_t) x * (__uint128_t) s;
constant_weight_codec.c:                         ^~
constant_weight_codec.c:                         ;
constant_weight_codec.c: constant_weight_codec.c:241:12: warning: right shift count >= width of type [-Wshift-count-overflow]
constant_weight_codec.c:    return m >> 64;
constant_weight_codec.c:             ^~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:portableoptgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)
T:portableoptgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)
T:portableoptgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)
T:portableoptgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)