Implementation notes: amd64, wintermute, crypto_hash/simd512

Computer: wintermute
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20140505
Operation: crypto_hash
Primitive: simd512
TimeImplementationCompilerBenchmark dateSUPERCOP version
68492sphlibclang -O3 -mavx22014050820140505
72436sphlibclang -O3 -mavx2014050820140505
73184sphlibclang -O32014050820140505
81940sphlib-smallclang -O3 -mavx22014050820140505
85256sphlib-smallclang -O3 -mavx2014050820140505
85472sphlib-smallclang -O32014050820140505
120536optclang -O3 -mavx22014050820140505
126480optclang -O32014050820140505
127196optclang -O3 -mavx2014050820140505
282388sphlibcc2014050820140505
330952sphlib-smallcc2014050820140505
588136optcc2014050820140505
5850524refclang -O32014050820140505
5860124refclang -O3 -mavx22014050820140505
5863736refclang -O3 -mavx2014050820140505
16099488refcc2014050820140505

Compiler output

Implementation: crypto_hash/simd512/ref
Compiler: cc
reference.c: reference.c:69:82: warning: expression result unused [-Wunused-value]
reference.c: state->gt;A[j] = state->gt;D[j] + w[j] + F(state->gt;A[j], state->gt;B[j], state->gt;C[j]), s;
reference.c: ^
reference.c: 1 warning generated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
cc ref
clang -O3 ref
clang -O3 -mavx ref
clang -O3 -mavx2 ref

Compiler output

Implementation: crypto_hash/simd512/vect128
Compiler: cc
vector.c: vector.c:73:9: warning: 'X' macro redefined
vector.c: #define X(i) X##i
vector.c: ^
vector.c: vector.c:68:9: note: previous definition is here
vector.c: #define X(i) A[i]
vector.c: ^
vector.c: vector.c:129:3: error: use of unknown builtin '__builtin_ia32_pcmpgtw128' [-Wimplicit-function-declaration]
vector.c: DO_REDUCE_FULL_S(0);
vector.c: ^
vector.c: vector.c:56:12: note: expanded from macro 'DO_REDUCE_FULL_S'
vector.c: X(i) = EXTRA_REDUCE_S(X(i)); \
vector.c: ^
vector.c: vector.c:42:32: note: expanded from macro 'EXTRA_REDUCE_S'
vector.c: v16_sub(x, v16_and(V257.v16, v16_cmp(x, V128.v16)))
vector.c: ^
vector.c: ./vector.h:92:22: note: expanded from macro 'v16_cmp'
vector.c: #define v16_cmp __builtin_ia32_pcmpgtw128
vector.c: ^
vector.c: ./vector.h:68:28: note: expanded from macro 'vec_and'
vector.c: #define vec_and(x,y) ((x)&(y))
vector.c: ^
vector.c: ./vector.h:87:28: note: expanded from macro 'v16_sub'
vector.c: #define v16_sub(x,y) ((x)-(y))
vector.c: ^
vector.c: vector.c:129:3: error: can't convert between vector values of different size ('v16' (aka 'v8hi') and 'int')
vector.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
cc vect128
clang -O3 vect128
clang -O3 -mavx vect128
clang -O3 -mavx2 vect128