Implementation notes: mipso32, erpro8fsf2, crypto_kem/hqc1281

Computer: erpro8fsf2
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20200618
Operation: crypto_kem
Primitive: hqc1281
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
7150249022312 169 1121403935 32551 5296refg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020060920200607
7305311219096 157 1121399353 32595 5296refg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020060920200607
7329074615944 134 1121395543 32596 5296refg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020060920200607
7427632219948 156 1121401564 32626 5296refg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020060920200607

Compiler output

Implementation: crypto_kem/hqc1281/ref
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hqc.cpp: hqc.cpp:26:3: warning: this decimal constant is unsigned only in ISO C90
hqc.cpp: seedexpander_init(sk_seedexpander, sk_seed, sk_seed + 32, SEEDEXPANDER_MAX_LENGTH);
hqc.cpp: ^
hqc.cpp: hqc.cpp:31:3: warning: this decimal constant is unsigned only in ISO C90
hqc.cpp: seedexpander_init(pk_seedexpander, pk_seed, pk_seed + 32, SEEDEXPANDER_MAX_LENGTH);
hqc.cpp: ^
hqc.cpp: hqc.cpp:84:3: warning: this decimal constant is unsigned only in ISO C90
hqc.cpp: seedexpander_init(seedexpander, theta, theta + 32, SEEDEXPANDER_MAX_LENGTH);
hqc.cpp: ^
kem.cpp: kem.cpp:58:3: warning: this decimal constant is unsigned only in ISO C90
kem.cpp: seedexpander_init(G_seedexpander, seed_G, diversifier_bytes, SEEDEXPANDER_MAX_LENGTH);
kem.cpp: ^
kem.cpp: kem.cpp:135:3: warning: this decimal constant is unsigned only in ISO C90
kem.cpp: seedexpander_init(G_seedexpander, seed_G, diversifier_bytes, SEEDEXPANDER_MAX_LENGTH);
kem.cpp: ^
parsing.cpp: parsing.cpp:40:3: warning: this decimal constant is unsigned only in ISO C90
parsing.cpp: seedexpander_init(sk_seedexpander, sk_seed, sk_seed + 32, SEEDEXPANDER_MAX_LENGTH);
parsing.cpp: ^
parsing.cpp: parsing.cpp:79:3: warning: this decimal constant is unsigned only in ISO C90
parsing.cpp: seedexpander_init(pk_seedexpander, pk_seed, pk_seed + 32, SEEDEXPANDER_MAX_LENGTH);
parsing.cpp: ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Compiler output

Implementation: crypto_kem/hqc1281/opt
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
bch.c: bch.c: In function 'message_to_array':
bch.c: bch.c:83:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
bch.c: for (uint8_t i = 0 ; i < VEC_K_SIZE_BYTES ; ++i) {
bch.c: ^
bch.c: bch.c:83:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
bch.c: bch.c:84:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
bch.c: for (uint8_t j = 0 ; j < 8 ; ++j) {
bch.c: ^
bch.c: bch.c: In function 'get_generator_poly':
bch.c: bch.c:104:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
bch.c: for (int i = 0; i < g_bytes_size; ++i) {
bch.c: ^
bch.c: bch.c:109:12: error: redefinition of 'i'
bch.c: for (int i = 0; i < (g_bytes_size - 1) ; ++i) {
bch.c: ^
bch.c: bch.c:104:12: note: previous definition of 'i' was here
bch.c: for (int i = 0; i < g_bytes_size; ++i) {
bch.c: ^
bch.c: bch.c:109:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
bch.c: for (int i = 0; i < (g_bytes_size - 1) ; ++i) {
bch.c: ^
bch.c: bch.c:110:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
bch.c: for (int j = 0; j < 8; ++j) {
bch.c: ^
bch.c: bch.c:115:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
bch.c: ...

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