Implementation notes: amd64, calvin, crypto_kem/edonk192ref

Computer: calvin
Architecture: amd64
CPU ID: AuthenticAMD-00600f20-178bfbff
SUPERCOP version: 20171218
Operation: crypto_kem
Primitive: edonk192ref
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
558027473? ? ?? ? ?refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017122720171218
558163873? ? ?? ? ?refclang_-mcpu=cortex-a9_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017122720171218
558212567? ? ?? ? ?refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2017122720171218
558223253? ? ?? ? ?refclang_-mcpu=cortex-a8_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017122720171218
559125359? ? ?? ? ?refgcc_-march=k8_-O3_-fomit-frame-pointer2017122720171218
559165593? ? ?? ? ?refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2017122720171218
559369290? ? ?? ? ?refgcc_-march=barcelona_-O2_-fomit-frame-pointer2017122720171218
559570023? ? ?? ? ?refgcc_-march=nocona_-O2_-fomit-frame-pointer2017122720171218
559635454? ? ?? ? ?refgcc_-march=barcelona_-O3_-fomit-frame-pointer2017122720171218
559720564? ? ?? ? ?refgcc_-march=nocona_-O_-fomit-frame-pointer2017122720171218
559772117? ? ?? ? ?refgcc_-m64_-march=corei7_-O2_-fomit-frame-pointer2017122720171218
559891893? ? ?? ? ?refgcc_-m64_-O2_-fomit-frame-pointer2017122720171218
559993612? ? ?? ? ?refgcc_-march=nocona_-O3_-fomit-frame-pointer2017122720171218
560014905? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O_-fomit-frame-pointer2017122720171218
560067757? ? ?? ? ?refgcc_-m64_-O3_-fomit-frame-pointer2017122720171218
560134091? ? ?? ? ?refgcc_-m64_-march=core2_-msse4_-O2_-fomit-frame-pointer2017122720171218
560161537? ? ?? ? ?refgcc_-m64_-march=nocona_-O_-fomit-frame-pointer2017122720171218
560169586? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2017122720171218
560258246? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O_-fomit-frame-pointer2017122720171218
560407596? ? ?? ? ?refgcc_-m64_-O_-fomit-frame-pointer2017122720171218
560476258? ? ?? ? ?refgcc_-m64_-march=nocona_-O3_-fomit-frame-pointer2017122720171218
560521146? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O_-fomit-frame-pointer2017122720171218
560523706? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O_-fomit-frame-pointer2017122720171218
560582249? ? ?? ? ?refgcc_-m64_-march=barcelona_-O3_-fomit-frame-pointer2017122720171218
560585302? ? ?? ? ?refgcc_-m64_-march=k8_-O2_-fomit-frame-pointer2017122720171218
560593184? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O3_-fomit-frame-pointer2017122720171218
560668966? ? ?? ? ?refgcc_-funroll-loops_-O2_-fomit-frame-pointer2017122720171218
560721806? ? ?? ? ?refgcc_-funroll-loops_-O_-fomit-frame-pointer2017122720171218
560759874? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O_-fomit-frame-pointer2017122720171218
560804665? ? ?? ? ?refgcc_-m64_-march=core2_-msse4_-O_-fomit-frame-pointer2017122720171218
560833368? ? ?? ? ?refgcc_-m64_-march=k8_-O3_-fomit-frame-pointer2017122720171218
560857358? ? ?? ? ?refgcc_-m64_-march=k8_-O_-fomit-frame-pointer2017122720171218
560869226? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O3_-fomit-frame-pointer2017122720171218
560908076? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2017122720171218
561005965? ? ?? ? ?refgcc_-march=k8_-O2_-fomit-frame-pointer2017122720171218
561009266? ? ?? ? ?refgcc_-m64_-march=core2_-msse4.1_-O_-fomit-frame-pointer2017122720171218
561064502? ? ?? ? ?refgcc_-funroll-loops_-m64_-O2_-fomit-frame-pointer2017122720171218
561190170? ? ?? ? ?refgcc_-funroll-loops_-O3_-fomit-frame-pointer2017122720171218
561321504? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2017122720171218
561435803? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O3_-fomit-frame-pointer2017122720171218
561496631? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O3_-fomit-frame-pointer2017122720171218
561586362? ? ?? ? ?refgcc_-m64_-march=core2_-msse4.1_-O2_-fomit-frame-pointer2017122720171218
561758981? ? ?? ? ?refgcc_-funroll-loops_-m64_-O_-fomit-frame-pointer2017122720171218
561765762? ? ?? ? ?refgcc_-funroll-loops_-m64_-O3_-fomit-frame-pointer2017122720171218
561774091? ? ?? ? ?refgcc_-m64_-march=corei7_-O_-fomit-frame-pointer2017122720171218
561805546? ? ?? ? ?refgcc_-m64_-march=core2_-O2_-fomit-frame-pointer2017122720171218
561806454? ? ?? ? ?refgcc_-m64_-march=core2_-O3_-fomit-frame-pointer2017122720171218
561872269? ? ?? ? ?refgcc_-march=k8_-O_-fomit-frame-pointer2017122720171218
562023668? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O_-fomit-frame-pointer2017122720171218
562031377? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O3_-fomit-frame-pointer2017122720171218
562288823? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O3_-fomit-frame-pointer2017122720171218
562316226? ? ?? ? ?refgcc_-O2_-fomit-frame-pointer2017122720171218
562334099? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O2_-fomit-frame-pointer2017122720171218
562338212? ? ?? ? ?refgcc_-O_-fomit-frame-pointer2017122720171218
562384041? ? ?? ? ?refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2017122720171218
562422533? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2017122720171218
562422729? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-O2_-fomit-frame-pointer2017122720171218
562581156? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O3_-fomit-frame-pointer2017122720171218
562771313? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O2_-fomit-frame-pointer2017122720171218
562863714? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O_-fomit-frame-pointer2017122720171218
562929260? ? ?? ? ?refgcc_-m64_-march=corei7_-O3_-fomit-frame-pointer2017122720171218
562965988? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O2_-fomit-frame-pointer2017122720171218
563253418? ? ?? ? ?refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2017122720171218
563315898? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-O2_-fomit-frame-pointer2017122720171218
563365170? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O2_-fomit-frame-pointer2017122720171218
563394217? ? ?? ? ?refgcc_-m64_-march=barcelona_-O_-fomit-frame-pointer2017122720171218
563625763? ? ?? ? ?refgcc_-m64_-march=barcelona_-O2_-fomit-frame-pointer2017122720171218
564018880? ? ?? ? ?refgcc_-march=barcelona_-O_-fomit-frame-pointer2017122720171218
564276771? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O3_-fomit-frame-pointer2017122720171218
564483365? ? ?? ? ?refgcc_-O3_-fomit-frame-pointer2017122720171218
564502991? ? ?? ? ?refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2017122720171218
564731467? ? ?? ? ?refgcc_-m64_-march=core2_-msse4_-O3_-fomit-frame-pointer2017122720171218
566055159? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O2_-fomit-frame-pointer2017122720171218
566155706? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2017122720171218
566281806? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2017122720171218
566490982? ? ?? ? ?refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2017122720171218
567468955? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O2_-fomit-frame-pointer2017122720171218
567783426? ? ?? ? ?refgcc_-m64_-march=core2_-O_-fomit-frame-pointer2017122720171218
567987710? ? ?? ? ?refgcc_-m64_-march=nocona_-O2_-fomit-frame-pointer2017122720171218
569071507? ? ?? ? ?refgcc_-m64_-march=core2_-msse4.1_-O3_-fomit-frame-pointer2017122720171218
569290844? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O_-fomit-frame-pointer2017122720171218
570291435? ? ?? ? ?refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2017122720171218
571074182? ? ?? ? ?refcc2017122720171218
571297572? ? ?? ? ?refgcc_-funroll-loops2017122720171218
574167852? ? ?? ? ?refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2017122720171218
575226500? ? ?? ? ?refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017122720171218
576344723? ? ?? ? ?refclang_-O3_-fwrapv_-march=native_-fomit-frame-pointer_-Qunused-arguments2017122720171218
577065729? ? ?? ? ?refgcc2017122720171218
579710534? ? ?? ? ?refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2017122720171218
582885543? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-Os_-fomit-frame-pointer2017122720171218
582937221? ? ?? ? ?refgcc_-Os_-fomit-frame-pointer2017122720171218
583028231? ? ?? ? ?refgcc_-m64_-march=corei7_-Os_-fomit-frame-pointer2017122720171218
583065154? ? ?? ? ?refgcc_-m64_-Os_-fomit-frame-pointer2017122720171218
583522315? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-Os_-fomit-frame-pointer2017122720171218
583671744? ? ?? ? ?refgcc_-m64_-march=k8_-Os_-fomit-frame-pointer2017122720171218
583702304? ? ?? ? ?refgcc_-funroll-loops_-Os_-fomit-frame-pointer2017122720171218
583913377? ? ?? ? ?refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2017122720171218
583958444? ? ?? ? ?refgcc_-march=nocona_-Os_-fomit-frame-pointer2017122720171218
584203030? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2017122720171218
584254287? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2017122720171218
584565487? ? ?? ? ?refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2017122720171218
584650363? ? ?? ? ?refgcc_-m64_-march=nocona_-Os_-fomit-frame-pointer2017122720171218
585262196? ? ?? ? ?refgcc_-m64_-march=core2_-Os_-fomit-frame-pointer2017122720171218
585293518? ? ?? ? ?refgcc_-m64_-march=corei7-avx_-Os_-fomit-frame-pointer2017122720171218
585494917? ? ?? ? ?refgcc_-funroll-loops_-m64_-Os_-fomit-frame-pointer2017122720171218
585660284? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-Os_-fomit-frame-pointer2017122720171218
585717352? ? ?? ? ?refgcc_-m64_-march=core-avx-i_-Os_-fomit-frame-pointer2017122720171218
585852626? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-Os_-fomit-frame-pointer2017122720171218
586091122? ? ?? ? ?refgcc_-m64_-march=core2_-msse4_-Os_-fomit-frame-pointer2017122720171218
586438082? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-Os_-fomit-frame-pointer2017122720171218
586728981? ? ?? ? ?refgcc_-march=barcelona_-Os_-fomit-frame-pointer2017122720171218
586984503? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-Os_-fomit-frame-pointer2017122720171218
587637332? ? ?? ? ?refgcc_-m64_-march=barcelona_-Os_-fomit-frame-pointer2017122720171218
588098631? ? ?? ? ?refgcc_-m64_-march=core2_-msse4.1_-Os_-fomit-frame-pointer2017122720171218
590046452? ? ?? ? ?refgcc_-march=k8_-Os_-fomit-frame-pointer2017122720171218

