Implementation notes: amd64, gcc123, crypto_aead/omdsha256k128n96tau128v2

Computer: gcc123
Architecture: amd64
CPU ID: GenuineIntel-000206d7-bfebfbff
SUPERCOP version: 20220213
Operation: crypto_aead
Primitive: omdsha256k128n96tau128v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
14243016458 608 92838863 1492 2016T:avx1gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
16677616586 608 92838991 1492 2016T:sse4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
18367910147 608 92830718 1484 2016T:avx1gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
18410010594 608 92831502 1484 2016T:avx1gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
1871288997 608 92827978 1468 2016T:avx1gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
20905810722 608 92831630 1484 2016T:sse4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
2125439145 608 92828122 1468 2016T:sse4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
22481510295 608 92830894 1484 2016T:sse4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
26580018143 0 040559 828 1040T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
2728777452 0 030746 812 1040T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
2730357452 0 030746 812 1040T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
2763609356 0 034354 812 1040T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
2871405341 0 024904 804 1008T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
3070729545 0 032330 812 1008T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
3146455999 0 026926 820 1040T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
3288234186 0 023162 804 1040T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
3328985526 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