Implementation notes: amd64, scw1b63b1, crypto_aead/colm0v1

Computer: scw1b63b1
Architecture: amd64
CPU ID: GenuineIntel-000506f1-0f8bfbff
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: colm0v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
161708101 0 019707 776 856aesni4clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121620191017
1636012252 0 027300 808 928aesni4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121620191017
166828326 0 021211 800 928aesni4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121620191017
171643545 0 015207 784 896aesni4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121620191017
1730411199 0 022795 776 856aesni8clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121620191017
1760613790 0 028844 808 928aesni8gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121620191017
178465060 0 016727 784 896aesni8gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121620191017
1802411477 0 024363 800 928aesni8gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121620191017
185805683 0 018467 800 928aesni4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121620191017
192427682 0 020467 800 928aesni8gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019121620191017
2105412463 0 025129 784 856aesni4clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121620191017
2106412463 0 025953 784 856aesni4clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121620191017
2107612463 0 025129 784 856aesni4clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121620191017
2329817023 0 029689 784 856aesni8clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121620191017
2329817023 0 029689 784 856aesni8clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121620191017
2331417023 0 030513 784 856aesni8clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019121620191017

Compiler output

Implementation: aesni4
Security model: unknown
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt-optpar4.c: encrypt-optpar4.c:293:3: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-optpar4.c: AES_ENCRYPT4(block1,block2,block3,block4, expkey);
encrypt-optpar4.c: ^
encrypt-optpar4.c: encrypt-optpar4.c:170:12: note: expanded from macro 'AES_ENCRYPT4'
encrypt-optpar4.c: block1 = _mm_aesenc_si128 (block1,expkey[r]); ^
encrypt-optpar4.c: encrypt-optpar4.c:293:3: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-optpar4.c: encrypt-optpar4.c:171:12: note: expanded from macro 'AES_ENCRYPT4'
encrypt-optpar4.c: block2 = _mm_aesenc_si128 (block2,expkey[r]); ^
encrypt-optpar4.c: ...
encrypt-optpar4.c: ^
encrypt-optpar4.c: encrypt-optpar4.c:293:3: error: always_inline function '_mm_aesenclast_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-optpar4.c: encrypt-optpar4.c:177:11: note: expanded from macro 'AES_ENCRYPT4'
encrypt-optpar4.c: block3 = _mm_aesenclast_si128 (block3,expkey[10]); ^
encrypt-optpar4.c: encrypt-optpar4.c:293:3: error: always_inline function '_mm_aesenclast_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-optpar4.c: encrypt-optpar4.c:178:11: note: expanded from macro 'AES_ENCRYPT4'
encrypt-optpar4.c: block4 = _mm_aesenclast_si128 (block4,expkey[10]); ^
encrypt-optpar4.c: 8 errors generated.

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

Compiler output

Implementation: aesni8
Security model: unknown
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt-optpar8.c: encrypt-optpar8.c:339:3: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-optpar8.c: AES_ENCRYPT8(block1,block2,block3,block4,block5,block6,block7,block8, expkey);
encrypt-optpar8.c: ^
encrypt-optpar8.c: encrypt-optpar8.c:195:12: note: expanded from macro 'AES_ENCRYPT8'
encrypt-optpar8.c: block1 = _mm_aesenc_si128 (block1,expkey[r]); ^
encrypt-optpar8.c: encrypt-optpar8.c:339:3: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-optpar8.c: encrypt-optpar8.c:196:12: note: expanded from macro 'AES_ENCRYPT8'
encrypt-optpar8.c: block2 = _mm_aesenc_si128 (block2,expkey[r]); ^
encrypt-optpar8.c: ...
encrypt-optpar8.c: ^
encrypt-optpar8.c: encrypt-optpar8.c:339:3: error: always_inline function '_mm_aesenclast_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-optpar8.c: encrypt-optpar8.c:210:11: note: expanded from macro 'AES_ENCRYPT8'
encrypt-optpar8.c: block7 = _mm_aesenclast_si128 (block7 ,expkey[10]); ^
encrypt-optpar8.c: encrypt-optpar8.c:339:3: error: always_inline function '_mm_aesenclast_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-optpar8.c: encrypt-optpar8.c:211:11: note: expanded from macro 'AES_ENCRYPT8'
encrypt-optpar8.c: block8 = _mm_aesenclast_si128 (block8 ,expkey[10]); ^
encrypt-optpar8.c: 16 errors generated.

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

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: encrypt.c:7:10: fatal error: 'openssl/aes.h' file not found
encrypt.c: #include <openssl/aes.h>
encrypt.c: ^
encrypt.c: 1 error generated.

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

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: encrypt.c:7:25: fatal error: openssl/aes.h: No such file or directory
encrypt.c: #include <openssl/aes.h>
encrypt.c: ^
encrypt.c: compilation terminated.

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

Namespace violations

Implementation: aesni4
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt-optpar4.o mac T

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

Namespace violations

Implementation: aesni8
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt-optpar8.o mac T

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