Implementation notes: ppc64, power9, crypto_hash/prh64s256

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_hash
Primitive: prh64s256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
13602476 0 019411 676 1096refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
13712452 0 019651 676 1096refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
14122476 0 019411 676 1096refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326

Compiler output

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

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
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: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_hash_prh64s256.a(hash.o): in function `crypto_hash_prh64s256_ref_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `prvhash64s_oneshot'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
try.c: /usr/bin/ld: libcrypto_hash_prh64s256.a(hash.o): in function `crypto_hash_prh64s256_ref_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `prvhash64s_oneshot'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_hash_prh64s256.a(hash.o): in function `crypto_hash_prh64s256_ref_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `prvhash64s_update'
try.c: /usr/bin/ld: hash.c:(.text+0x...): undefined reference to `prvhash64s_final'
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 -Os -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: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_hash_prh64s256.a(hash.o): in function `crypto_hash_prh64s256_ref_constbranchindex':
try.c: hash.c:(.text+0x...): undefined reference to `prvhash64s_final'
try.c: collect2: error: ld returned 1 exit status

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

Compiler output

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

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

Compiler output

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

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