Implementation notes: amd64, hydra8, crypto_aead/aes128poetv1aes128

Computer: hydra8
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: aes128poetv1aes128
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2696013119 0 029733 820 1088T:nigcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2724716388 0 034288 876 1024T:niclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2728916388 0 032344 876 1024T:niclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2748911841 0 025522 868 1024T:niclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2793613376 0 027480 876 1024T:niclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4757913617 0 029013 820 1088T:nigcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
4836911828 0 026892 812 1088T:nigcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
19290028848 0 045540 828 1088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
20203222616 0 038092 828 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
20608821121 0 034935 804 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
21205524072 0 042057 884 1024T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
21448821367 0 035083 876 1024T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
21452023400 0 039441 884 1024T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
21925624783 0 041417 884 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
22779821866 0 036057 884 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
22980022683 0 037795 820 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Test failure


error 111

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

Compiler output


poet.c: poet.c:450: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:144: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:452: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:145: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:455: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:146:24: note: expanded from macro 'three'
poet.c: #define three          _mm_insert_epi8(zero, 3, 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: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:niclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


poet.c: poet.c:143:46: warning: argument 2 of type 'const uint8_t[128]' {aka 'const unsigned char[128]'} with mismatched bound [-Warray-parameter=]
poet.c:   143 | void keysetup(poet_ctx_t *ctx, const uint8_t key[KEYLEN_BITS])
poet.c:       |                                ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
poet.c: In file included from poet.c:33:
poet.c: poet.h:45:29: note: previously declared as 'const uint8_t[16]' {aka 'const unsigned char[16]'}
poet.c:    45 |               const uint8_t key[KEYLEN]);
poet.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)