Implementation notes: amd64, rumba5, crypto_aead/colm0v1

Computer: rumba5
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: colm0v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
76399567 0 023395 844 1024T:aesni8clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
76628989 0 023517 836 1088T:aesni8clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
83076718 0 021245 836 1088T:aesni4clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
83577310 0 021139 844 1024T:aesni4clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
854315133 0 031876 812 1088T:aesni8gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
856710239 0 027107 844 1056T:aesni4clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
858610239 0 027483 844 1056T:aesni4clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
87019795 0 025316 812 1088T:aesni8gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
89855353 0 019071 788 1056T:aesni8gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
90757138 0 022660 812 1088T:aesni4gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
909312065 0 028820 812 1088T:aesni4gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
92744055 0 017775 788 1056T:aesni4gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
969413663 0 030531 844 1056T:aesni8clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
97467521 0 022459 804 1088T:aesni8gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
980913663 0 030907 844 1056T:aesni8clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
104045561 0 020491 804 1088T:aesni4gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


encrypt-optpar4.c: encrypt-optpar4.c:23:13: warning: unused function 'printblock' [-Wunused-function]
encrypt-optpar4.c: static void printblock(const char* caption, unsigned char* block, unsigned char nbytes, int reg)
encrypt-optpar4.c:             ^
encrypt-optpar4.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:aesni4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:aesni4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:aesni4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:aesni4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


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 (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:aesni4clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


encrypt-optpar4.c: encrypt-optpar4.c:23:13: warning: 'printblock' defined but not used [-Wunused-function]
encrypt-optpar4.c:    23 | static void printblock(const char* caption, unsigned char* block, unsigned char nbytes, int reg)
encrypt-optpar4.c:       |             ^~~~~~~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:aesni4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:aesni4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:aesni4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:aesni4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


encrypt-optpar8.c: encrypt-optpar8.c:23:13: warning: unused function 'printblock' [-Wunused-function]
encrypt-optpar8.c: static void printblock(const char* caption, unsigned char* block, unsigned char nbytes, int reg)
encrypt-optpar8.c:             ^
encrypt-optpar8.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:aesni8clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:aesni8clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:aesni8clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:aesni8clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


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 (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:aesni8clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


encrypt-optpar8.c: encrypt-optpar8.c:23:13: warning: 'printblock' defined but not used [-Wunused-function]
encrypt-optpar8.c:    23 | static void printblock(const char* caption, unsigned char* block, unsigned char nbytes, int reg)
encrypt-optpar8.c:       |             ^~~~~~~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:aesni8gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:aesni8gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:aesni8gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:aesni8gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


encrypt.c: In file included from encrypt.c:10:
encrypt.c: ./module.h:69:3: warning: 'AES_set_encrypt_key' is deprecated [-Wdeprecated-declarations]
encrypt.c:                 AES_set_encrypt_key(key, 128, &aes_key1);
encrypt.c:                 ^
encrypt.c: /usr/include/openssl/aes.h:50:1: note: 'AES_set_encrypt_key' has been explicitly marked deprecated here
encrypt.c: OSSL_DEPRECATEDIN_3_0
encrypt.c: ^
encrypt.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
encrypt.c: #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
encrypt.c:                                                 ^
encrypt.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
encrypt.c: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
encrypt.c:                                                    ^
encrypt.c: In file included from encrypt.c:10:
encrypt.c: ./module.h:70:3: warning: 'AES_set_decrypt_key' is deprecated [-Wdeprecated-declarations]
encrypt.c:                 AES_set_decrypt_key(key, 128, &aes_key2);
encrypt.c:                 ^
encrypt.c: /usr/include/openssl/aes.h:53:1: note: 'AES_set_decrypt_key' has been explicitly marked deprecated here
encrypt.c: OSSL_DEPRECATEDIN_3_0
encrypt.c: ^
encrypt.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
encrypt.c: #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
encrypt.c:                                                 ^
encrypt.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
encrypt.c: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


encrypt.c: In file included from encrypt.c:10:
encrypt.c: module.h: In function 'key_schedule':
encrypt.c: module.h:69:17: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
encrypt.c:    69 |                 AES_set_encrypt_key(key, 128, &aes_key1);
encrypt.c:       |                 ^~~~~~~~~~~~~~~~~~~
encrypt.c: In file included from encrypt.c:7:
encrypt.c: /usr/include/openssl/aes.h:51:5: note: declared here
encrypt.c:    51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
encrypt.c:       |     ^~~~~~~~~~~~~~~~~~~
encrypt.c: In file included from encrypt.c:10:
encrypt.c: module.h:70:17: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
encrypt.c:    70 |                 AES_set_decrypt_key(key, 128, &aes_key2);
encrypt.c:       |                 ^~~~~~~~~~~~~~~~~~~
encrypt.c: In file included from encrypt.c:7:
encrypt.c: /usr/include/openssl/aes.h:54:5: note: declared here
encrypt.c:    54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
encrypt.c:       |     ^~~~~~~~~~~~~~~~~~~
encrypt.c: In file included from encrypt.c:10:
encrypt.c: module.h: In function 'AES':
encrypt.c: module.h:75:17: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
encrypt.c:    75 |                 AES_encrypt(inp, res, key);
encrypt.c:       |                 ^~~~~~~~~~~
encrypt.c: In file included from encrypt.c:7:
encrypt.c: /usr/include/openssl/aes.h:57:6: note: declared here
encrypt.c:    57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)