Implementation notes: amd64, rumba7, crypto_hash/cheetah512

Computer: rumba7
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: cheetah512

Compiler output


Cheetah.c: Cheetah.c:192:8: warning: unused variable 'j' [-Wunused-variable]
Cheetah.c:         int i,j;
Cheetah.c:               ^
Cheetah.c: Cheetah.c:220:4: warning: implicit declaration of function 'Cheetah25664' is invalid in C99 [-Wimplicit-function-declaration]
Cheetah.c:                         Cheetah25664(&Te0,&T640,&state->core, data, totLength);
Cheetah.c:                         ^
Cheetah.c: Cheetah.c:232:4: warning: implicit declaration of function 'Cheetah51264' is invalid in C99 [-Wimplicit-function-declaration]
Cheetah.c:                         Cheetah51264(&Te0,&T640,&state->core64, data, totLength);
Cheetah.c:                         ^
Cheetah.c: Cheetah.c:255:8: warning: unused variable 'j' [-Wunused-variable]
Cheetah.c:         int i,j;
Cheetah.c:               ^
Cheetah.c: 4 warnings generated.
hash.c: In file included from hash.c:2:
hash.c: ./Cheetah.c:192:8: warning: unused variable 'j' [-Wunused-variable]
hash.c:         int i,j;
hash.c:               ^
hash.c: ./Cheetah.c:220:4: warning: implicit declaration of function 'Cheetah25664' is invalid in C99 [-Wimplicit-function-declaration]
hash.c:                         Cheetah25664(&Te0,&T640,&state->core, data, totLength);
hash.c:                         ^
hash.c: ./Cheetah.c:232:4: warning: implicit declaration of function 'Cheetah51264' is invalid in C99 [-Wimplicit-function-declaration]
hash.c:                         Cheetah51264(&Te0,&T640,&state->core64, data, totLength);
hash.c:                         ^
hash.c: ./Cheetah.c:255:8: warning: unused variable 'j' [-Wunused-variable]
hash.c:         int i,j;
hash.c:               ^
hash.c: 4 warnings generated.
Cheetah512-64.s: Cheetah512-64.s:4992:11: error: invalid hexadecimal number
Cheetah512-64.s:     .quad 0x
Cheetah512-64.s:           ^

Number of similar (implementation,compiler) pairs: 10, namely:
ImplementationCompiler
T:asmclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asmclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asmclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asmclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asmclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asm64clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asm64clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asm64clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asm64clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asm64clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


Cheetah.c: Cheetah.c: In function 'Init':
Cheetah.c: Cheetah.c:192:15: warning: unused variable 'j' [-Wunused-variable]
Cheetah.c:   192 |         int i,j;
Cheetah.c:       |               ^
Cheetah.c: Cheetah.c: In function 'Update':
Cheetah.c: Cheetah.c:220:25: warning: implicit declaration of function 'Cheetah25664' [-Wimplicit-function-declaration]
Cheetah.c:   220 |                         Cheetah25664(&Te0,&T640,&state->core, data, totLength);
Cheetah.c:       |                         ^~~~~~~~~~~~
Cheetah.c: Cheetah.c:232:25: warning: implicit declaration of function 'Cheetah51264' [-Wimplicit-function-declaration]
Cheetah.c:   232 |                         Cheetah51264(&Te0,&T640,&state->core64, data, totLength);
Cheetah.c:       |                         ^~~~~~~~~~~~
Cheetah.c: Cheetah.c: In function 'Final':
Cheetah.c: Cheetah.c:255:15: warning: unused variable 'j' [-Wunused-variable]
Cheetah.c:   255 |         int i,j;
Cheetah.c:       |               ^
hash.c: In file included from hash.c:2:
hash.c: Cheetah.c: In function 'Init':
hash.c: Cheetah.c:192:15: warning: unused variable 'j' [-Wunused-variable]
hash.c:   192 |         int i,j;
hash.c:       |               ^
hash.c: Cheetah.c: In function 'Update':
hash.c: Cheetah.c:220:25: warning: implicit declaration of function 'Cheetah25664' [-Wimplicit-function-declaration]
hash.c:   220 |                         Cheetah25664(&Te0,&T640,&state->core, data, totLength);
hash.c:       |                         ^~~~~~~~~~~~
hash.c: Cheetah.c:232:25: warning: implicit declaration of function 'Cheetah51264' [-Wimplicit-function-declaration]
hash.c:   232 |                         Cheetah51264(&Te0,&T640,&state->core64, data, totLength);
hash.c:       |                         ^~~~~~~~~~~~
hash.c: Cheetah.c: In function 'Final':
hash.c: Cheetah.c:255:15: warning: unused variable 'j' [-Wunused-variable]
hash.c:   255 |         int i,j;
hash.c:       |               ^
Cheetah512-64.s: Cheetah512-64.s: Assembler messages:
Cheetah512-64.s: Cheetah512-64.s:4992: Warning: zero assumed for missing expression
try.c: /usr/bin/ld: libcrypto_hash_cheetah512.a(Cheetah256-64.o): relocation R_X86_64_32S against `.data' 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: 8, namely:
ImplementationCompiler
T:asmgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:asmgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:asmgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:asmgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:asm64gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:asm64gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:asm64gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:asm64gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)