Implementation notes: amd64, h8atom, crypto_aead/aes128poetv2aes4ni
Computer: h8atom
Microarchitecture: amd64; Bonnell (30661)
Architecture: amd64
CPU ID: GenuineIntel-00030661-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: aes128poetv2aes4ni
Compiler output
poet.c: poet.c:488:14: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
poet.c: ctx->l = one;
poet.c: ^
poet.c: poet.c:47:24: note: expanded from macro 'one'
poet.c: #define one _mm_insert_epi8(zero, 1, 15)
poet.c: ^
poet.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:930:13: note: expanded from macro '_mm_insert_epi8'
poet.c: ((__m128i)__builtin_ia32_vec_set_v16qi((__v16qi)(__m128i)(X), \
poet.c: ^
poet.c: poet.c:489:13: error: '__builtin_ia32_vec_set_v16qi' needs target feature sse4.1
poet.c: k_axu = two;
poet.c: ^
poet.c: poet.c:48:24: note: expanded from macro 'two'
poet.c: #define two _mm_insert_epi8(zero, 2, 15)
poet.c: ^
poet.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/smmintrin.h:930:13: 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:5: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'keysetup_encrypt_only' that is compiled without support for 'aes'
poet.c: aes_encrypt_3blocks_keysetup(k, ctx->l, k_axu, expanded_key);
poet.c: ^
poet.c: poet.c:465:5: note: expanded from macro 'aes_encrypt_3blocks_keysetup'
poet.c: aes_encrypt_round_3blocks_keysetup(x, y, z, k[1]); \
poet.c: ^
poet.c: poet.c:448:9: note: expanded from macro 'aes_encrypt_round_3blocks_keysetup'
poet.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
poet.c: In file included from poet.c:33:
poet.c: poet.c: In function 'aes_create_decryption_key':
poet.c: /usr/lib/gcc/x86_64-linux-gnu/11/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:293:18: note: called from here
poet.c: 293 | dec_key[1] = _mm_aesimc_si128(enc_key[9]);
poet.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
poet.c: In file included from poet.c:33:
poet.c: /usr/lib/gcc/x86_64-linux-gnu/11/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:292:18: note: called from here
poet.c: 292 | dec_key[2] = _mm_aesimc_si128(enc_key[8]);
poet.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
poet.c: In file included from poet.c:33:
poet.c: /usr/lib/gcc/x86_64-linux-gnu/11/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:291:18: note: called from here
poet.c: 291 | dec_key[3] = _mm_aesimc_si128(enc_key[7]);
poet.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
poet.c: In file included from poet.c:33:
poet.c: /usr/lib/gcc/x86_64-linux-gnu/11/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 (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |