Implementation notes: amd64, titan0, crypto_hash/prh42s256

Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_hash
Primitive: prh42s256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
11842373 0 014045 804 960refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
13483699 0 017469 804 960refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_hash_prh42s256.a(hash.o): in function `crypto_hash_prh42s256_ref_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `prvhash42s_oneshot'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_hash_prh42s256.a(hash.o): in function `crypto_hash_prh42s256_ref_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `prvhash42s_init'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `prvhash42s_update'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `prvhash42s_final'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_hash_prh42s256.a(hash.o): in function `crypto_hash_prh42s256_ref_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `prvhash42s_update'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `prvhash42s_update'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `prvhash42s_update'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_hash_prh42s256.a(hash.o): in function `crypto_hash_prh42s256_ref_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `prvhash42s_oneshot'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref