Implementation notes: mipso32, gcc23, crypto_hash/blake2s

Computer: gcc23
Microarchitecture: mipso32; Octeon II (cnmips64v2)
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20230530
Operation: crypto_hash
Primitive: blake2s
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3491611936 0 027386 328 760T:regsgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022053120220506
3493211936 0 029466 328 760T:regsgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022053120220506
3517011088 0 026046 320 760T:regsgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022053120220506
5179210400 0 028039 340 760T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022053120220506
542827408 0 023075 352 760T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022053120220506
594807408 0 022583 344 760T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022053120220506
6392011408 0 027546 328 760T:regsgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022053120220506
934427632 0 023987 352 760T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022053120220506

Compiler output

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

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

Compiler output

Implementation: T:xmm
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
blake2s.c: In file included from blake2s.c:21:0:
blake2s.c: blake2-config.h:68:2: error: #error "This code requires at least SSE2."
blake2s.c: #error "This code requires at least SSE2."
blake2s.c: ^
blake2s.c: blake2s.c:24:23: fatal error: emmintrin.h: No such file or directory
blake2s.c: #include <emmintrin.h>
blake2s.c: ^
blake2s.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:xmm
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:xmm
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:xmm
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:xmm

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
blake2s-ref.o blake2s T
blake2s-ref.o blake2s_final T
blake2s-ref.o blake2s_init T
blake2s-ref.o blake2s_init_key T
blake2s-ref.o blake2s_init_param T
blake2s-ref.o blake2s_update T

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