Implementation notes: mips32, gcc49, crypto_hash/blake2s

Computer: gcc49
Architecture: mips32
CPU ID: unknown CPU ID
SUPERCOP version: 20130126
Operation: crypto_hash
Primitive: blake2s
TimeImplementationCompilerBenchmark dateSUPERCOP version
47450regsgcc -funroll-loops -mabi=n32 -O -fomit-frame-pointer2013012920130126
50258regsgcc -mabi=n32 -O -fomit-frame-pointer2013012920130126
62758regsgcc -funroll-loops -mabi=n32 -O3 -fomit-frame-pointer2013012920130126
63690regsgcc -funroll-loops -mabi=n32 -O2 -fomit-frame-pointer2013012920130126
65718regsgcc -funroll-loops -mabi=n32 -Os -fomit-frame-pointer2013012920130126
70930regsgcc -mabi=n32 -O2 -fomit-frame-pointer2013012920130126
70948regsgcc -mabi=n32 -O3 -fomit-frame-pointer2013012920130126
107020regsgcc -mabi=n32 -Os -fomit-frame-pointer2013012920130126

Compiler output

Implementation: crypto_hash/blake2s/ref
Compiler: gcc -funroll-loops -mabi=n32 -O2 -fomit-frame-pointer
blake2s-ref.c: blake2s-ref.c: In function 'blake2s_init0':
blake2s-ref.c: blake2s-ref.c:137: error: 'for' loop initial declarations are only allowed in C99 mode
blake2s-ref.c: blake2s-ref.c:137: note: use option -std=c99 or -std=gnu99 to compile your code
blake2s-ref.c: blake2s-ref.c: In function 'blake2s_init_param':
blake2s-ref.c: blake2s-ref.c:149: error: 'for' loop initial declarations are only allowed in C99 mode
blake2s-ref.c: blake2s-ref.c: In function 'blake2s_compress':
blake2s-ref.c: blake2s-ref.c:215: error: 'for' loop initial declarations are only allowed in C99 mode
blake2s-ref.c: blake2s-ref.c:218: error: redefinition of 'i'
blake2s-ref.c: blake2s-ref.c:215: note: previous definition of 'i' was here
blake2s-ref.c: blake2s-ref.c:218: error: 'for' loop initial declarations are only allowed in C99 mode
blake2s-ref.c: blake2s-ref.c:262: error: redefinition of 'i'
blake2s-ref.c: blake2s-ref.c:218: note: previous definition of 'i' was here
blake2s-ref.c: blake2s-ref.c:262: error: 'for' loop initial declarations are only allowed in C99 mode
blake2s-ref.c: blake2s-ref.c: In function 'blake2s_final':
blake2s-ref.c: blake2s-ref.c:318: error: 'for' loop initial declarations are only allowed in C99 mode

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
gcc -funroll-loops -mabi=n32 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -mabi=n32 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -mabi=n32 -O -fomit-frame-pointer ref
gcc -funroll-loops -mabi=n32 -Os -fomit-frame-pointer ref
gcc -mabi=n32 -O2 -fomit-frame-pointer ref
gcc -mabi=n32 -O3 -fomit-frame-pointer ref
gcc -mabi=n32 -O -fomit-frame-pointer ref
gcc -mabi=n32 -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_hash/blake2s/xmm
Compiler: gcc -funroll-loops -mabi=n32 -O2 -fomit-frame-pointer
blake2s.c: In file included from blake2s.c:21:
blake2s.c: blake2-config.h:68:2: error: #error "This code requires at least SSE2."
blake2s.c: blake2s.c:24:23: error: emmintrin.h: No such file or directory
blake2s.c: blake2s.c: In function 'crypto_hash_blake2s_xmm':
blake2s.c: blake2s.c:46: error: '__m128i' undeclared (first use in this function)
blake2s.c: blake2s.c:46: error: (Each undeclared identifier is reported only once
blake2s.c: blake2s.c:46: error: for each function it appears in.)
blake2s.c: blake2s.c:46: error: expected ';' before 'row1'
blake2s.c: blake2s.c:47: error: expected ';' before 'buf1'
blake2s.c: blake2s.c:57: error: 'row1' undeclared (first use in this function)
blake2s.c: blake2s.c:58: error: 'row2' undeclared (first use in this function)
blake2s.c: blake2s.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iv0'
blake2s.c: blake2s.c:62: error: 'iv0' undeclared (first use in this function)
blake2s.c: blake2s.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iv1'
blake2s.c: blake2s.c:63: error: 'iv1' undeclared (first use in this function)
blake2s.c: blake2s.c:88: error: 'row3' undeclared (first use in this function)
blake2s.c: blake2s.c:92: error: 'row4' undeclared (first use in this function)
blake2s.c: blake2s.c:96: error: 'buf1' undeclared (first use in this function)
blake2s.c: blake2s.c:96: error: 'buf2' undeclared (first use in this function)
blake2s.c: blake2s.c:96: error: 'buf3' undeclared (first use in this function)
blake2s.c: blake2s.c:96: error: 'buf4' undeclared (first use in this function)
blake2s.c: blake2s.c:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iv0'
blake2s.c: blake2s.c:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iv1'
blake2s.c: blake2s.c:157: error: expected expression before ')' token
blake2s.c: blake2s.c:157: error: expected expression before ')' token
blake2s.c: ...

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
gcc -funroll-loops -mabi=n32 -O2 -fomit-frame-pointer xmm
gcc -funroll-loops -mabi=n32 -O3 -fomit-frame-pointer xmm
gcc -funroll-loops -mabi=n32 -O -fomit-frame-pointer xmm
gcc -funroll-loops -mabi=n32 -Os -fomit-frame-pointer xmm
gcc -mabi=n32 -O2 -fomit-frame-pointer xmm
gcc -mabi=n32 -O3 -fomit-frame-pointer xmm
gcc -mabi=n32 -O -fomit-frame-pointer xmm
gcc -mabi=n32 -Os -fomit-frame-pointer xmm

