Implementation notes: ppc64, power9, crypto_aead/aes128n12t8clocv3

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_aead
Primitive: aes128n12t8clocv3
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
14898921497 0 038195 676 1192T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
14936621497 0 038195 676 1192T:refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
14991322497 0 042825 684 1200T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
15694521381 0 037523 676 1192T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
15714545690 0 044777 684 1200T:refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
15748422745 0 042569 684 1192T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
15767522745 0 042569 684 1192T:refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
15767822845 0 044777 684 1200T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
15784821381 0 037523 676 1192T:refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
16817626151 0 045635 676 1208T:refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
16818926151 0 045635 676 1208T:refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
16969029707 0 050579 676 1224T:refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
17086624145 0 040919 668 1200T:refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
17086729707 0 050579 676 1224T:refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
17153324193 0 041047 668 1200T:refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
17229026199 0 045687 676 1208T:refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
17485629875 0 051023 676 1224T:refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
17668525195 0 043615 676 1208T:refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
17806125195 0 043615 676 1208T:refgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
17863025223 0 043647 676 1208T:refgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
19602424145 0 040919 668 1200T:refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326

Compiler output

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

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

Compiler output

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

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

Compiler output

Implementation: T:aesni
Security model: timingleaks
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: In file included from encrypt.c:5:
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 encrypt.c:5:
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 encrypt.c:6:
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: In file included from /usr/lib/gcc/powerpc64le-linux-gnu/10/include/emmintrin.h:66,
encrypt.c: from encrypt.c:6:
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: encrypt.c:7:10: fatal error: wmmintrin.h: No such file or directory
encrypt.c: 7 | #include <wmmintrin.h> /* SSSE3 instructions */
encrypt.c: | ^~~~~~~~~~~~~
encrypt.c: compilation terminated.

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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes_core.o AES_decrypt T
aes_core.o AES_encrypt T
aes_core.o AES_set_decrypt_key T
aes_core.o AES_set_encrypt_key T
aes_core.o print_state T
cloc.o ae_encrypt T
cloc.o ae_init T
cloc.o process_ad T
utils.o print_cxt T
utils.o pstate T
utils.o pstate2 T
utils.o xor_block T
utils.o xor_bytes T
utils.o xor_bytes2 T

Number of similar (compiler,implementation) pairs: 20, 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
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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes_core.o AES_decrypt T
aes_core.o AES_decrypt T
aes_core.o AES_encrypt T
aes_core.o AES_encrypt T
aes_core.o AES_set_decrypt_key T
aes_core.o AES_set_decrypt_key T
aes_core.o AES_set_encrypt_key T
aes_core.o AES_set_encrypt_key T
aes_core.o print_state T
aes_core.o print_state T
cloc.o ae_encrypt T
cloc.o ae_encrypt T
cloc.o ae_init T
cloc.o ae_init T
cloc.o process_ad T
cloc.o process_ad T
utils.o print_cxt T
utils.o print_cxt T
utils.o pstate T
utils.o pstate T
utils.o pstate2 T
utils.o pstate2 T
utils.o xor_block T
utils.o xor_block T
utils.o xor_bytes T
utils.o xor_bytes T
utils.o xor_bytes2 T
utils.o xor_bytes2 T

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