Implementation notes: amd64, gcc123, crypto_aead/omdsha256k128n96tau96v2

Computer: gcc123
Architecture: amd64
CPU ID: GenuineIntel-000206d7-bfebfbff
SUPERCOP version: 20220213
Operation: crypto_aead
Primitive: omdsha256k128n96tau96v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
14233816474 608 92838879 1492 2016T:avx1gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
16678116602 608 92839007 1492 2016T:sse4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
18267710151 608 92830718 1484 2016T:avx1gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
18593110618 608 92831534 1484 2016T:avx1gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
1870379009 608 92827994 1468 2016T:avx1gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
21043210746 608 92831662 1484 2016T:sse4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
2148769157 608 92828122 1468 2016T:sse4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
22340310299 608 92830894 1484 2016T:sse4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
26840118159 0 040575 828 1040T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
2723197469 0 030762 812 1040T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
2724307469 0 030762 812 1040T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
2767769367 0 034370 812 1040T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
2874295358 0 024920 804 1008T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
3102689556 0 032346 812 1008T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
3130986015 0 026942 820 1040T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
3255394202 0 023178 804 1040T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
3328675552 0 026118 820 1040T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114

Compiler output

Implementation: T:avx1
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: <inline asm>:106:35: error: unknown token in expression
encrypt.c: vpshufd xmm2, xmm7, 0b11111010
encrypt.c: ^
encrypt.c: <inline asm>:145:35: error: unknown token in expression
encrypt.c: vpshufd xmm2, xmm0, 0b01010000
encrypt.c: ^
encrypt.c: <inline asm>:249:35: error: unknown token in expression
encrypt.c: vpshufd xmm2, xmm4, 0b11111010
encrypt.c: ^
encrypt.c: <inline asm>:288:35: error: unknown token in expression
encrypt.c: vpshufd xmm2, xmm0, 0b01010000
encrypt.c: ^
encrypt.c: <inline asm>:392:35: error: unknown token in expression
encrypt.c: vpshufd xmm2, xmm5, 0b11111010
encrypt.c: ^
encrypt.c: <inline asm>:431:35: error: unknown token in expression
encrypt.c: vpshufd xmm2, xmm0, 0b01010000
encrypt.c: ^
encrypt.c: <inline asm>:536:35: error: unknown token in expression
encrypt.c: vpshufd xmm2, xmm6, 0b11111010
encrypt.c: ^
encrypt.c: <inline asm>:575:35: error: unknown token in expression
encrypt.c: vpshufd xmm2, xmm0, 0b01010000
encrypt.c: ^
encrypt.c: 8 errors generated.

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

Compiler output

Implementation: T:sse4
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: <inline asm>:113:34: error: unknown token in expression
encrypt.c: pshufd xmm2, xmm7, 0b11111010
encrypt.c: ^
encrypt.c: <inline asm>:154:34: error: unknown token in expression
encrypt.c: pshufd xmm2, xmm0, 0b01010000
encrypt.c: ^
encrypt.c: <inline asm>:267:34: error: unknown token in expression
encrypt.c: pshufd xmm2, xmm4, 0b11111010
encrypt.c: ^
encrypt.c: <inline asm>:308:34: error: unknown token in expression
encrypt.c: pshufd xmm2, xmm0, 0b01010000
encrypt.c: ^
encrypt.c: <inline asm>:421:34: error: unknown token in expression
encrypt.c: pshufd xmm2, xmm5, 0b11111010
encrypt.c: ^
encrypt.c: <inline asm>:462:34: error: unknown token in expression
encrypt.c: pshufd xmm2, xmm0, 0b01010000
encrypt.c: ^
encrypt.c: <inline asm>:576:34: error: unknown token in expression
encrypt.c: pshufd xmm2, xmm6, 0b11111010
encrypt.c: ^
encrypt.c: <inline asm>:617:34: error: unknown token in expression
encrypt.c: pshufd xmm2, xmm0, 0b01010000
encrypt.c: ^
encrypt.c: 8 errors generated.

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

Namespace violations

Implementation: T:avx1
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.o Hash C
omdsha256.o Hash C
omdsha256.o double_block T
omdsha256.o hash T
omdsha256.o key_func T
omdsha256.o ntz T
omdsha256.o omdsha256_process T
omdsha256.o precompute T
omdsha256.o triple_block T
omdsha256.o xor_block T

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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
omdsha256.o calc_L_i T
omdsha256.o double_block T
omdsha256.o final_masking_associated_data T
omdsha256.o final_masking_message T
omdsha256.o hash T
omdsha256.o increment_masking_associated_data T
omdsha256.o increment_masking_message T
omdsha256.o key_func T
omdsha256.o l2b T
omdsha256.o ntz T
omdsha256.o omdsha256_process T
omdsha256.o triple_block T
omdsha256.o xor_block T
sha256.o sha256_comp T

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