Implementation notes: mipso32, erpro8fsf2, crypto_hash/asconxofv12

Computer: erpro8fsf2
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20220213
Operation: crypto_hash
Primitive: asconxofv12

Compiler output

Implementation: bi32
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: In file included from ascon.h:6:0,
hash.c: from hash.c:2:
hash.c: word.h: In function 'LOADBYTES':
hash.c: word.h:96:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) ((uint8_t*)&x)[7 - i] = bytes[i];
hash.c: ^
hash.c: word.h:96:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
hash.c: word.h: In function 'STOREBYTES':
hash.c: word.h:102:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) bytes[i] = ((uint8_t*)&x)[7 - i];
hash.c: ^
hash.c: In file included from hash.c:4:0:
hash.c: permutations.h: In function 'PROUNDS':
hash.c: permutations.h:84:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = START(nr); i < 12; i++)
hash.c: ^

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

Compiler output

Implementation: bi8
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: In file included from ascon.h:6:0,
hash.c: from hash.c:2:
hash.c: word.h: In function 'LOADBYTES':
hash.c: word.h:111:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) ((uint8_t*)&x)[7 - i] = bytes[i];
hash.c: ^
hash.c: word.h:111:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
hash.c: word.h: In function 'STOREBYTES':
hash.c: word.h:117:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) bytes[i] = ((uint8_t*)&x)[7 - i];
hash.c: ^
hash.c: In file included from hash.c:4:0:
hash.c: permutations.h: In function 'PROUNDS':
hash.c: permutations.h:84:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = START(nr); i < 12; i++) ROUND(s, RC(constants[i]));
hash.c: ^

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

Compiler output

Implementation: opt64
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: In file included from ascon.h:6:0,
hash.c: from hash.c:2:
hash.c: word.h: In function 'LOADBYTES':
hash.c: word.h:61:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) ((uint8_t*)&x)[7 - i] = bytes[i];
hash.c: ^
hash.c: word.h:61:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
hash.c: word.h: In function 'STOREBYTES':
hash.c: word.h:66:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) bytes[i] = ((uint8_t*)&w)[7 - i];
hash.c: ^
hash.c: In file included from hash.c:4:0:
hash.c: permutations.h: In function 'PROUNDS':
hash.c: permutations.h:82:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = START(nr); i > 0x4a; i -= 0x0f) ROUND(s, RC(i));
hash.c: ^

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

Compiler output

Implementation: opt8
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: In file included from ascon.h:6:0,
hash.c: from hash.c:2:
hash.c: word.h: In function 'LOADBYTES':
hash.c: word.h:97:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) ((uint8_t*)&x)[7 - i] = bytes[i];
hash.c: ^
hash.c: word.h:97:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
hash.c: word.h: In function 'STOREBYTES':
hash.c: word.h:103:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) bytes[i] = ((uint8_t*)&x)[7 - i];
hash.c: ^
hash.c: In file included from hash.c:4:0:
hash.c: permutations.h: In function 'PROUNDS':
hash.c: permutations.h:82:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = START(nr); i > 0x4a; i -= 0x0f) ROUND(s, RC(i));
hash.c: ^

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

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: In file included from hash.c:6:0:
hash.c: word.h: In function 'LOADBYTES':
hash.c: word.h:23:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) x |= SETBYTE(bytes[i], i);
hash.c: ^
hash.c: word.h:23:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
hash.c: word.h: In function 'STOREBYTES':
hash.c: word.h:29:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) bytes[i] = GETBYTE(x, i);
hash.c: ^
hash.c: word.h: In function 'CLEARBYTES':
hash.c: word.h:34:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
hash.c: for (int i = 0; i < n; ++i) x &= ~SETBYTE(0xff, i);
hash.c: ^

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