Implementation notes: amd64, h4atom, crypto_hash/echosp512

Computer: h4atom
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20160806
Operation: crypto_hash
Primitive: echosp512
TimeImplementationCompilerBenchmark dateSUPERCOP version
196552athlon/athlon64gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
196664athlon/athlon64gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
196960athlon/athlon64gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
196968athlon/athlon64gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
206480powerpc/pp32cv2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
224664generic/opt64gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
225736generic/opt64gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
227368pentium/pentium4v64v2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
227440pentium/pentium4v64v2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
227504pentium/pentium4v64v2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
227528pentium/pentium4v64v2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
229040pentium/pentium4v64v1gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
229040pentium/pentium4v64v1gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
229192pentium/pentium4v64v1gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
229760pentium/pentium4v64v1gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
234880powerpc/pp32cv2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
247448generic/opt32gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
250080generic/opt64gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
254408powerpc/pp32cv2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
255272generic/opt32gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
258384generic/opt32gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
258864generic/opt32clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
260320generic/opt64clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
260944core2/core2v64gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
260952core2/core2v64gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
260968core2/core2v64gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
260976core2/core2v64gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
266280generic/opt64gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
274304powerpc/pp32cv2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
286352powerpc/pp32cv1clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016081220160806
287024generic/opt32gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
299664powerpc/pp32cv1gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
330800powerpc/pp32cv1gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
337856powerpc/pp32cv1gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806
364784powerpc/pp32cv2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
442088powerpc/pp32cv1gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806

Test failure

Implementation: crypto_hash/echosp512/aes/aes64
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
error 111

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

Compiler output

Implementation: crypto_hash/echosp512/generic/opt32
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
echo32.c: echo32.c:37:4: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration]
echo32.c: printf ("row %d,col %d :",i,j);
echo32.c: ^
echo32.c: echo32.c:37:4: note: include the header gt; or explicitly provide a declaration for 'printf'
echo32.c: 1 warning generated.

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

Compiler output

Implementation: crypto_hash/echosp512/pentium/pentium4v64v1
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
echo32.s: echo32.c:656:2: error: invalid instruction mnemonic 'addd'
echo32.s: addd [SHA3_CNT], 1
echo32.s: ^
echo32.s: echo32.c:656:2: error: invalid instruction mnemonic 'addd'
echo32.s: addd [SHA3_CNT], 1
echo32.s: ^
echo32.s: echo32.c:656:2: error: invalid instruction mnemonic 'addd'
echo32.s: addd [SHA3_CNT], 1
echo32.s: ^
echo32.s: echo32.c:656:2: error: invalid instruction mnemonic 'addd'
echo32.s: addd [SHA3_CNT], 1
echo32.s: ^
echo32.s: echo32.c:657:2: error: invalid instruction mnemonic 'addd'
echo32.s: addd [SHA3_CNT], 1
echo32.s: ^
echo32.s: echo32.c:657:2: error: invalid instruction mnemonic 'addd'
echo32.s: addd [SHA3_CNT], 1
echo32.s: ^
echo32.s: echo32.c:657:2: error: invalid instruction mnemonic 'addd'
echo32.s: addd [SHA3_CNT], 1
echo32.s: ^
echo32.s: echo32.c:657:2: error: invalid instruction mnemonic 'addd'
echo32.s: addd [SHA3_CNT], 1
echo32.s: ^
echo32.s: echo32.c:658:2: error: invalid instruction mnemonic 'addd'
echo32.s: ...

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

Compiler output

Implementation: crypto_hash/echosp512/generic/opt64
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
echo64.c: echo64.c:555:29: warning: passing 'const unsigned char *' to parameter of type 'BitSequence *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
echo64.c: if (Hash(CRYPTO_BYTES * 8,in,inlen * 8,out) == SUCCESS) return 0;
echo64.c: ^~
echo64.c: echo64.c:542:46: note: passing argument to parameter 'data' here
echo64.c: HashReturn Hash(int hashbitlen, BitSequence *data, DataLength databitlen, BitSequence *hashval)
echo64.c: ^
echo64.c: 1 warning generated.

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

Compiler output

Implementation: crypto_hash/echosp512/core2/core2v64
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
echo64.s: echo64.c:635:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl ebp, ah
echo64.s: ^
echo64.s: echo64.c:635:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl esi, al
echo64.s: ^
echo64.s: echo64.c:635:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl ebp, bl
echo64.s: ^
echo64.s: echo64.c:635:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl esi, bh
echo64.s: ^
echo64.s: echo64.c:635:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl ebp, al
echo64.s: ^
echo64.s: echo64.c:635:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl esi, ah
echo64.s: ^
echo64.s: echo64.c:635:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl ebp, bh
echo64.s: ^
echo64.s: echo64.c:635:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl esi, bl
echo64.s: ^
echo64.s: echo64.c:635:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: ...

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

Compiler output

Implementation: crypto_hash/echosp512/aes/aes64
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
echo64.s: echo64.c:636:2: error: '.att_syntax noprefix' is not supported: registers must have a '%' prefix in .att_syntax
echo64.s: .att_syntax noprefix
echo64.s: ^
echo64.s: echo64.c:636:2: error: unknown directive
echo64.s: .att_syntax noprefix
echo64.s: ^
echo64.s: echo64.s:1053:10: error: invalid token in expression
echo64.s: movabsq $-9187201950435737472, %rax
echo64.s: ^
echo64.s: echo64.s:1053:11: error: unknown token in expression
echo64.s: movabsq $-9187201950435737472, %rax
echo64.s: ^
echo64.s: echo64.s:1054:10: error: invalid token in expression
echo64.s: movabsq $-9187201950435737472, %r11
echo64.s: ^
echo64.s: echo64.s:1054:11: error: unknown token in expression
echo64.s: movabsq $-9187201950435737472, %r11
echo64.s: ^
echo64.s: echo64.s:1055:10: error: invalid token in expression
echo64.s: movabsq $7599940337074203, %r10
echo64.s: ^
echo64.s: echo64.s:1055:11: error: unknown token in expression
echo64.s: movabsq $7599940337074203, %r10
echo64.s: ^
echo64.s: echo64.s:1056:7: error: unknown token in expression
echo64.s: ...

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

Compiler output

Implementation: crypto_hash/echosp512/athlon/athlon64
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
echo64.s: echo64.c:729:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl ebp, ah
echo64.s: ^
echo64.s: echo64.c:729:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl esi, al
echo64.s: ^
echo64.s: echo64.c:729:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl ebp, bl
echo64.s: ^
echo64.s: echo64.c:729:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl esi, bh
echo64.s: ^
echo64.s: echo64.c:729:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl ebp, al
echo64.s: ^
echo64.s: echo64.c:729:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl esi, ah
echo64.s: ^
echo64.s: echo64.c:729:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl ebp, bh
echo64.s: ^
echo64.s: echo64.c:729:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: movzbl esi, bl
echo64.s: ^
echo64.s: echo64.c:729:2: error: invalid instruction mnemonic 'movzbl'
echo64.s: ...

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

Compiler output

Implementation: crypto_hash/echosp512/pentium/pentium4v64v2
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
echo64.s: echo64.c:735:2: error: invalid instruction mnemonic 'addd'
echo64.s: addd [SHA3_CNT], 1
echo64.s: ^
echo64.s: echo64.c:735:2: error: invalid instruction mnemonic 'addd'
echo64.s: addd [SHA3_CNT], 1
echo64.s: ^
echo64.s: echo64.c:735:2: error: invalid instruction mnemonic 'addd'
echo64.s: addd [SHA3_CNT], 1
echo64.s: ^
echo64.s: echo64.c:735:2: error: invalid instruction mnemonic 'addd'
echo64.s: addd [SHA3_CNT], 1
echo64.s: ^
echo64.s: echo64.c:736:2: error: invalid instruction mnemonic 'addd'
echo64.s: addd [SHA3_CNT], 1
echo64.s: ^
echo64.s: echo64.c:736:2: error: invalid instruction mnemonic 'addd'
echo64.s: addd [SHA3_CNT], 1
echo64.s: ^
echo64.s: echo64.c:736:2: error: invalid instruction mnemonic 'addd'
echo64.s: addd [SHA3_CNT], 1
echo64.s: ^
echo64.s: echo64.c:736:2: error: invalid instruction mnemonic 'addd'
echo64.s: addd [SHA3_CNT], 1
echo64.s: ^
echo64.s: echo64.c:737:2: error: invalid instruction mnemonic 'addd'
echo64.s: ...

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

Compiler output

Implementation: crypto_hash/echosp512/generic/opt32
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
echo32.c: echo32.c: In function 'PrintState':
echo32.c: echo32.c:37:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
echo32.c: printf ("row %d,col %d :",i,j);
echo32.c: ^
echo32.c: echo32.c:37:4: warning: incompatible implicit declaration of built-in function 'printf'
echo32.c: echo32.c:37:4: note: include 'gt;' or provide a declaration of 'printf'
echo32.c: echo32.c:47:2: warning: incompatible implicit declaration of built-in function 'printf'
echo32.c: printf("-----------------------------------\n");
echo32.c: ^
echo32.c: echo32.c:47:2: note: include 'gt;' or provide a declaration of 'printf'

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

Compiler output

Implementation: crypto_hash/echosp512/generic/opt64
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
echo64.c: echo64.c: In function 'crypto_hash_echosp512_generic_opt64':
echo64.c: echo64.c:555:29: warning: passing argument 2 of 'Hash' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
echo64.c: if (Hash(CRYPTO_BYTES * 8,in,inlen * 8,out) == SUCCESS) return 0;
echo64.c: ^
echo64.c: echo64.c:542:12: note: expected 'BitSequence * {aka unsigned char *}' but argument is of type 'const unsigned char *'
echo64.c: HashReturn Hash(int hashbitlen, BitSequence *data, DataLength databitlen, BitSequence *hashval)
echo64.c: ^

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