Implementation notes: amd64, waldorf, crypto_hash/skein512256

Computer: waldorf
Architecture: amd64
CPU ID: GenuineIntel-000106e5-bfebfbff
SUPERCOP version: 20160715
Operation: crypto_hash
Primitive: skein512256
TimeImplementationCompilerBenchmark dateSUPERCOP version
20512optgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
20752sphlibgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
21252sphlibgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
21252littlegcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
21276sphlibclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715
21912optgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
22292littlegcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
22328simplegcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
22740sandygcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
22840sandygcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
23376x64gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
23464littlegcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
23496littlegcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
24140optgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
24500simpleclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715
24760sandygcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
24776sphlibgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
25124x64gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
25192sphlib-smallgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
25348optgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
25832x64gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
26536x64gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
26536simplegcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
26872simplegcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
27028sphlib-smallgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
27132simplegcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
27464sandygcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
29392sphlib-smallgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
30164sphlibgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
30492sphlib-smallclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715
30684mmxgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
31964sphlib-smallgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016071820160715
32584mmxgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016071820160715
34576mmxgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016071820160715
35632mmxgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016071820160715
67060optclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715
67932sandyclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715
71276littleclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016071820160715

Compiler output

Implementation: crypto_hash/skein512256/mmx
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
hash.c: hash.c:65:17: warning: implicit declaration of function '_mm_add_si64' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: ts[0] = _mm_add_si64(ts[0],_mm_set_pi32(0,byteCntAdd));
hash.c: ^
hash.c: hash.c:65:15: error: assigning to '__m64' (vector of 1 'long long' value) from incompatible type 'int'
hash.c: ts[0] = _mm_add_si64(ts[0],_mm_set_pi32(0,byteCntAdd));
hash.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash.c: hash.c:106:12: error: assigning to '__m64' (vector of 1 'long long' value) from incompatible type 'int'
hash.c: X0 = _mm_add_si64(X0,ks[0]);
hash.c: ^ ~~~~~~~~~~~~~~~~~~~~~~
hash.c: hash.c:107:12: error: assigning to '__m64' (vector of 1 'long long' value) from incompatible type 'int'
hash.c: X1 = _mm_add_si64(X1,ks[1]);
hash.c: ^ ~~~~~~~~~~~~~~~~~~~~~~
hash.c: hash.c:108:12: error: assigning to '__m64' (vector of 1 'long long' value) from incompatible type 'int'
hash.c: X2 = _mm_add_si64(X2,ks[2]);
hash.c: ^ ~~~~~~~~~~~~~~~~~~~~~~
hash.c: hash.c:109:12: error: assigning to '__m64' (vector of 1 'long long' value) from incompatible type 'int'
hash.c: X3 = _mm_add_si64(X3,ks[3]);
hash.c: ^ ~~~~~~~~~~~~~~~~~~~~~~
hash.c: hash.c:110:12: error: assigning to '__m64' (vector of 1 'long long' value) from incompatible type 'int'
hash.c: X4 = _mm_add_si64(X4,ks[4]);
hash.c: ^ ~~~~~~~~~~~~~~~~~~~~~~
hash.c: hash.c:111:12: error: assigning to '__m64' (vector of 1 'long long' value) from incompatible type 'int'
hash.c: X5 = _mm_add_si64(X5,_mm_add_si64(ks[5],ts[0]));
hash.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash.c: hash.c:112:12: error: assigning to '__m64' (vector of 1 'long long' value) from incompatible type 'int'
hash.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments mmx

Compiler output

Implementation: crypto_hash/skein512256/x64
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
skein_block_x64.S: skein_block_x64.S:336:61: warning: trigraph ignored [-Wtrigraphs]
skein_block_x64.S: addq $LOCAL_SIZE,%rsp #get rid of locals (wipe??)
skein_block_x64.S: ^
skein_block_x64.S: skein_block_x64.S:427:13: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode]
skein_block_x64.S: .elseif ((\useAddOp + 0) == 0)
skein_block_x64.S: ^
skein_block_x64.S: 2 warnings generated.
skein_block_x64.S: skein_block_x64.S:16:5: error: unknown directive
skein_block_x64.S: .altmacro
skein_block_x64.S: ^
skein_block_x64.S: skein_block_x64.S:17:5: error: unknown directive
skein_block_x64.S: .psize 0,128 #list file has no page boundaries
skein_block_x64.S: ^
skein_block_x64.S: gt;:2:7: error: expected absolute expression
skein_block_x64.S: .if _RCNT_ #is there anything to do?
skein_block_x64.S: ^
skein_block_x64.S: gt;:6:5: note: while in macro instantiation
skein_block_x64.S: RotL64 rbx, 256,%((4*_Rbase_+0) % 8),0
skein_block_x64.S: ^
skein_block_x64.S: skein_block_x64.S:616:1: note: while in macro instantiation
skein_block_x64.S: .rept _UNROLL_CNT*2
skein_block_x64.S: ^
skein_block_x64.S: gt;:1:10: error: invalid reassignment of non-absolute variable '_RCNT_'
skein_block_x64.S: _RCNT_ = RC_256&_%((4*_Rbase_+0)%8)&_1
skein_block_x64.S: ^
skein_block_x64.S: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments x64

Compiler output

Implementation: crypto_hash/skein512256/x64
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
skein_block_x64.S: skein_block_x64.S:336:61: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs]
skein_block_x64.S: addq $LOCAL_SIZE,%rsp #get rid of locals (wipe??)
skein_block_x64.S: ^

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