Implementation notes: amd64, h4atom, crypto_hash/keccakc1024

Computer: h4atom
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20160806
Operation: crypto_hash
Primitive: keccakc1024
TimeImplementationCompilerBenchmark dateSUPERCOP version
62648opt64lcu24clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
63168opt64lcu6clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
67392opt64lcu24gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
69200opt64lcu6gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
70176opt64u6clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
73704opt64lcu6gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
73928opt64lcu24gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
73976opt64lcu24gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
74952opt64lcu6gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
74984simpleclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
75008opt64u6gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
75888sphlibclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
75912inplacegcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
77272simplegcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
78528sphlib-smallclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
79024simplegcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
79960inplaceclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
80312x86_64_asmgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
80320x86_64_asmgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
80432x86_64_asmgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
80552x86_64_asmgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
82232inplacegcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
82784opt64u6gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
84336opt64u6gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
85048inplacegcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
85088simplegcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
91056sphlibgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
92480sphlibgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
93216sphlibgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
95448opt64lcu24gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
98168opt64lcu6gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
98360sphlib-smallgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
101240sphlib-smallgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
101576sseu2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
102104sphlib-smallgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
106272sseu2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
106272sseu2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
113056sseu2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
114312simplegcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
116312opt64u6gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
117920inplacegcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
121976sphlibgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
128712sphlib-smallgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
137880sseu2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
146496mmxu1gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
148184mmxu1gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
148720mmxu1gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
153240mmxu1clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
154224opt32bi-s2lcu4clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
166168simple32biclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
166784mmxu1gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
168128opt32bi-rvku2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
168344opt32bi-s2lcu4gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
168376opt32biT-s2lcu4clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
170544inplace32biclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
171712opt32bi-rvku2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
173408simple32bigcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
174728opt32bi-s2lcu4gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
178608opt32biT-s2lcu4gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
181448opt32bi-s2lcu4gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
191360opt32biT-s2lcu4gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
191384opt32biT-s2lcu4gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
191448inplace32bigcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
194088opt32bi-rvku2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
195920opt32bi-rvku2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
200608simple32bigcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
201152simple32bigcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
206672compactgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
210736inplace32bigcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
218464inplace32bigcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
222064opt64lcu24shldgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
227744opt64lcu24shldgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
227752opt64lcu24shldgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
231456opt64lcu24shldclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
232184opt32bi-s2lcu4gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
233568x86_64_shldgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
233576x86_64_shldgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
233584x86_64_shldgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
233800x86_64_shldgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
241960opt32biT-s2lcu4gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
242536opt64lcu24shldgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
275592simple32bigcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
275976inplace32bigcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
277640opt32bi-rvku2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
287440compactclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
397888compactgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
440840compactgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
496304compactgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
676880compact8gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
795432compact8gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
825792compact8clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
933832compact8gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
1034520compact8gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806

Compiler output

Implementation: crypto_hash/keccakc1024/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/keccakc1024/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/keccakc1024/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/keccakc1024/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