Implementation notes: amd64, temp, crypto_hash/blake512

Computer: temp
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20191017
Operation: crypto_hash
Primitive: blake512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
744020592 395780 030117 396564 776avxiccgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
744011389 0 020925 784 776sse41gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
753311214 0 019909 760 744sse41gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
768813183 4 20823094 796 984vect128-inplacegcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
771913107 4 20822806 796 984vect128-inplacegcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
778112711 4 20822382 796 984vect128gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
784312807 4 20822686 796 984vect128gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
787412520 4 20821269 764 952vect128gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
889725019 0 034998 792 776sphlibgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
895913778 0 023301 784 776bswapgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
970315500 0 025181 784 776regsgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
970316619 0 029069 784 808regsgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
979615430 0 024949 784 776regsgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
988915316 0 023997 760 744regsgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1007511420 0 021125 784 776sse41gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1016820592 395780 033037 396564 808avxiccgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1016820592 395780 029377 396548 744avxiccgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1041615389 4 20828046 796 1016vect128-inplacegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1066412901 4 20821677 764 952vect128-inplacegcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1112912621 0 025069 784 808sse41gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1125320592 395780 030285 396564 776avxiccgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1134612104 0 024790 792 808sphlib-smallgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1196615013 4 20827638 796 1016vect128gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1215213628 0 022301 760 744bswapgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1271025450 0 035198 792 776sphlibgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1317513788 0 023469 784 776bswapgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1323716180 0 025877 784 776ssse3gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1333016002 0 024685 760 744ssse3gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1345416397 0 025941 784 776ssse3gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1348529064 0 041718 792 808sphlibgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1348524716 0 033581 760 744sphlibgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1351614132 0 023829 784 776sse2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1370214191 0 023733 784 776sse2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1379516676 0 026373 784 776sse2sgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1391916859 0 026405 784 776sse2sgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1506614021 0 022717 760 744sse2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1543815235 0 027685 784 808sse2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1556214927 0 027373 784 808bswapgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
161826330 0 018733 784 808refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
162448121 0 017902 792 776sphlib-smallgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
166477217 0 016077 760 744sphlib-smallgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
172367963 0 017974 792 776sphlib-smallgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
172983691 0 012365 760 744refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
179803977 0 013509 784 776refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1819717299 0 029749 784 808ssse3gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1875517795 0 030245 784 808sse2sgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1894116449 0 025133 760 744sse2sgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
1906513635 0 022301 760 744sandygcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
191273995 0 013677 784 776refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
2027414290 0 023813 784 776sandygcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
2616415543 0 027981 784 808sandygcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017
2870614412 0 024093 784 776sandygcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121920191017

Compiler output

Implementation: vect128-xop
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
vector.c: In file included from vector.c:7:0:
vector.c: vector.c: In function 'round512':
vector.c: vector.h:38:18: error: incompatible types when initializing type 'v64' using type 'int'
vector.c: #define V3264(x) (x)
vector.c: ^
vector.c: vector.h:202:18: note: in expansion of macro 'V3264'
vector.c: #define V864(x) V3264((V1632(V816(x))))
vector.c: ^
vector.c: vector.h:153:22: note: in expansion of macro 'V864'
vector.c: #define v64_lswap(x) V864(vector_shuffle(V648(x), v64_swap_endianness.v8))
vector.c: ...
vector.c: ^
vector.c: vector.c:756:36: note: in expansion of macro 'ROUND'
vector.c: ROUND(12); ROUND(13); ROUND(14); ROUND(15);
vector.c: ^
vector.c: vector.c:745:8: error: incompatible types when assigning to type 'v64' from type 'int'
vector.c: B1 = v64_rotate(B1, 64-11); ^
vector.c: vector.c:756:36: note: in expansion of macro 'ROUND'
vector.c: ROUND(12); ROUND(13); ROUND(14); ROUND(15);
vector.c: ^

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

Compiler output

Implementation: xop
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c: In function 'blake512_compress':
hash.c: hash.c:81:6: error: incompatible types when assigning to type '__m128i' from type 'int'
hash.c: m0 = BSWAP64(m0);
hash.c: ^
hash.c: hash.c:82:6: error: incompatible types when assigning to type '__m128i' from type 'int'
hash.c: m1 = BSWAP64(m1);
hash.c: ^
hash.c: hash.c:83:6: error: incompatible types when assigning to type '__m128i' from type 'int'
hash.c: m2 = BSWAP64(m2);
hash.c: ^
hash.c: ...
hash.c: ^
hash.c: hash.c:231:5: error: incompatible type for argument 2 of '_mm_storeu_si128'
hash.c: _mm_storeu_si128((__m128i*)(digest + 48), BSWAP64(S->h[3]));
hash.c: ^
hash.c: In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/xmmintrin.h:1246:0,
hash.c: from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/x86intrin.h:34,
hash.c: from hash.c:5:
hash.c: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/emmintrin.h:700:1: note: expected '__m128i' but argument is of type 'int'
hash.c: _mm_storeu_si128 (__m128i *__P, __m128i __B)
hash.c: ^

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

Compiler output

Implementation: xop-2
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: hash.c: In function 'blake512_compress':
hash.c: hash.c:92:13: error: incompatible types when assigning to type '__m128i' from type 'int'
hash.c: m.u128[0] = BSWAP64(m.u128[0]);
hash.c: ^
hash.c: hash.c:93:13: error: incompatible types when assigning to type '__m128i' from type 'int'
hash.c: m.u128[1] = BSWAP64(m.u128[1]);
hash.c: ^
hash.c: hash.c:94:13: error: incompatible types when assigning to type '__m128i' from type 'int'
hash.c: m.u128[2] = BSWAP64(m.u128[2]);
hash.c: ^
hash.c: ...
hash.c: ^
hash.c: hash.c:245:5: error: incompatible type for argument 2 of '_mm_storeu_si128'
hash.c: _mm_storeu_si128((__m128i*)(digest + 48), BSWAP64(_mm_load_si128((__m128i*)&S->h[6])));
hash.c: ^
hash.c: In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/xmmintrin.h:1246:0,
hash.c: from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/x86intrin.h:34,
hash.c: from hash.c:5:
hash.c: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/emmintrin.h:700:1: note: expected '__m128i' but argument is of type 'int'
hash.c: _mm_storeu_si128 (__m128i *__P, __m128i __B)
hash.c: ^

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