Implementation notes: amd64, h4atom, crypto_hash/keccak

Computer: h4atom
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20160806
Operation: crypto_hash
Primitive: keccak
TimeImplementationCompilerBenchmark dateSUPERCOP version
37728opt64lcu24clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
38200opt64lcu6clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
40584opt64lcu24gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
41784opt64u6clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
42136opt64lcu6gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
43784opt64lcu6gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
44080opt64lcu24gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
44112opt64lcu24gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
44752opt64lcu6gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
45560simpleclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
45784opt64u6gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
45936inplacegcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
46736simplegcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
47544simplegcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
48408inplaceclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
48504x86_64_asmgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
48504x86_64_asmgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
48560x86_64_asmgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
48800x86_64_asmgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
49288opt64u6gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
49416inplacegcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
50176opt64u6gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
51296inplacegcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
51440simplegcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
56736opt64lcu24gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
58376opt64lcu6gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
60808sseu2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
64768sseu2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
64776sseu2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
67624sseu2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
68360simplegcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
69032opt64u6gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
70664inplacegcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
79928sseu2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
85568mmxu1clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
86968mmxu1gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
88184mmxu1gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
88208mmxu1gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
94808opt32bi-s2lcu4clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
98880mmxu1gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
101952simple32biclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
102552opt32bi-rvku2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
104544inplace32biclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
105952opt32bi-s2lcu4gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
106512opt32bi-s2lcu4gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
107936opt32bi-rvku2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
108840simple32bigcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
110584opt32biT-s2lcu4clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
114888opt32bi-s2lcu4gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
115888opt32biT-s2lcu4gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
116472opt32bi-rvku2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
119472inplace32bigcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
120792simple32bigcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
121176opt32bi-rvku2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
123288compactgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
124960opt32biT-s2lcu4gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
125224simple32bigcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
126184inplace32bigcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
127048opt32biT-s2lcu4gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
131832opt64lcu24shldgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
135152opt64lcu24shldgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
135192opt64lcu24shldgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
135208inplace32bigcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
137384opt64lcu24shldclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
139056x86_64_shldgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
139072x86_64_shldgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
139160x86_64_shldgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
139344x86_64_shldgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
143760opt64lcu24shldgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
145816opt32bi-s2lcu4gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
156176opt32biT-s2lcu4gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
169136simple32bigcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
169568inplace32bigcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
171088opt32bi-rvku2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
171128compactclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
235944compactgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
261552compactgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
291216compactgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
400104compact8gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
470632compact8gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
493280compact8clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
552824compact8gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
611720compact8gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806

Compiler output

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