Implementation notes: ppc64, power9, crypto_kem/titaniumccastd

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_kem
Primitive: titaniumccastd

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: In file included from encrypt.c:18:
encrypt.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/x86intrin.h:13:
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:210:16: error: expected identifier or '('
encrypt.c: unsigned int D;
encrypt.c: ^
encrypt.c: ./param.h:28:11: note: expanded from macro 'D'
encrypt.c: #define D 256
encrypt.c: ^
encrypt.c: In file included from encrypt.c:18:
encrypt.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/x86intrin.h:13:
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:211:20: error: cannot take the address of an rvalue of type 'int'
encrypt.c: __builtin_memcpy(&D, &__A, sizeof(__A));
encrypt.c: ^~
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:227:22: error: expected identifier or '('
encrypt.c: unsigned long long D;
encrypt.c: ^
encrypt.c: ./param.h:28:11: note: expanded from macro 'D'
encrypt.c: #define D 256
encrypt.c: ^
encrypt.c: In file included from encrypt.c:18:
encrypt.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/x86intrin.h:13:
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:228:20: error: cannot take the address of an rvalue of type 'int'
encrypt.c: __builtin_memcpy(&D, &__A, sizeof(__A));
encrypt.c: ^~
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:244:9: error: expected identifier or '('
encrypt.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
encrypt.c: In file included from encrypt.c:18:
encrypt.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/x86intrin.h:13:
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:210:16: error: expected identifier or '('
encrypt.c: unsigned int D;
encrypt.c: ^
encrypt.c: ./param.h:28:11: note: expanded from macro 'D'
encrypt.c: #define D 256
encrypt.c: ^
encrypt.c: In file included from encrypt.c:18:
encrypt.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/x86intrin.h:13:
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:211:20: error: cannot take the address of an rvalue of type 'int'
encrypt.c: __builtin_memcpy(&D, &__A, sizeof(__A));
encrypt.c: ^~
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:227:22: error: expected identifier or '('
encrypt.c: unsigned long long D;
encrypt.c: ^
encrypt.c: ./param.h:28:11: note: expanded from macro 'D'
encrypt.c: #define D 256
encrypt.c: ^
encrypt.c: In file included from encrypt.c:18:
encrypt.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/x86intrin.h:13:
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:228:20: error: cannot take the address of an rvalue of type 'int'
encrypt.c: __builtin_memcpy(&D, &__A, sizeof(__A));
encrypt.c: ^~
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:244:9: error: expected identifier or '('
encrypt.c: ...
encrypt.c: In file included from encrypt.c:18:
encrypt.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/x86intrin.h:13:
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:210:16: error: expected identifier or '('
encrypt.c: unsigned int D;
encrypt.c: ^
encrypt.c: ./param.h:28:11: note: expanded from macro 'D'
encrypt.c: #define D 256
encrypt.c: ^
encrypt.c: In file included from encrypt.c:18:
encrypt.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/x86intrin.h:13:
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:211:20: error: cannot take the address of an rvalue of type 'int'
encrypt.c: __builtin_memcpy(&D, &__A, sizeof(__A));
encrypt.c: ^~
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:227:22: error: expected identifier or '('
encrypt.c: unsigned long long D;
encrypt.c: ^
encrypt.c: ./param.h:28:11: note: expanded from macro 'D'
encrypt.c: #define D 256
encrypt.c: ^
encrypt.c: In file included from encrypt.c:18:
encrypt.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/x86intrin.h:13:
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:228:20: error: cannot take the address of an rvalue of type 'int'
encrypt.c: __builtin_memcpy(&D, &__A, sizeof(__A));
encrypt.c: ^~
encrypt.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/ia32intrin.h:244:9: error: expected identifier or '('
encrypt.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
encrypt.c: In file included from encrypt.c:18:
encrypt.c: /usr/lib/gcc/powerpc64le-linux-gnu/10/include/x86intrin.h:32:2: error: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
encrypt.c: 32 | #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
encrypt.c: | ^~~~~
encrypt.c: In file included from /usr/lib/gcc/powerpc64le-linux-gnu/10/include/x86intrin.h:39,
encrypt.c: from encrypt.c:18:
encrypt.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."
encrypt.c: 52 | #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
encrypt.c: | ^~~~~
encrypt.c: In file included from /usr/lib/gcc/powerpc64le-linux-gnu/10/include/x86intrin.h:41,
encrypt.c: from encrypt.c:18:
encrypt.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."
encrypt.c: 54 | #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
encrypt.c: | ^~~~~
encrypt.c: In file included from /usr/lib/gcc/powerpc64le-linux-gnu/10/include/xmmintrin.h:79,
encrypt.c: from /usr/lib/gcc/powerpc64le-linux-gnu/10/include/x86intrin.h:41,
encrypt.c: from encrypt.c:18:
encrypt.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."
encrypt.c: 52 | #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
encrypt.c: | ^~~~~
encrypt.c: In file included from /usr/lib/gcc/powerpc64le-linux-gnu/10/include/x86intrin.h:43,
encrypt.c: from encrypt.c:18:
encrypt.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."
encrypt.c: 56 | #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
encrypt.c: | ^~~~~
encrypt.c: ...

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:opt
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
fastrandombytes.c: In file included from fastrandombytes.c:9:
fastrandombytes.c: ./keccak.h:11:10: fatal error: 'libkeccak.a.headers/SimpleFIPS202.h' file not found
fastrandombytes.c: #include <libkeccak.a.headers/SimpleFIPS202.h>
fastrandombytes.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastrandombytes.c: 1 error generated.

Number of similar (compiler,implementation) pairs: 16, namely:
CompilerImplementations
clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
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:opt
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
fastrandombytes.c: In file included from fastrandombytes.c:9:
fastrandombytes.c: ./keccak.h:11:10: fatal error: 'libkeccak.a.headers/SimpleFIPS202.h' file not found
fastrandombytes.c: #include <libkeccak.a.headers/SimpleFIPS202.h>
fastrandombytes.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastrandombytes.c: 1 error generated.
fastrandombytes.c: In file included from fastrandombytes.c:9:
fastrandombytes.c: ./keccak.h:11:10: fatal error: 'libkeccak.a.headers/SimpleFIPS202.h' file not found
fastrandombytes.c: #include <libkeccak.a.headers/SimpleFIPS202.h>
fastrandombytes.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastrandombytes.c: 1 error generated.

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

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
fastrandombytes.c: In file included from fastrandombytes.c:9:
fastrandombytes.c: keccak.h:11:10: fatal error: libkeccak.a.headers/SimpleFIPS202.h: No such file or directory
fastrandombytes.c: 11 | #include <libkeccak.a.headers/SimpleFIPS202.h>
fastrandombytes.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastrandombytes.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 24, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
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