Implementation notes: amd64, r24000, crypto_aead/aes128poetv2aes4ni

Computer: r24000
Microarchitecture: amd64; Coffee Lake (906ea)
Architecture: amd64
CPU ID: GenuineIntel-000906ea-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: aes128poetv2aes4ni
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1148912476 0 029717 820 1040T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011420240107
1149912476 0 029717 820 1040T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011420240107
1149912476 0 029605 820 1040T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011420240107
118149098 0 022743 812 1008T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011420240107
2738310690 0 028696 820 1072T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
2747810061 0 025407 812 1072T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
285207085 0 021307 796 1040T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
294387894 0 023223 812 1072T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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-10/lib/clang/10.0.0/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: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-10/lib/clang/10.0.0/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: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 (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
poet.o decrypt_final T
poet.o encrypt_final T
poet.o keysetup T
poet.o keysetup_encrypt_only T
poet.o process_header T

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