Implementation notes: amd64, hydra7, crypto_hash/echosp512

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: echosp512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
7839019978 0 131821 804 992T:generic/opt64gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
7860224594 0 137701 804 992T:generic/opt64gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
7880020363 0 130696 780 960T:generic/opt64gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
8053519966 0 131445 804 992T:generic/opt64gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
11472633794 0 1646996 812 992T:powerpc/pp32cv2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
11643325640 0 1636071 788 960T:powerpc/pp32cv2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
12043529122 0 1641076 812 992T:powerpc/pp32cv2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
12688227971 0 1639556 812 992T:powerpc/pp32cv2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
16171021698 0 1634900 812 992T:powerpc/pp32cv1gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
16386118418 0 1630372 812 992T:powerpc/pp32cv1gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
17140616947 0 1627383 788 960T:powerpc/pp32cv1gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
17487618240 0 1629828 812 992T:powerpc/pp32cv1gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


try.c: /usr/bin/ld: libcrypto_hash_echosp512.a(echo64.o): relocation R_X86_64_32S against symbol `OLDCV' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:aes/aes64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:aes/aes64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:aes/aes64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:aes/aes64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


echo64.S: echo64.c: Assembler messages:
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,ah'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,al'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,bl'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,bh'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,al'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,ah'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,bh'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,bl'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,ah'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,al'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,bl'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,bh'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,al'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,ah'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,bl'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,bh'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,dl'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,dh'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,ch'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,cl'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,cl'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,ch'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl ebp,dh'
echo64.S: echo64.c:729: Error: no such instruction: `movzbl esi,dl'
echo64.S: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:athlon/athlon64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:athlon/athlon64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:athlon/athlon64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:athlon/athlon64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


echo64.S: echo64.c: Assembler messages:
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,ah'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,al'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,bl'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,bh'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,al'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,ah'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,bh'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,bl'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,ah'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,al'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,bl'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,bh'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,al'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,ah'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,bl'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,bh'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,dl'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,dh'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,ch'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,cl'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,cl'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,ch'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl ebp,dh'
echo64.S: echo64.c:635: Error: no such instruction: `movzbl esi,dl'
echo64.S: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:core2/core2v64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:core2/core2v64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:core2/core2v64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:core2/core2v64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


echo32.c: echo32.c: In function 'PrintState':
echo32.c: echo32.c:37:25: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
echo32.c:    37 |                         printf ("row %d,col %d :",i,j);
echo32.c:       |                         ^~~~~~
echo32.c: echo32.c:12:1: note: include '<stdio.h>' or provide a declaration of 'printf'
echo32.c:    11 | #include "api.h"
echo32.c:   +++ |+#include <stdio.h>
echo32.c:    12 |
echo32.c: echo32.c:37:25: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
echo32.c:    37 |                         printf ("row %d,col %d :",i,j);
echo32.c:       |                         ^~~~~~
echo32.c: echo32.c:37:25: note: include '<stdio.h>' or provide a declaration of 'printf'
echo32.c: echo32.c:47:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
echo32.c:    47 |         printf("-----------------------------------\n");
echo32.c:       |         ^~~~~~
echo32.c: echo32.c:47:9: note: include '<stdio.h>' or provide a declaration of 'printf'
echo32.c: echo32.c: In function 'Init':
echo32.c: echo32.c:126:23: warning: unused variable 'endianess' [-Wunused-variable]
echo32.c:   126 |         unsigned char endianess;
echo32.c:       |                       ^~~~~~~~~
echo32.c: echo32.c:125:25: warning: unused variable 'j' [-Wunused-variable]
echo32.c:   125 |         unsigned int i, j;
echo32.c:       |                         ^
echo32.c: echo32.c: In function 'Compress':
echo32.c: echo32.c:398:32: warning: unused variable 'c1' [-Wunused-variable]
echo32.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:generic/opt32gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:generic/opt32gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:generic/opt32gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:generic/opt32gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


echo64.c: echo64.c: In function 'Compress':
echo64.c: echo64.c:318:30: warning: unused variable 'WT5' [-Wunused-variable]
echo64.c:   318 |     WT0, WT1, WT2, WT3, WT4, WT5;
echo64.c:       |                              ^~~
echo64.c: echo64.c: In function 'Final':
echo64.c: echo64.c:486:16: warning: unused variable 'i' [-Wunused-variable]
echo64.c:   486 |   unsigned int i;
echo64.c:       |                ^
echo64.c: echo64.c: In function 'crypto_hash_echosp512_generic_opt64_timingleaks':
echo64.c: echo64.c:555:29: warning: passing argument 2 of 'Hash' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
echo64.c:   555 |   if (Hash(CRYPTO_BYTES * 8,in,inlen * 8,out) == SUCCESS) return 0;
echo64.c:       |                             ^~
echo64.c: echo64.c:542:46: note: expected 'BitSequence *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
echo64.c:   542 | HashReturn Hash(int hashbitlen, BitSequence *data, DataLength databitlen, BitSequence *hashval)
echo64.c:       |                                 ~~~~~~~~~~~~~^~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:generic/opt64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:generic/opt64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:generic/opt64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:generic/opt64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_hash_echosp512.a(echo32.o): relocation R_X86_64_32S against symbol `SHA3_R' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:pentium/pentium4v64v1gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:pentium/pentium4v64v1gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:pentium/pentium4v64v1gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:pentium/pentium4v64v1gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_hash_echosp512.a(echo64.o): relocation R_X86_64_32S against symbol `SHA3_R' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:pentium/pentium4v64v2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:pentium/pentium4v64v2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:pentium/pentium4v64v2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:pentium/pentium4v64v2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


echo32.c: echo32.c: In function 'Init':
echo32.c: echo32.c:107:23: warning: unused variable 'endianess' [-Wunused-variable]
echo32.c:   107 |         unsigned char endianess;
echo32.c:       |                       ^~~~~~~~~
echo32.c: echo32.c:106:25: warning: unused variable 'j' [-Wunused-variable]
echo32.c:   106 |         unsigned int i, j;
echo32.c:       |                         ^
echo32.c: echo32.c: In function 'Compress':
echo32.c: echo32.c:512:32: warning: unused variable 'c1' [-Wunused-variable]
echo32.c:   512 |         unsigned long long c0, c1;
echo32.c:       |                                ^~
echo32.c: echo32.c:512:28: warning: unused variable 'c0' [-Wunused-variable]
echo32.c:   512 |         unsigned long long c0, c1;
echo32.c:       |                            ^~
echo32.c: echo32.c: In function 'Final':
echo32.c: echo32.c:641:28: warning: unused variable 'messlen_h' [-Wunused-variable]
echo32.c:   641 |         unsigned long long messlen_h = 0;
echo32.c:       |                            ^~~~~~~~~
echo32.c: echo32.c:640:28: warning: unused variable 'messlen_l' [-Wunused-variable]
echo32.c:   640 |         unsigned long long messlen_l = 0;
echo32.c:       |                            ^~~~~~~~~
echo32.c: echo32.c:639:28: warning: unused variable 'hashlen' [-Wunused-variable]
echo32.c:   639 |         unsigned short int hashlen = 0;
echo32.c:       |                            ^~~~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:powerpc/pp32cv1gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:powerpc/pp32cv1gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:powerpc/pp32cv1gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:powerpc/pp32cv1gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


echo32.c: echo32.c: In function 'Init':
echo32.c: echo32.c:107:23: warning: unused variable 'endianess' [-Wunused-variable]
echo32.c:   107 |         unsigned char endianess;
echo32.c:       |                       ^~~~~~~~~
echo32.c: echo32.c:106:25: warning: unused variable 'j' [-Wunused-variable]
echo32.c:   106 |         unsigned int i, j;
echo32.c:       |                         ^
echo32.c: echo32.c: In function 'Compress':
echo32.c: echo32.c:480:32: warning: unused variable 'c1' [-Wunused-variable]
echo32.c:   480 |         unsigned long long c0, c1;
echo32.c:       |                                ^~
echo32.c: echo32.c:480:28: warning: unused variable 'c0' [-Wunused-variable]
echo32.c:   480 |         unsigned long long c0, c1;
echo32.c:       |                            ^~
echo32.c: echo32.c: In function 'Final':
echo32.c: echo32.c:609:28: warning: unused variable 'messlen_h' [-Wunused-variable]
echo32.c:   609 |         unsigned long long messlen_h = 0;
echo32.c:       |                            ^~~~~~~~~
echo32.c: echo32.c:608:28: warning: unused variable 'messlen_l' [-Wunused-variable]
echo32.c:   608 |         unsigned long long messlen_l = 0;
echo32.c:       |                            ^~~~~~~~~
echo32.c: echo32.c:607:28: warning: unused variable 'hashlen' [-Wunused-variable]
echo32.c:   607 |         unsigned short int hashlen = 0;
echo32.c:       |                            ^~~~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:powerpc/pp32cv2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:powerpc/pp32cv2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:powerpc/pp32cv2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:powerpc/pp32cv2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)