Implementation notes: ppc64, power9, crypto_hash/hamsi

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_hash
Primitive: hamsi

Compiler output

Implementation: T:simd-1
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hamsi.c: In file included from hamsi.c:1:
hamsi.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."
hamsi.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: ^
hamsi.c: In file included from hamsi.c:1:
hamsi.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
hamsi.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."
hamsi.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: ^
hamsi.c: In file included from hamsi.c:1:
hamsi.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
hamsi.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:56:
hamsi.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."
hamsi.c: #error \
hamsi.c: ^
hamsi.c: 3 errors generated.

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

Compiler output

Implementation: T:simd-1
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hamsi.c: In file included from hamsi.c:1:
hamsi.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."
hamsi.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: ^
hamsi.c: In file included from hamsi.c:1:
hamsi.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
hamsi.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."
hamsi.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: ^
hamsi.c: In file included from hamsi.c:1:
hamsi.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
hamsi.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:56:
hamsi.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."
hamsi.c: #error \
hamsi.c: ^
hamsi.c: 3 errors generated.
hamsi.c: In file included from hamsi.c:1:
hamsi.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."
hamsi.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: ^
hamsi.c: In file included from hamsi.c:1:
hamsi.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
hamsi.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."
hamsi.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: ^
hamsi.c: In file included from hamsi.c:1:
hamsi.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
hamsi.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:56:
hamsi.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."
hamsi.c: #error \
hamsi.c: ^
hamsi.c: 3 errors generated.

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

Compiler output

Implementation: T:simd-1
Security model: timingleaks
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hamsi.c: In file included from hamsi.c:1:
hamsi.c: /usr/lib/gcc/powerpc64le-linux-gnu/10/include/emmintrin.h:56:2: error: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: 56 | #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: | ^~~~~
hamsi.c: In file included from /usr/lib/gcc/powerpc64le-linux-gnu/10/include/emmintrin.h:66,
hamsi.c: from hamsi.c:1:
hamsi.c: /usr/lib/gcc/powerpc64le-linux-gnu/10/include/xmmintrin.h:54:2: error: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: 54 | #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: | ^~~~~
hamsi.c: In file included from /usr/lib/gcc/powerpc64le-linux-gnu/10/include/xmmintrin.h:79,
hamsi.c: from /usr/lib/gcc/powerpc64le-linux-gnu/10/include/emmintrin.h:66,
hamsi.c: from hamsi.c:1:
hamsi.c: /usr/lib/gcc/powerpc64le-linux-gnu/10/include/mmintrin.h:52:2: error: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: 52 | #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
hamsi.c: | ^~~~~

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

Compiler output

Implementation: T:sphlib
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hamsi.c: hamsi.c:111:10: fatal error: 'hamsi_helper.c' file not found
hamsi.c: #include "hamsi_helper.c"
hamsi.c: ^~~~~~~~~~~~~~~~
hamsi.c: 1 error generated.

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

Compiler output

Implementation: T:sphlib
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hamsi.c: hamsi.c:111:10: fatal error: 'hamsi_helper.c' file not found
hamsi.c: #include "hamsi_helper.c"
hamsi.c: ^~~~~~~~~~~~~~~~
hamsi.c: 1 error generated.
hamsi.c: hamsi.c:111:10: fatal error: 'hamsi_helper.c' file not found
hamsi.c: #include "hamsi_helper.c"
hamsi.c: ^~~~~~~~~~~~~~~~
hamsi.c: 1 error generated.

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

Compiler output

Implementation: T:sphlib
Security model: timingleaks
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hamsi.c: hamsi.c:111:10: fatal error: hamsi_helper.c: No such file or directory
hamsi.c: 111 | #include "hamsi_helper.c"
hamsi.c: | ^~~~~~~~~~~~~~~~
hamsi.c: compilation terminated.

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