Implementation notes: ppc64, power9, crypto_kem/frodokem1344aes

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_kem
Primitive: frodokem1344aes
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3818776133816 24 060458 724 1984T:optimizedgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
3827766236740 24 063662 724 1984T:optimizedgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
3828676733816 24 060458 724 1984T:optimizedgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
3965030439264 24 063919 716 1960T:optimizedclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
4359712539584 24 064191 716 1944T:optimizedclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
4364529839584 24 064191 716 1944T:optimizedclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
4382665793320 48 072815 716 1960T:optimizedclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
4387826846660 24 072815 716 1960T:optimizedclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
5518542911048 24 032569 708 1944T:optimizedclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
5525408511048 24 032569 708 1944T:optimizedclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
8392439411400 24 033481 708 1944T:optimizedclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
8424430111400 24 033481 708 1944T:optimizedclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
15481624113288 24 038518 724 1968T:optimizedgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
15497585813288 24 038518 724 1968T:optimizedgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
17162304110044 24 032770 716 1960T:optimizedgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
17164530410044 24 032770 716 1960T:optimizedgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
17311800512996 24 037606 724 1968T:optimizedgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
17353285412996 24 037606 724 1968T:optimizedgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
17494969713656 24 038950 724 1968T:optimizedgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
19054142110060 24 032898 716 1960T:optimizedgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
20087058013044 24 037666 724 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
frodo1344.o CDF_TABLE D
frodo1344.o CDF_TABLE_LEN D
frodo1344.o frodo_add T
frodo1344.o frodo_key_decode T
frodo1344.o frodo_key_encode T
frodo1344.o frodo_mul_add_as_plus_e T
frodo1344.o frodo_mul_add_sa_plus_e T
frodo1344.o frodo_mul_add_sb_plus_e T
frodo1344.o frodo_mul_bs T
frodo1344.o frodo_sample_n T
frodo1344.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
frodo1344.o CDF_TABLE D
frodo1344.o CDF_TABLE D
frodo1344.o CDF_TABLE_LEN D
frodo1344.o CDF_TABLE_LEN D
frodo1344.o frodo_add T
frodo1344.o frodo_add T
frodo1344.o frodo_key_decode T
frodo1344.o frodo_key_decode T
frodo1344.o frodo_key_encode T
frodo1344.o frodo_key_encode T
frodo1344.o frodo_mul_add_as_plus_e T
frodo1344.o frodo_mul_add_as_plus_e T
frodo1344.o frodo_mul_add_sa_plus_e T
frodo1344.o frodo_mul_add_sa_plus_e T
frodo1344.o frodo_mul_add_sb_plus_e T
frodo1344.o frodo_mul_add_sb_plus_e T
frodo1344.o frodo_mul_bs T
frodo1344.o frodo_mul_bs T
frodo1344.o frodo_sample_n T
frodo1344.o frodo_sample_n T
frodo1344.o frodo_sub T
frodo1344.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