Implementation notes: mipso32, gcc23, crypto_kem/lac128

Computer: gcc23
Microarchitecture: mipso32; Octeon II (cnmips64v2)
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20230530
Operation: crypto_kem
Primitive: lac128

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
bin-lwe.c: bin-lwe.c:1:23: fatal error: immintrin.h: No such file or directory
bin-lwe.c: #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
ecc.c: In file included from ecc.c:9:0:
ecc.c: bch128.h:5:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: uint32_t mod8_tab[9216] = {0,0,0,0,0,0,0,0,0,1352406246,2545538842,4194934290,726186586,1068185992,3899778630,1714078190,2708480000,
ecc.c: ^
ecc.c: bch128.h:5:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:5:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:5:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: In file included from ecc.c:9:0:
ecc.c: bch128.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: 0,2704812493,796110389,4094901284,1452373172,2136371985,3504589964,3428156381,1121992704,0,4054072619,3100277039,236626486,2111426286,1090341529,949103306,
ecc.c: ^
ecc.c: bch128.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:6:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:7:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: 2860466739,3817889792,0,317474684,3378416497,305129050,2255115058,3238518699,1236696927,4269917780,615555072,0,1114657690,1592220779,3894835272,2904746344,
ecc.c: ^
ecc.c: bch128.h:7:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:7:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:7:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:7:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:7:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: bch128.h:7:1: warning: this decimal constant is unsigned only in ISO C90
ecc.c: ...

Number of similar (compiler,implementation) pairs: 4, 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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
rng.c: rng.c: In function 'seedexpander':
rng.c: rng.c:90:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
rng.c: for (int i=15; i>=12; i--) {
rng.c: ^
rng.c: rng.c:90:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
rng.c: rng.c: In function 'AES256_CTR_DRBG_Update':
rng.c: rng.c:145:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
rng.c: for (int i=0; i<3; i++) {
rng.c: ^
rng.c: rng.c:147:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
rng.c: for (int j=15; j>=0; j--) {
rng.c: ^
rng.c: rng.c:159:18: error: redefinition of 'i'
rng.c: for (int i=0; i<48; i++)
rng.c: ^
rng.c: rng.c:145:14: note: previous definition of 'i' was here
rng.c: for (int i=0; i<3; i++) {
rng.c: ^
rng.c: rng.c:159:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
rng.c: for (int i=0; i<48; i++)
rng.c: ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
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