Test failure

Implementation: crypto_kem/edonk192ref/ref
Compiler: gcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -O -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_kem/edonk192ref/ref
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
dec.c: dec.c:713:89: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kclear(allcandidates[i]);
dec.c: ^
dec.c: dec.c:713:89: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:593:76: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<(1<<(ErrorBasisDimension+1))+2; i++) Kinit(allcandidates[i]);
dec.c: ^
dec.c: dec.c:593:76: note: put the semicolon on a separate line to silence this warning
dec.c: dec.c:598:56: warning: for loop has empty body [-Wempty-body]
dec.c: for(i=0; i<NrColumns; i++) Kinit(Ciphertext.cph[i]);
dec.c: ^
dec.c: dec.c:598:56: note: put the semicolon on a separate line to silence this warning
dec.c: 3 warnings generated.
mpfq_2_192.c: mpfq_2_192.c:154:35: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
mpfq_2_192.c: int ret = mpn_set_str(zz, tmp, len, k->io_type);
mpfq_2_192.c: ^~~
mpfq_2_192.c: /home/djb/benchmarking/supercop-20171218/supercop-data/calvin/amd64/include/gmp.h:1588:68: note: passing argument to parameter here
mpfq_2_192.c: __GMP_DECLSPEC mp_size_t mpn_set_str (mp_ptr, const unsigned char *, size_t, int);
mpfq_2_192.c: ^
mpfq_2_192.c: 1 warning generated.

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref