Implementation notes: amd64, gcc123, crypto_aead/omdsha256k128n96tau64v2

Computer: gcc123
Architecture: amd64
CPU ID: GenuineIntel-000206d7-bfebfbff
SUPERCOP version: 20220213
Operation: crypto_aead
Primitive: omdsha256k128n96tau64v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
14241016434 608 92838831 1492 2016T:avx1gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
16669416562 608 92838959 1492 2016T:sse4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
18383610145 608 92830718 1484 2016T:avx1gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
18520610578 608 92831486 1484 2016T:avx1gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
1874578994 608 92827978 1468 2016T:avx1gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
21057210706 608 92831614 1484 2016T:sse4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
2123759142 608 92828122 1468 2016T:sse4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
22232310293 608 92830894 1484 2016T:sse4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
26186118111 0 040527 828 1040T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
2758937428 0 030714 812 1040T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
2759197428 0 030714 812 1040T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
2769559622 0 034626 812 1040T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
2879745317 0 024872 804 1008T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
3063539740 0 032522 812 1008T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
3132665967 0 026894 820 1040T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
3264124181 0 023162 804 1040T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
3320245521 0 026086 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