Implementation notes: ppc64, power9, crypto_kem/frodokem976aes

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_kem
Primitive: frodokem976aes
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2111685635764 46 062294 756 1984T:optimizedgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
2114832238176 46 064970 756 1984T:optimizedgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
2115396635764 46 062294 756 1984T:optimizedgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
2263822939480 32 064047 724 1960T:optimizedclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2462355943144 32 067647 724 1944T:optimizedclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2481563194072 64 073071 724 1960T:optimizedclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2482131247036 32 073071 724 1960T:optimizedclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2489563243144 32 067647 724 1944T:optimizedclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
2999592210516 32 031913 716 1944T:optimizedclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
3012399510516 32 031913 716 1944T:optimizedclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
4622020011144 32 033097 716 1944T:optimizedclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
4623093611144 32 033097 716 1944T:optimizedclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
7688778013256 32 038370 732 1968T:optimizedgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
7700777913256 32 038370 732 1968T:optimizedgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
828816509816 32 032498 724 1960T:optimizedgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
828916479816 32 032498 724 1960T:optimizedgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
8709345612656 32 037262 732 1968T:optimizedgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
8710141312656 32 037262 732 1968T:optimizedgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
9177764213416 32 038618 732 1968T:optimizedgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
983677199832 32 032594 724 1960T:optimizedgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
10055468412704 32 037322 732 1968T:optimizedgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:13:
aes_ni.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."
aes_ni.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
aes_ni.c: ^
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:13:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
aes_ni.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."
aes_ni.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
aes_ni.c: ^
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:13:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:56:
aes_ni.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."
aes_ni.c: #error \
aes_ni.c: ^
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:15:
aes_ni.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/__wmmintrin_aes.h:37:10: error: invalid conversion between vector type '__m128i' (vector of 2 'long long' values) and integer type 'int' of different size
aes_ni.c: return (__m128i)__builtin_ia32_aesenc128((__v2di)__V, (__v2di)__R);
aes_ni.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes_ni.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/__wmmintrin_aes.h:57:10: error: invalid conversion between vector type '__m128i' (vector of 2 'long long' values) and integer type 'int' of different size
aes_ni.c: return (__m128i)__builtin_ia32_aesenclast128((__v2di)__V, (__v2di)__R);
aes_ni.c: ...

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

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:13:
aes_ni.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."
aes_ni.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
aes_ni.c: ^
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:13:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
aes_ni.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."
aes_ni.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
aes_ni.c: ^
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:13:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:56:
aes_ni.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."
aes_ni.c: #error \
aes_ni.c: ^
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:15:
aes_ni.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/__wmmintrin_aes.h:37:10: error: invalid conversion between vector type '__m128i' (vector of 2 'long long' values) and integer type 'int' of different size
aes_ni.c: return (__m128i)__builtin_ia32_aesenc128((__v2di)__V, (__v2di)__R);
aes_ni.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes_ni.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/__wmmintrin_aes.h:57:10: error: invalid conversion between vector type '__m128i' (vector of 2 'long long' values) and integer type 'int' of different size
aes_ni.c: return (__m128i)__builtin_ia32_aesenclast128((__v2di)__V, (__v2di)__R);
aes_ni.c: ...
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:13:
aes_ni.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."
aes_ni.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
aes_ni.c: ^
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:13:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
aes_ni.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."
aes_ni.c: #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
aes_ni.c: ^
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:13:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/emmintrin.h:43:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/ppc_wrappers/xmmintrin.h:56:
aes_ni.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."
aes_ni.c: #error \
aes_ni.c: ^
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/wmmintrin.h:15:
aes_ni.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/__wmmintrin_aes.h:37:10: error: invalid conversion between vector type '__m128i' (vector of 2 'long long' values) and integer type 'int' of different size
aes_ni.c: return (__m128i)__builtin_ia32_aesenc128((__v2di)__V, (__v2di)__R);
aes_ni.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes_ni.c: /usr/lib/llvm-11/lib/clang/11.0.0/include/__wmmintrin_aes.h:57:10: error: invalid conversion between vector type '__m128i' (vector of 2 'long long' values) and integer type 'int' of different size
aes_ni.c: return (__m128i)__builtin_ia32_aesenclast128((__v2di)__V, (__v2di)__R);
aes_ni.c: ...

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

Compiler output

Implementation: T:x64
Security model: timingleaks
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aes_ni.c: aes_ni.c:6:10: fatal error: wmmintrin.h: No such file or directory
aes_ni.c: 6 | #include <wmmintrin.h>
aes_ni.c: | ^~~~~~~~~~~~~
aes_ni.c: compilation terminated.

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

Namespace violations

Implementation: T:optimized
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes.o AES128_free_schedule T
aes.o AES256_free_schedule T
aes.o handleErrors T
fips202.o KeccakF1600_StatePermute T
fips202.o shake128 T
fips202.o shake128_absorb T
fips202.o shake128_squeezeblocks T
fips202.o shake256 T
fips202.o shake256_absorb T
fips202.o shake256_squeezeblocks T
frodo976.o CDF_TABLE D
frodo976.o CDF_TABLE_LEN D
frodo976.o frodo_add T
frodo976.o frodo_key_decode T
frodo976.o frodo_key_encode T
frodo976.o frodo_mul_add_as_plus_e T
frodo976.o frodo_mul_add_sa_plus_e T
frodo976.o frodo_mul_add_sb_plus_e T
frodo976.o frodo_mul_bs T
frodo976.o frodo_sample_n T
frodo976.o frodo_sub T
util.o clear_bytes T
util.o frodo_pack T
util.o frodo_unpack T

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

Namespace violations

Implementation: T:optimized
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes.o AES128_free_schedule T
aes.o AES128_free_schedule T
aes.o AES256_free_schedule T
aes.o AES256_free_schedule T
aes.o handleErrors T
aes.o handleErrors T
fips202.o KeccakF1600_StatePermute T
fips202.o KeccakF1600_StatePermute T
fips202.o shake128 T
fips202.o shake128 T
fips202.o shake128_absorb T
fips202.o shake128_absorb T
fips202.o shake128_squeezeblocks T
fips202.o shake128_squeezeblocks T
fips202.o shake256 T
fips202.o shake256 T
fips202.o shake256_absorb T
fips202.o shake256_absorb T
fips202.o shake256_squeezeblocks T
fips202.o shake256_squeezeblocks T
frodo976.o CDF_TABLE D
frodo976.o CDF_TABLE D
frodo976.o CDF_TABLE_LEN D
frodo976.o CDF_TABLE_LEN D
frodo976.o frodo_add T
frodo976.o frodo_add T
frodo976.o frodo_key_decode T
frodo976.o frodo_key_decode T
frodo976.o frodo_key_encode T
frodo976.o frodo_key_encode T
frodo976.o frodo_mul_add_as_plus_e T
frodo976.o frodo_mul_add_as_plus_e T
frodo976.o frodo_mul_add_sa_plus_e T
frodo976.o frodo_mul_add_sa_plus_e T
frodo976.o frodo_mul_add_sb_plus_e T
frodo976.o frodo_mul_add_sb_plus_e T
frodo976.o frodo_mul_bs T
frodo976.o frodo_mul_bs T
frodo976.o frodo_sample_n T
frodo976.o frodo_sample_n T
frodo976.o frodo_sub T
frodo976.o frodo_sub T
util.o clear_bytes T
util.o clear_bytes T
util.o frodo_pack T
util.o frodo_pack T
util.o frodo_unpack T
util.o frodo_unpack T

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