Implementation notes: amd64, cezanne, crypto_hash/lux256

Computer: cezanne
Microarchitecture: amd64; Zen 3 (a50f00)
Architecture: amd64
CPU ID: AuthenticAMD-00a50f00-178bfbff
SUPERCOP version: 20240716
Operation: crypto_hash
Primitive: lux256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1320974838 96 063200 908 920T:asmclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1321175143 96 063144 908 888T:asmclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1323674934 96 063360 908 920T:asmclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1366274855 96 060558 900 888T:asmclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
1380775232 96 060510 900 888T:asmclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

Compiler output


LUX.c: LUX.c:264:5: warning: implicit declaration of function 'LUX25664' is invalid in C99 [-Wimplicit-function-declaration]
LUX.c:                          LUX25664(&Te0,state->core,state->buffer,data,doneLength);
LUX.c:                          ^
LUX.c: LUX.c:286:4: warning: implicit declaration of function 'LUX51264' is invalid in C99 [-Wimplicit-function-declaration]
LUX.c:                         LUX51264(&T640,state->core64,state->buffer64,data,doneLength);
LUX.c:                         ^
LUX.c: 2 warnings generated.
hash.c: In file included from hash.c:2:
hash.c: ./LUX.c:264:5: warning: implicit declaration of function 'LUX25664' is invalid in C99 [-Wimplicit-function-declaration]
hash.c:                          LUX25664(&Te0,state->core,state->buffer,data,doneLength);
hash.c:                          ^
hash.c: ./LUX.c:286:4: warning: implicit declaration of function 'LUX51264' is invalid in C99 [-Wimplicit-function-declaration]
hash.c:                         LUX51264(&T640,state->core64,state->buffer64,data,doneLength);
hash.c:                         ^
hash.c: 2 warnings generated.

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

Compiler output


LUX.c: LUX.c: In function 'Update':
LUX.c: LUX.c:264:5: warning: implicit declaration of function 'LUX25664' [-Wimplicit-function-declaration]
LUX.c:   264 |     LUX25664(&Te0,state->core,state->buffer,data,doneLength);
LUX.c:       |     ^~~~~~~~
LUX.c: LUX.c:286:4: warning: implicit declaration of function 'LUX51264' [-Wimplicit-function-declaration]
LUX.c:   286 |    LUX51264(&T640,state->core64,state->buffer64,data,doneLength);
LUX.c:       |    ^~~~~~~~
hash.c: In file included from hash.c:2:
hash.c: LUX.c: In function 'Update':
hash.c: LUX.c:264:5: warning: implicit declaration of function 'LUX25664' [-Wimplicit-function-declaration]
hash.c:   264 |     LUX25664(&Te0,state->core,state->buffer,data,doneLength);
hash.c:       |     ^~~~~~~~
hash.c: LUX.c:286:4: warning: implicit declaration of function 'LUX51264' [-Wimplicit-function-declaration]
hash.c:   286 |    LUX51264(&T640,state->core64,state->buffer64,data,doneLength);
hash.c:       |    ^~~~~~~~
try.c: /usr/bin/ld: libcrypto_hash_lux256.a(LUX256-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: libcrypto_hash_lux256.a(LUX512-64.o): relocation R_X86_64_32S against `.data' can not be used when making a PIE object; recompile with -fPIE
try.c: collect2: error: ld returned 1 exit status

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

Namespace violations


LUX.o Final T
LUX.o Hash T
LUX.o Init T
LUX.o Update T
LUX.o compressSmallChunk T
LUX.o compressSmallChunk64 T
LUX256-64.o LUX25664 T
LUX512-64.o LUX51264 T
hash.o Final T
hash.o Hash T
hash.o Init T
hash.o Update T
hash.o compressSmallChunk T
hash.o compressSmallChunk64 T

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