Implementation notes: amd64, rumba5, crypto_dh/k277mon

Computer: rumba5
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20240107
Operation: crypto_dh
Primitive: k277mon
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
35633620276 0 042323 852 1760T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
35778816436 0 036011 852 1728T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
37046015589 0 037645 812 1792T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
3925849733 0 030541 812 1792T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
4055138277 0 027165 804 1760T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
4085919113 0 029269 812 1792T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
41327512113 0 031893 844 1792T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: can not read symbols: file truncated
try.c: /usr/bin/ld: .eh_frame/.stab edit: file truncated
try.c: /usr/bin/ld: try: warning: allocated section `.interp' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.note.gnu.property' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.note.gnu.build-id' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.note.ABI-tag' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.gnu.hash' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.dynsym' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.dynstr' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.gnu.version' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.gnu.version_r' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.rela.dyn' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.rela.plt' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.init' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.plt' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.plt.got' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.text' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.fini' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.rodata' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.eh_frame' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.init_array' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.fini_array' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.dynamic' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.got' not in segment
try.c: /usr/bin/ld: try: warning: allocated section `.got.plt' not in segment
try.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
dh.c: In file included from dh.c:6:
dh.c: ./ffa.h:123:12: error: '__builtin_ia32_palignr128' needs target feature ssse3
dh.c: a_01 = _mm_alignr_epi8(a_02, a_01, 8);
dh.c: ^
dh.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/tmmintrin.h:152:13: note: expanded from macro '_mm_alignr_epi8'
dh.c: ((__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \
dh.c: ^
dh.c: In file included from dh.c:6:
dh.c: ./ffa.h:132:5: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
dh.c: FFA_RED_277_STP(a,P,m,t_00,mul);
dh.c: ^
dh.c: ./ffa.h:110:5: note: expanded from macro 'FFA_RED_277_STP'
dh.c: ffa_red_277_stp(A##_00,A##_01,A##_02,P##_00,P##_01,P##_02,\
dh.c: ^
dh.c: ./ffa.h:90:12: note: expanded from macro 'ffa_red_277_stp'
dh.c: m_00 = _mm_clmulepi64_si128(mul, P_00, 0x00);\
dh.c: ^
dh.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/__wmmintrin_pclmul.h:45:13: note: expanded from macro '_mm_clmulepi64_si128'
dh.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(X), \
dh.c: ^
dh.c: In file included from dh.c:6:
dh.c: ./ffa.h:132:5: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
dh.c: ./ffa.h:110:5: note: expanded from macro 'FFA_RED_277_STP'
dh.c: ffa_red_277_stp(A##_00,A##_01,A##_02,P##_00,P##_01,P##_02,\
dh.c: ^
dh.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref