Implementation notes: amd64, h4atom, crypto_hash/keccakc256

Computer: h4atom
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20160806
Operation: crypto_hash
Primitive: keccakc256
TimeImplementationCompilerBenchmark dateSUPERCOP version
29136opt64lcu24clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
29544opt64lcu6clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
31888opt64lcu24gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
32328opt64u6clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
33256opt64lcu6gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
34488opt64lcu6gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
34640opt64lcu24gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
34800opt64lcu24gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
35392opt64lcu6gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
35584simpleclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
35656opt64u6gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
35896inplacegcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
36520simplegcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
37008simplegcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
37904inplaceclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
38040x86_64_asmgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
38056x86_64_asmgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
38064x86_64_asmgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
38144opt64u6gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
38160opt64u6gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
38464inplacegcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
38664x86_64_asmgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
39520simplegcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
39840inplacegcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
44360opt64lcu24gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
45312opt64lcu6gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
48360sseu2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
49464sseu2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
49488sseu2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
53072simplegcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
53528opt64u6gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
53768sseu2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
54832inplacegcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
62608sseu2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
67440mmxu1clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
67536mmxu1gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
67704mmxu1gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
68216mmxu1gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
75488opt32bi-s2lcu4clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
76464mmxu1gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
80472simple32biclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
81080opt32bi-rvku2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
82464inplace32biclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
85360opt32bi-s2lcu4gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
85664opt32bi-s2lcu4gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
86968opt32bi-rvku2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
87304simple32bigcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
91048opt32biT-s2lcu4clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
93688opt32bi-s2lcu4gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
94232opt32bi-rvku2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
94808simple32bigcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
95480compactgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
95488inplace32bigcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
95504opt32biT-s2lcu4gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
98656opt32bi-rvku2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
98848inplace32bigcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
99320simple32bigcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
102536opt64lcu24shldgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
102856opt32biT-s2lcu4gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
104168opt64lcu24shldgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
104408opt64lcu24shldgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
104688opt32biT-s2lcu4gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
105896opt64lcu24shldclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
107424inplace32bigcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
107688x86_64_shldgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
107744x86_64_shldgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
107816x86_64_shldgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
108320x86_64_shldgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
110888opt64lcu24shldgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
116224opt32bi-s2lcu4gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
127128opt32biT-s2lcu4gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
132176compactclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
133696simple32bigcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
134024inplace32bigcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
135000opt32bi-rvku2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
181960compactgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
201760compactgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
223792compactgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
308608compact8gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
362344compact8gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
375760compact8clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
427720compact8gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
471088compact8gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806

Compiler output

Implementation: crypto_hash/keccakc256/xopu24
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:185:5: error: '__builtin_ia32_vprotqi' needs target feature xop
KeccakF-1600-opt64.c: rounds
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: ./KeccakF-1600-unrolling.macros:17:5: note: expanded from macro 'rounds'
KeccakF-1600-opt64.c: thetaRhoPiChiIotaPrepareTheta( 0, A, E) \
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: ./KeccakF-1600-xop.macros:53:5: note: expanded from macro 'thetaRhoPiChiIotaPrepareTheta'
KeccakF-1600-opt64.c: computeD \
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: ./KeccakF-1600-xop.macros:40:23: note: expanded from macro 'computeD'
KeccakF-1600-opt64.c: Dei = XOR128(Cae, ROL6464same(Cio, 1)); \
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:102:33: note: expanded from macro 'ROL6464same'
KeccakF-1600-opt64.c: #define ROL6464same(a, o) _mm_roti_epi64(a, o)
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/xopintrin.h:250:12: note: expanded from macro '_mm_roti_epi64'
KeccakF-1600-opt64.c: (__m128i)__builtin_ia32_vprotqi((__v2di)(__m128i)(A), (N)); })
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:185:5: error: '__builtin_ia32_vprotqi' needs target feature xop
KeccakF-1600-opt64.c: ./KeccakF-1600-unrolling.macros:17:5: note: expanded from macro 'rounds'
KeccakF-1600-opt64.c: thetaRhoPiChiIotaPrepareTheta( 0, A, E) \
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: ./KeccakF-1600-xop.macros:53:5: note: expanded from macro 'thetaRhoPiChiIotaPrepareTheta'
KeccakF-1600-opt64.c: computeD \
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: ...

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

Compiler output

Implementation: crypto_hash/keccakc256/x86_64_asm
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
KeccakF-1600-x86-64-gas.s: KeccakF-1600-x86-64-gas.s:50:16: error: unknown token in expression
KeccakF-1600-x86-64-gas.s: .equ apState, %rdi
KeccakF-1600-x86-64-gas.s: ^
KeccakF-1600-x86-64-gas.s: KeccakF-1600-x86-64-gas.s:50:16: error: missing expression
KeccakF-1600-x86-64-gas.s: .equ apState, %rdi
KeccakF-1600-x86-64-gas.s: ^
KeccakF-1600-x86-64-gas.s: KeccakF-1600-x86-64-gas.s:52:18: error: unknown token in expression
KeccakF-1600-x86-64-gas.s: .equ aNbrWords, %rdx
KeccakF-1600-x86-64-gas.s: ^
KeccakF-1600-x86-64-gas.s: KeccakF-1600-x86-64-gas.s:52:18: error: missing expression
KeccakF-1600-x86-64-gas.s: .equ aNbrWords, %rdx
KeccakF-1600-x86-64-gas.s: ^
KeccakF-1600-x86-64-gas.s: KeccakF-1600-x86-64-gas.s:55:16: error: unknown token in expression
KeccakF-1600-x86-64-gas.s: .equ xpState, %r9
KeccakF-1600-x86-64-gas.s: ^
KeccakF-1600-x86-64-gas.s: KeccakF-1600-x86-64-gas.s:55:16: error: missing expression
KeccakF-1600-x86-64-gas.s: .equ xpState, %r9
KeccakF-1600-x86-64-gas.s: ^
KeccakF-1600-x86-64-gas.s: KeccakF-1600-x86-64-gas.s:58:12: error: unknown token in expression
KeccakF-1600-x86-64-gas.s: .equ rT1, %rax
KeccakF-1600-x86-64-gas.s: ^
KeccakF-1600-x86-64-gas.s: KeccakF-1600-x86-64-gas.s:58:12: error: missing expression
KeccakF-1600-x86-64-gas.s: .equ rT1, %rax
KeccakF-1600-x86-64-gas.s: ^
KeccakF-1600-x86-64-gas.s: KeccakF-1600-x86-64-gas.s:60:16: error: unknown token in expression
KeccakF-1600-x86-64-gas.s: ...

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

Compiler output

Implementation: crypto_hash/keccakc256/x86_64_shld
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
KeccakF-1600-x86-64-shld-gas.s: KeccakF-1600-x86-64-shld-gas.s:50:16: error: unknown token in expression
KeccakF-1600-x86-64-shld-gas.s: .equ apState, %rdi
KeccakF-1600-x86-64-shld-gas.s: ^
KeccakF-1600-x86-64-shld-gas.s: KeccakF-1600-x86-64-shld-gas.s:50:16: error: missing expression
KeccakF-1600-x86-64-shld-gas.s: .equ apState, %rdi
KeccakF-1600-x86-64-shld-gas.s: ^
KeccakF-1600-x86-64-shld-gas.s: KeccakF-1600-x86-64-shld-gas.s:52:18: error: unknown token in expression
KeccakF-1600-x86-64-shld-gas.s: .equ aNbrWords, %rdx
KeccakF-1600-x86-64-shld-gas.s: ^
KeccakF-1600-x86-64-shld-gas.s: KeccakF-1600-x86-64-shld-gas.s:52:18: error: missing expression
KeccakF-1600-x86-64-shld-gas.s: .equ aNbrWords, %rdx
KeccakF-1600-x86-64-shld-gas.s: ^
KeccakF-1600-x86-64-shld-gas.s: KeccakF-1600-x86-64-shld-gas.s:55:16: error: unknown token in expression
KeccakF-1600-x86-64-shld-gas.s: .equ xpState, %r9
KeccakF-1600-x86-64-shld-gas.s: ^
KeccakF-1600-x86-64-shld-gas.s: KeccakF-1600-x86-64-shld-gas.s:55:16: error: missing expression
KeccakF-1600-x86-64-shld-gas.s: .equ xpState, %r9
KeccakF-1600-x86-64-shld-gas.s: ^
KeccakF-1600-x86-64-shld-gas.s: KeccakF-1600-x86-64-shld-gas.s:58:12: error: unknown token in expression
KeccakF-1600-x86-64-shld-gas.s: .equ rT1, %rax
KeccakF-1600-x86-64-shld-gas.s: ^
KeccakF-1600-x86-64-shld-gas.s: KeccakF-1600-x86-64-shld-gas.s:58:12: error: missing expression
KeccakF-1600-x86-64-shld-gas.s: .equ rT1, %rax
KeccakF-1600-x86-64-shld-gas.s: ^
KeccakF-1600-x86-64-shld-gas.s: KeccakF-1600-x86-64-shld-gas.s:60:16: error: unknown token in expression
KeccakF-1600-x86-64-shld-gas.s: ...

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

Compiler output

Implementation: crypto_hash/keccakc256/xopu24
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
KeccakF-1600-opt64.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:41:0,
KeccakF-1600-opt64.c: from KeccakF-1600-opt64.c:74:
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c: In function 'KeccakPermutationOnWords':
KeccakF-1600-opt64.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h:216:1: error: inlining failed in call to always_inline '_mm_blend_pd': target specific option mismatch
KeccakF-1600-opt64.c: _mm_blend_pd (__m128d __X, __m128d __Y, const int __M)
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:97:43: error: called from here
KeccakF-1600-opt64.c: #define GET64LOHI(a, b) ((__m128i)_mm_blend_pd((__m128d)a, (__m128d)b, 2))
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:94:51: note: in definition of macro 'SWAP64'
KeccakF-1600-opt64.c: #define SWAP64(a) _mm_shuffle_epi32(a, 0x4E)
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:98:40: note: in expansion of macro 'GET64LOHI'
KeccakF-1600-opt64.c: #define GET64HILO(a, b) SWAP64(GET64LOHI(b, a))
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: KeccakF-1600-xop.macros:106:13: note: in expansion of macro 'GET64HILO'
KeccakF-1600-opt64.c: Bsosu = GET64HILO(Bsiso, Bsusa); \
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: KeccakF-1600-xop.macros:123:36: note: in expansion of macro 'thetaRhoPiChiIotaPrepareTheta'
KeccakF-1600-opt64.c: #define thetaRhoPiChiIota(i, A, E) thetaRhoPiChiIotaPrepareTheta(i, A, E)
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: KeccakF-1600-unrolling.macros:40:5: note: in expansion of macro 'thetaRhoPiChiIota'
KeccakF-1600-opt64.c: thetaRhoPiChiIota(23, E, A) \
KeccakF-1600-opt64.c: ^
KeccakF-1600-opt64.c: KeccakF-1600-opt64.c:185:5: note: in expansion of macro 'rounds'
KeccakF-1600-opt64.c: ...

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