Implementation notes: amd64, hydra4, crypto_aead/aes128poetv1aes4

Computer: hydra4
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: aes128poetv1aes4
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
18333228324 0 044464 796 1080T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
19758521359 0 034963 828 1016T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
21075923169 0 038128 796 1080T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
21644925163 0 040933 836 1016T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
21655225835 0 042469 836 1016T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
21657025835 0 042469 836 1016T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212
22141122004 0 036263 788 1080T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
23343120427 0 033571 772 1048T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121420231212
25826621560 0 035851 828 1016T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121420231212

Compiler output

Implementation: T:ni
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
poet.c: poet.c:488:26: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
poet.c: ctx->l = aes_encrypt(one, expanded_key);
poet.c: ^
poet.c: poet.c:182:24: note: expanded from macro 'one'
poet.c: #define one _mm_insert_epi8(zero, 1, 15)
poet.c: ^
poet.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/smmintrin.h:928:12: note: expanded from macro '_mm_insert_epi8'
poet.c: (__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), \
poet.c: ^
poet.c: poet.c:490:25: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
poet.c: k_axu = aes_encrypt(two, expanded_key);
poet.c: ^
poet.c: poet.c:183:24: note: expanded from macro 'two'
poet.c: #define two _mm_insert_epi8(zero, 2, 15)
poet.c: ^
poet.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/smmintrin.h:928:12: note: expanded from macro '_mm_insert_epi8'
poet.c: (__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), \
poet.c: ^
poet.c: poet.c:493:25: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
poet.c: k_axu = aes_encrypt(three, expanded_key);
poet.c: ^
poet.c: poet.c:184:24: note: expanded from macro 'three'
poet.c: #define three _mm_insert_epi8(zero, 3, 15)
poet.c: ^
poet.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/smmintrin.h:928:12: note: expanded from macro '_mm_insert_epi8'
poet.c: ...

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

Compiler output

Implementation: T:ni
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
poet.c: In file included from poet.c:31:
poet.c: poet.c: In function 'aes_revert_key':
poet.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/wmmintrin.h:77:1: error: inlining failed in call to 'always_inline' '_mm_aesimc_si128': target specific option mismatch
poet.c: 77 | _mm_aesimc_si128 (__m128i __X)
poet.c: | ^~~~~~~~~~~~~~~~
poet.c: poet.c:51:18: note: called from here
poet.c: 51 | dec_key[1] = _mm_aesimc_si128(enc_key[9]);
poet.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
poet.c: In file included from poet.c:31:
poet.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/wmmintrin.h:77:1: error: inlining failed in call to 'always_inline' '_mm_aesimc_si128': target specific option mismatch
poet.c: 77 | _mm_aesimc_si128 (__m128i __X)
poet.c: | ^~~~~~~~~~~~~~~~
poet.c: poet.c:50:18: note: called from here
poet.c: 50 | dec_key[2] = _mm_aesimc_si128(enc_key[8]);
poet.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
poet.c: In file included from poet.c:31:
poet.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/wmmintrin.h:77:1: error: inlining failed in call to 'always_inline' '_mm_aesimc_si128': target specific option mismatch
poet.c: 77 | _mm_aesimc_si128 (__m128i __X)
poet.c: | ^~~~~~~~~~~~~~~~
poet.c: poet.c:49:18: note: called from here
poet.c: 49 | dec_key[3] = _mm_aesimc_si128(enc_key[7]);
poet.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
poet.c: In file included from poet.c:31:
poet.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/wmmintrin.h:77:1: error: inlining failed in call to 'always_inline' '_mm_aesimc_si128': target specific option mismatch
poet.c: 77 | _mm_aesimc_si128 (__m128i __X)
poet.c: ...

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