Implementation notes: amd64, intelnuci7, crypto_aead/omdsha256k128n96tau64v1

Computer: intelnuci7
Architecture: amd64
CPU ID: GenuineIntel-000806e9-bfebfbff
SUPERCOP version: 20211108
Operation: crypto_aead
Primitive: omdsha256k128n96tau64v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
17515421571 0 045925 784 928T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021111020211108
1955768008 0 030825 776 872T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021111020211108
1956128008 0 030825 776 872T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021111020211108
2021609054 0 031841 776 872T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021111020211108
2048365727 0 026756 776 928T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021111020211108
2052004538 0 023487 768 856T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021111020211108
2083504461 0 023600 760 896T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021111020211108
2102065548 0 026221 784 928T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021111020211108
2222489238 0 031137 776 856T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021111020211108

Test failure

Implementation: T:avx1
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

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

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: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