Implementation notes: amd64, intelnuci8, crypto_aead/colm0v1

Computer: intelnuci8
Architecture: amd64
CPU ID: GenuineIntel-000906e9-bfebfbff
SUPERCOP version: 20191221
Operation: crypto_aead
Primitive: colm0v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
80767167 0 020012 776 928aesni4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
811312143 0 028389 784 928aesni4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
81277138 0 018743 768 856aesni4clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
863710143 0 025441 776 872aesni4clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
863710143 0 025441 776 872aesni4clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
864510143 0 025457 776 872aesni4clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
89884079 0 015992 760 896aesni4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
911515208 0 031445 784 928aesni8gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
93749491 0 021095 768 856aesni8clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
95649725 0 022572 776 928aesni8gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
97315685 0 018604 776 928aesni4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
974914178 0 029473 776 872aesni8clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
975614178 0 029489 776 872aesni8clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
976214178 0 029473 776 872aesni8clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
107855546 0 017464 760 896aesni8gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
113447576 0 020500 776 928aesni8gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
30408912235 0 028829 824 1400refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
3197999844 0 025583 808 1360refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
3209449844 0 025583 808 1360refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
32164111706 0 027447 808 1360refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
32381910881 0 025759 808 1344refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
3390024313 0 016357 800 1344refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020011320191221
3588175293 0 018484 816 1400refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
3647705408 0 018684 816 1400refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221
3888394272 0 016496 800 1400refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020011320191221

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: 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: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:172:12: note: expanded from macro 'AES_ENCRYPT4'
encrypt-optpar4.c: block3 = _mm_aesenc_si128 (block3,expkey[r]); \
encrypt-optpar4.c: ^
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:173:12: note: expanded from macro 'AES_ENCRYPT4'
encrypt-optpar4.c: block4 = _mm_aesenc_si128 (block4,expkey[r]); \
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:175:11: note: expanded from macro 'AES_ENCRYPT4'
encrypt-optpar4.c: block1 = _mm_aesenclast_si128 (block1,expkey[10]); \
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:176:11: note: expanded from macro 'AES_ENCRYPT4'
encrypt-optpar4.c: block2 = _mm_aesenclast_si128 (block2,expkey[10]); \
encrypt-optpar4.c: ...

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: 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: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:197:12: note: expanded from macro 'AES_ENCRYPT8'
encrypt-optpar8.c: block3 = _mm_aesenc_si128 (block3,expkey[r]); \
encrypt-optpar8.c: ^
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:198:12: note: expanded from macro 'AES_ENCRYPT8'
encrypt-optpar8.c: block4 = _mm_aesenc_si128 (block4,expkey[r]); \
encrypt-optpar8.c: ^
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:199:12: note: expanded from macro 'AES_ENCRYPT8'
encrypt-optpar8.c: block5 = _mm_aesenc_si128 (block5, expkey[r]); \
encrypt-optpar8.c: ^
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:200:12: note: expanded from macro 'AES_ENCRYPT8'
encrypt-optpar8.c: block6 = _mm_aesenc_si128 (block6, expkey[r]); \
encrypt-optpar8.c: ...

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

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

Namespace violations

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o aes_key1 C
encrypt.o aes_key2 C
encrypt.o is_equal_block T

Number of similar (compiler,implementation) pairs: 9, 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
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