Implementation notes: amd64, zen3, crypto_dh/surf2113

Computer: zen3
Architecture: amd64
CPU ID: AuthenticAMD-00a20f10-178bfbff
SUPERCOP version: 20211108
Operation: crypto_dh
Primitive: surf2113
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
146937220085 0 0166697 1004 1784T:mpfqgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
152245522497 0 0171009 1004 1784T:mpfqgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
157022620255 0 0166065 1004 1784T:mpfqgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108
157331612616 0 0157527 1004 1784T:mpfqgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022020620211108

Compiler output

Implementation: T:mpfq
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
keysharing.c: In file included from keysharing.c:4:
keysharing.c: In file included from ./field.h:1:
keysharing.c: In file included from ./mpfq_2_113.h:5:
keysharing.c: ./x86_64/mpfq_2_113.h:714:14: error: use of unknown builtin '__builtin_ia32_pslldqi128' [-Wimplicit-function-declaration]
keysharing.c: r.s = t0 ^ SHLD(t1, 64);
keysharing.c: ^
keysharing.c: ./x86_64/mpfq_2_113.h:571:25: note: expanded from macro 'SHLD'
keysharing.c: #define SHLD(x,r) (v2di)__builtin_ia32_pslldqi128 ((gcc43bugfix) (x),(r))
keysharing.c: ^
keysharing.c: ./x86_64/mpfq_2_113.h:714:14: error: invalid conversion between vector type 'v2di' (vector of 2 'uint64_t' values) and integer type 'int' of different size
keysharing.c: r.s = t0 ^ SHLD(t1, 64);
keysharing.c: ^~~~~~~~~~~~
keysharing.c: ./x86_64/mpfq_2_113.h:571:19: note: expanded from macro 'SHLD'
keysharing.c: #define SHLD(x,r) (v2di)__builtin_ia32_pslldqi128 ((gcc43bugfix) (x),(r))
keysharing.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keysharing.c: ./x86_64/mpfq_2_113.h:721:14: error: use of unknown builtin '__builtin_ia32_psrldqi128' [-Wimplicit-function-declaration]
keysharing.c: r.s = t2 ^ SHRD(t1, 64);
keysharing.c: ^
keysharing.c: ./x86_64/mpfq_2_113.h:572:25: note: expanded from macro 'SHRD'
keysharing.c: #define SHRD(x,r) (v2di)__builtin_ia32_psrldqi128 ((gcc43bugfix) (x),(r))
keysharing.c: ^
keysharing.c: ./x86_64/mpfq_2_113.h:721:14: error: invalid conversion between vector type 'v2di' (vector of 2 'uint64_t' values) and integer type 'int' of different size
keysharing.c: r.s = t2 ^ SHRD(t1, 64);
keysharing.c: ^~~~~~~~~~~~
keysharing.c: ./x86_64/mpfq_2_113.h:572:19: note: expanded from macro 'SHRD'
keysharing.c: ...

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