Implementation notes: ppc64, power9, crypto_aead/twine80n6clocv1

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_aead
Primitive: twine80n6clocv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5918836243 0 28823146 668 1496T:refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
5930796231 0 28823210 668 1496T:refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
5937706243 0 28823146 668 1496T:refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
6526419231 0 28830206 676 1528T:refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
6526629231 0 28830206 676 1528T:refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
6535129251 0 28830474 676 1528T:refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
6558757967 0 28827554 676 1504T:refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
6678617919 0 28827498 676 1504T:refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
6824907919 0 28827498 676 1504T:refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
7001277627 0 28826134 676 1504T:refgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
7022287679 0 28826198 676 1504T:refgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
7029967679 0 28826198 676 1504T:refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cloc.c: cloc.c:64:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring associated data:", state);
cloc.c: ^
cloc.c: cloc.c:72:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After processing last partial associated data block:", state);
cloc.c: ^
cloc.c: cloc.c:93:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After applying f1/f2 to state:", state);
cloc.c: ^
cloc.c: cloc.c:133:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring message block:", es);
cloc.c: ^
cloc.c: cloc.c:138:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring ciphertext block:", es);
cloc.c: ^
cloc.c: cloc.c:145:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After applying fix1:", es);
cloc.c: ^
cloc.c: cloc.c:154:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring last partial message block:", es);
cloc.c: ^
cloc.c: cloc.c:159:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring last partial ciphertext block:", es);
cloc.c: ^
cloc.c: cloc.c:163:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cloc.c: cloc.c:64:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring associated data:", state);
cloc.c: ^
cloc.c: cloc.c:72:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After processing last partial associated data block:", state);
cloc.c: ^
cloc.c: cloc.c:93:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After applying f1/f2 to state:", state);
cloc.c: ^
cloc.c: cloc.c:133:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring message block:", es);
cloc.c: ^
cloc.c: cloc.c:138:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring ciphertext block:", es);
cloc.c: ^
cloc.c: cloc.c:145:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After applying fix1:", es);
cloc.c: ^
cloc.c: cloc.c:154:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring last partial message block:", es);
cloc.c: ^
cloc.c: cloc.c:159:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring last partial ciphertext block:", es);
cloc.c: ^
cloc.c: cloc.c:163:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: ...
cloc.c: cloc.c:64:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring associated data:", state);
cloc.c: ^
cloc.c: cloc.c:72:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After processing last partial associated data block:", state);
cloc.c: ^
cloc.c: cloc.c:93:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After applying f1/f2 to state:", state);
cloc.c: ^
cloc.c: cloc.c:133:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring message block:", es);
cloc.c: ^
cloc.c: cloc.c:138:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring ciphertext block:", es);
cloc.c: ^
cloc.c: cloc.c:145:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After applying fix1:", es);
cloc.c: ^
cloc.c: cloc.c:154:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring last partial message block:", es);
cloc.c: ^
cloc.c: cloc.c:159:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring last partial ciphertext block:", es);
cloc.c: ^
cloc.c: cloc.c:163:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
cloc.c: cloc.c: In function 'process_ad':
cloc.c: cloc.c:64:3: warning: implicit declaration of function 'pstate2'; did you mean 'pstate'? [-Wimplicit-function-declaration]
cloc.c: 64 | pstate2("After xoring associated data:", state);
cloc.c: | ^~~~~~~
cloc.c: | pstate

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
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: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
cloc.o ae_encrypt T
cloc.o ae_init T
cloc.o process_ad T
twine.o CON_H R
twine.o CON_L R
twine.o Decode T
twine.o Encode T
twine.o Keyschedule T
twine.o Keyschedule128 T
twine.o Keyschedule80 T
twine.o S R
twine.o ek B
utils.o ae_allocate T
utils.o print_cxt T
utils.o pstate T
utils.o pstate2 T
utils.o xor_bytes T
utils.o xor_bytes2 T

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