Implementation notes: amd64, firefly, crypto_dh/surf2113

Computer: firefly
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20201130
Operation: crypto_dh
Primitive: surf2113
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
172833545796 0 0191983 984 1600T:mpfqgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121320201130
204725311611 0 0156685 984 1600T:mpfqgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121320201130
275563047024 0 0194999 984 1600T:mpfqgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121320201130
325567345113 0 0191007 984 1600T:mpfqgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121320201130

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

Namespace violations

Implementation: T:mpfq
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
Surf2_113.o KSclear T
Surf2_113.o KSinit T
Surf2_113.o KSmul T
Surf2_113.o KSprint T
keysharing.o StandardKS T
mpfq_2_113.o mpfq_2_113_print T

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