Implementation notes: amd64, h4atom, crypto_hash/skein512512

Computer: h4atom
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20160806
Operation: crypto_hash
Primitive: skein512512
TimeImplementationCompilerBenchmark dateSUPERCOP version
16320littlegcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
16704optgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
16864littlegcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
16864littlegcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
17056optgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
17064optgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
17784sphlibclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
18032sphlibgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
18080sphlibgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
19120sphlibgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
20840simplegcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
20872simpleclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
21024littlegcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
21192optgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
21352x64gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
21360x64gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
21384x64gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
21688x64gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
22152simplegcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
22376simplegcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
22648sphlibgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
23712sphlib-smallgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
25664sphlib-smallclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
25936sphlib-smallgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
26784sphlib-smallgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
27856simplegcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
29144sphlib-smallgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
60360optclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
62968littleclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
91272sandygcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
91280sandygcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
91280sandygcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
91800sandygcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
95160mmxgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
95544mmxgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
99760mmxgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
99760mmxgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
134640sandyclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806

Compiler output

Implementation: crypto_hash/skein512512/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/skein512512/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;:3:10: error: invalid operand for instruction
skein_block_x64.S: rolq $_RCNT_,%rbx
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/skein512512/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