Implementation notes: mipso32, erpro8fsf2, crypto_kem/hqc1921

Computer: erpro8fsf2
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20200603
Operation: crypto_kem
Primitive: hqc1921
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
17105544822552 169 1121387453 32114 5300refg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020043020200417
17305353018980 157 1121382469 32154 5300refg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020043020200417
17328385616112 134 1121378923 32151 5300refg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020043020200417
17471624219916 156 1121384776 32185 5300refg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020043020200417

Compiler output

Implementation: crypto_kem/hqc1921/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/hqc1921/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