Implementation notes: ppc64, power9, crypto_sign/sphincss128sha256simple

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_sign
Primitive: sphincss128sha256simple

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:15:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/mmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error \
hash_sha256x8.c: ^
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:20:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: ^
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:20:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:56:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/mmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error \
hash_sha256x8.c: ^
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:25:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:32:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: ^
hash_sha256x8.c: ...

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

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:15:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/mmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error \
hash_sha256x8.c: ^
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:20:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: ^
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:20:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:56:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/mmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error \
hash_sha256x8.c: ^
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:25:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:32:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: ^
hash_sha256x8.c: ...
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:15:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/mmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error \
hash_sha256x8.c: ^
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:20:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: ^
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:20:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:56:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/mmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error \
hash_sha256x8.c: ^
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: In file included from ./sha256avx.h:3:
hash_sha256x8.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/immintrin.h:25:
hash_sha256x8.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:32:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hash_sha256x8.c: ^
hash_sha256x8.c: ...

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

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash_sha256x8.c: In file included from hash_sha256x8.c:10:
hash_sha256x8.c: sha256avx.h:3:10: fatal error: immintrin.h: No such file or directory
hash_sha256x8.c: 3 | #include "immintrin.h"
hash_sha256x8.c: | ^~~~~~~~~~~~~
hash_sha256x8.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_sign_sphincss128sha256simple.a(hash_sha256.o):(.bss+0x0): multiple definition of `state_seeded'; libcrypto_sign_sphincss128sha256simple.a(thash_sha256_simple.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_sign_sphincss128sha256simple.a(sha256.o):(.bss+0x0): multiple definition of `state_seeded'; libcrypto_sign_sphincss128sha256simple.a(thash_sha256_simple.o):(.bss+0x0): first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_sign_sphincss128sha256simple.a(hash_sha256.o):(.bss+0x0): multiple definition of `state_seeded'; libcrypto_sign_sphincss128sha256simple.a(thash_sha256_simple.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_sign_sphincss128sha256simple.a(sha256.o):(.bss+0x0): multiple definition of `state_seeded'; libcrypto_sign_sphincss128sha256simple.a(thash_sha256_simple.o):(.bss+0x0): first defined here
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
try.c: /usr/bin/ld: libcrypto_sign_sphincss128sha256simple.a(hash_sha256.o):(.bss+0x0): multiple definition of `state_seeded'; libcrypto_sign_sphincss128sha256simple.a(thash_sha256_simple.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_sign_sphincss128sha256simple.a(sha256.o):(.bss+0x0): multiple definition of `state_seeded'; libcrypto_sign_sphincss128sha256simple.a(thash_sha256_simple.o):(.bss+0x0): first defined here
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 T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_sign_sphincss128sha256simple.a(hash_sha256.o):(.bss+0x0): multiple definition of `state_seeded'; libcrypto_sign_sphincss128sha256simple.a(thash_sha256_simple.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_sign_sphincss128sha256simple.a(sha256.o):(.bss+0x0): multiple definition of `state_seeded'; libcrypto_sign_sphincss128sha256simple.a(thash_sha256_simple.o):(.bss+0x0): first defined here
try.c: collect2: error: ld returned 1 exit status

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