Implementation notes: mipso32, loongson, crypto_hash/blake256

Computer: loongson
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20161026
Operation: crypto_hash
Primitive: blake256
TimeImplementationCompilerBenchmark dateSUPERCOP version
51500sphlibgcc -funroll-loops -march=loongson2f -mabi=n32 -O22016121120161026
51768sphlibgcc -funroll-loops -march=loongson2f -mabi=n32 -O32016121120161026
53984sphlibgcc -march=loongson2f -mabi=n32 -O32016121120161026
54082sphlibgcc -march=loongson2f -mabi=n32 -O22016121120161026
55364regsgcc -march=loongson2f -mabi=n32 -O32016121120161026
55474regsgcc -funroll-loops -march=loongson2f -mabi=n32 -O22016121120161026
55642regsgcc -march=loongson2f -mabi=n32 -O22016121120161026
55660regsgcc -funroll-loops -march=loongson2f -mabi=n32 -O32016121120161026
57462regsgcc -funroll-loops -march=loongson2f -mabi=n32 -Os2016121120161026
59120bswapgcc -funroll-loops -march=loongson2f -mabi=n32 -O22016121120161026
59160regsgcc -march=loongson2f -mabi=n32 -Os2016121120161026
59408bswapgcc -funroll-loops -march=loongson2f -mabi=n32 -O32016121120161026
59628bswapgcc -march=loongson2f -mabi=n32 -O22016121120161026
59796bswapgcc -march=loongson2f -mabi=n32 -O32016121120161026
64512bswapgcc -funroll-loops -march=loongson2f -mabi=n32 -Os2016121120161026
65416bswapgcc -march=loongson2f -mabi=n32 -Os2016121120161026
72700sphlibgcc -funroll-loops -march=loongson2f -mabi=n32 -Os2016121120161026
73050sphlibgcc -march=loongson2f -mabi=n32 -Os2016121120161026
89990sphlib-smallgcc -funroll-loops -march=loongson2f -mabi=n32 -O32016121120161026
90140sphlib-smallgcc -funroll-loops -march=loongson2f -mabi=n32 -O22016121120161026
92918sphlib-smallgcc -funroll-loops -march=loongson2f -mabi=n32 -Os2016121120161026
94394refgcc -funroll-loops -march=loongson2f -mabi=n32 -O22016121120161026
98226sphlib-smallgcc -march=loongson2f -mabi=n32 -Os2016121120161026
99516sphlib-smallgcc -march=loongson2f -mabi=n32 -O32016121120161026
99676sphlib-smallgcc -march=loongson2f -mabi=n32 -O22016121120161026
104432refgcc -march=loongson2f -mabi=n32 -Os2016121120161026
104440refgcc -funroll-loops -march=loongson2f -mabi=n32 -Os2016121120161026
110262refgcc -funroll-loops -march=loongson2f -mabi=n32 -O32016121120161026
135096refgcc -march=loongson2f -mabi=n32 -O22016121120161026
135202refgcc -march=loongson2f -mabi=n32 -O32016121120161026

Compiler output

Implementation: crypto_hash/blake256/vect128
Compiler: gcc -funroll-loops -march=loongson2f -mabi=n32 -O2
vector.c: In file included from vector.c:7:0:
vector.c: vector.h:968:2: error: #error "I don't know how to vectorize on this architecture."
vector.c: #error "I don't know how to vectorize on this architecture."
vector.c: ^
vector.c: vector.h:982:3: error: unknown type name 'v16'
vector.c: v16 v16;
vector.c: ^
vector.c: vector.h:987:3: error: unknown type name 'v8'
vector.c: v8 v8;
vector.c: ^
vector.c: ...
vector.c: vector.c: In function 'blake256_update':
vector.c: vector.c:887:15: error: 'v32' undeclared (first use in this function)
vector.c: round256((v32*)S->gt;buf, (v32*)S->gt;h,
vector.c: ^
vector.c: vector.c:887:19: error: expected expression before ')' token
vector.c: round256((v32*)S->gt;buf, (v32*)S->gt;h,
vector.c: ^
vector.c: vector.c:902:19: error: expected expression before ')' token
vector.c: round256((v32*)data, (v32*)S->gt;h,
vector.c: ^

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=loongson2f -mabi=n32 -O2 vect128
gcc -funroll-loops -march=loongson2f -mabi=n32 -O3 vect128
gcc -funroll-loops -march=loongson2f -mabi=n32 -Os vect128
gcc -march=loongson2f -mabi=n32 -O2 vect128
gcc -march=loongson2f -mabi=n32 -O3 vect128
gcc -march=loongson2f -mabi=n32 -Os vect128

Compiler output

Implementation: crypto_hash/blake256/vect128-mmxhack
Compiler: gcc -funroll-loops -march=loongson2f -mabi=n32 -O2
vector.c: In file included from vector.c:7:0:
vector.c: vector.h:968:2: error: #error "I don't know how to vectorize on this architecture."
vector.c: #error "I don't know how to vectorize on this architecture."
vector.c: ^
vector.c: vector.h:982:3: error: unknown type name 'v16'
vector.c: v16 v16;
vector.c: ^
vector.c: vector.h:987:3: error: unknown type name 'v8'
vector.c: v8 v8;
vector.c: ^
vector.c: ...
vector.c: vector.c:64:20: error: invalid initializer
vector.c: static const union cv v257 = CV(257);
vector.c: ^
vector.c: vector.c:65:20: error: invalid initializer
vector.c: static const union cv8 v0 = CV(0);
vector.c: ^
vector.c: vector.c:140:22: fatal error: mmintrin.h: No such file or directory
vector.c: #include gt;
vector.c: ^
vector.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=loongson2f -mabi=n32 -O2 vect128-mmxhack
gcc -funroll-loops -march=loongson2f -mabi=n32 -O3 vect128-mmxhack
gcc -funroll-loops -march=loongson2f -mabi=n32 -Os vect128-mmxhack
gcc -march=loongson2f -mabi=n32 -O2 vect128-mmxhack
gcc -march=loongson2f -mabi=n32 -O3 vect128-mmxhack
gcc -march=loongson2f -mabi=n32 -Os vect128-mmxhack