Compiler output

Implementation: crypto_hash/blake2s/avxicc
Compiler: gcc -funroll-loops -mabi=n32 -O2 -fomit-frame-pointer
blake2s.s: blake2s.s: Assembler messages:
blake2s.s: blake2s.s:13: Error: Unrecognized opcode `xorl %r11d,%r11d'
blake2s.s: blake2s.s:14: Error: Unrecognized opcode `xorl %ecx,%ecx'
blake2s.s: blake2s.s:15: Error: Unrecognized opcode `movq %rsi,%r9'
blake2s.s: blake2s.s:16: Error: Unrecognized opcode `vmovdqu .L_2il0floatpacket.10(%rip),%xmm4'
blake2s.s: blake2s.s:17: Error: Unrecognized opcode `xorl %eax,%eax'
blake2s.s: blake2s.s:18: Error: Unrecognized opcode `vmovdqu .L_2il0floatpacket.7(%rip),%xmm0'
blake2s.s: blake2s.s:19: Error: Unrecognized opcode `vmovdqa %xmm4,%xmm2'
blake2s.s: blake2s.s:20: Error: Unrecognized opcode `vmovdqu .L_2il0floatpacket.8(%rip),%xmm1'
blake2s.s: blake2s.s:21: Error: Unrecognized opcode `movq %rdx,%r8'
blake2s.s: blake2s.s:22: Error: Unrecognized opcode `vmovdqu .L_2il0floatpacket.9(%rip),%xmm3'
blake2s.s: blake2s.s:23: Error: Unrecognized opcode `xorl %r10d,%r10d'
blake2s.s: blake2s.s:24: Error: Unrecognized opcode `vmovdqu .L_2il0floatpacket.11(%rip),%xmm5'
blake2s.s: blake2s.s:25: Error: Unrecognized opcode `cmpq $64,%rdx'
blake2s.s: blake2s.s:26: Error: Unrecognized opcode `jbe ..B1.5'
blake2s.s: blake2s.s:28: Error: Unrecognized opcode `movq %rbp,-104(%rsp)'
blake2s.s: blake2s.s:29: Error: Unrecognized opcode `lea -1(%rdx),%rsi'
blake2s.s: blake2s.s:30: Error: Unrecognized opcode `sarq $5,%rsi'
blake2s.s: blake2s.s:32: Error: Unrecognized opcode `movq %rcx,%rbp'
blake2s.s: blake2s.s:33: Error: Unrecognized opcode `shrq $58,%rsi'
blake2s.s: blake2s.s:34: Error: Unrecognized opcode `movq %rax,%rcx'
blake2s.s: blake2s.s:35: Error: Unrecognized opcode `lea -1(%rsi,%rdx),%rdx'
blake2s.s: blake2s.s:36: Error: Unrecognized opcode `sarq $6,%rdx'
blake2s.s: blake2s.s:37: Error: Unrecognized opcode `movq %rdx,%rax'
blake2s.s: blake2s.s:39: Error: Unrecognized opcode `vmovdqu (%rcx,%r9),%xmm9'
blake2s.s: ...

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
gcc -funroll-loops -mabi=n32 -O2 -fomit-frame-pointer avxicc
gcc -funroll-loops -mabi=n32 -O3 -fomit-frame-pointer avxicc
gcc -funroll-loops -mabi=n32 -O -fomit-frame-pointer avxicc
gcc -funroll-loops -mabi=n32 -Os -fomit-frame-pointer avxicc
gcc -mabi=n32 -O2 -fomit-frame-pointer avxicc
gcc -mabi=n32 -O3 -fomit-frame-pointer avxicc
gcc -mabi=n32 -O -fomit-frame-pointer avxicc
gcc -mabi=n32 -Os -fomit-frame-pointer avxicc