Implementation notes: amd64, h8bobcat, crypto_kem/edonk128ref

Computer: h8bobcat
Architecture: amd64
CPU ID: AuthenticAMD-00500f20-178bfbff
SUPERCOP version: 20171218
Operation: crypto_kem
Primitive: edonk128ref
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
75771748? ? ?? ? ?refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2017122320171218
75792254? ? ?? ? ?refgcc_-funroll-loops_-O_-fomit-frame-pointer2017122320171218
75793575? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O3_-fomit-frame-pointer2017122320171218
75806970? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O2_-fomit-frame-pointer2017122320171218
75814664? ? ?? ? ?refgcc_-m64_-march=barcelona_-O3_-fomit-frame-pointer2017122320171218
75815629? ? ?? ? ?refgcc_-funroll-loops_-m64_-O_-fomit-frame-pointer2017122320171218
75821219? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2017122320171218
75822293? ? ?? ? ?refgcc_-march=barcelona_-O3_-fomit-frame-pointer2017122320171218
75826354? ? ?? ? ?refgcc_-m64_-march=core2_-O3_-fomit-frame-pointer2017122320171218
75835232? ? ?? ? ?refgcc_-m64_-march=k8_-O3_-fomit-frame-pointer2017122320171218
75843682? ? ?? ? ?refgcc_-march=k8_-O3_-fomit-frame-pointer2017122320171218
75844210? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O_-fomit-frame-pointer2017122320171218
75846917? ? ?? ? ?refgcc_-funroll-loops_-O3_-fomit-frame-pointer2017122320171218
75852868? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O_-fomit-frame-pointer2017122320171218
75855805? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O_-fomit-frame-pointer2017122320171218
75858289? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2017122320171218
75870672? ? ?? ? ?refgcc_-funroll-loops_-m64_-O3_-fomit-frame-pointer2017122320171218
75876481? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2017122320171218
75877060? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O3_-fomit-frame-pointer2017122320171218
75877341? ? ?? ? ?refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2017122320171218
75879417? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O3_-fomit-frame-pointer2017122320171218
75885596? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O2_-fomit-frame-pointer2017122320171218
75886498? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O_-fomit-frame-pointer2017122320171218
75890171? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O_-fomit-frame-pointer2017122320171218
75898749? ? ?? ? ?refgcc_-O3_-fomit-frame-pointer2017122320171218
75906435? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O3_-fomit-frame-pointer2017122320171218
75909166? ? ?? ? ?refgcc_-m64_-O3_-fomit-frame-pointer2017122320171218
75914956? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O_-fomit-frame-pointer2017122320171218
75922751? ? ?? ? ?refgcc_-march=nocona_-O3_-fomit-frame-pointer2017122320171218
75925843? ? ?? ? ?refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2017122320171218
75927406? ? ?? ? ?refgcc_-funroll-loops_-m64_-O2_-fomit-frame-pointer2017122320171218
75933789? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O2_-fomit-frame-pointer2017122320171218
75945912? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O2_-fomit-frame-pointer2017122320171218
75986268? ? ?? ? ?refclang_-mcpu=cortex-a8_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017122320171218
75997340? ? ?? ? ?refgcc_-funroll-loops_-O2_-fomit-frame-pointer2017122320171218
76002537? ? ?? ? ?refclang_-mcpu=cortex-a9_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017122320171218
76003810? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2017122320171218
76019242? ? ?? ? ?refgcc_-march=k8_-O2_-fomit-frame-pointer2017122320171218
76019460? ? ?? ? ?refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017122320171218
76034518? ? ?? ? ?refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2017122320171218
76044137? ? ?? ? ?refclang_-O3_-fwrapv_-march=native_-fomit-frame-pointer_-Qunused-arguments2017122320171218
76068875? ? ?? ? ?refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017122320171218
76092416? ? ?? ? ?refgcc_-march=barcelona_-O2_-fomit-frame-pointer2017122320171218
76094705? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2017122320171218
76122564? ? ?? ? ?refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2017122320171218
76124711? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O3_-fomit-frame-pointer2017122320171218
76130079? ? ?? ? ?refgcc_-O_-fomit-frame-pointer2017122320171218
76140676? ? ?? ? ?refgcc_-m64_-march=k8_-O_-fomit-frame-pointer2017122320171218
76168848? ? ?? ? ?refgcc_-march=barcelona_-O_-fomit-frame-pointer2017122320171218
76173375? ? ?? ? ?refgcc_-m64_-march=barcelona_-O_-fomit-frame-pointer2017122320171218
76187159? ? ?? ? ?refgcc_-m64_-march=core2_-O_-fomit-frame-pointer2017122320171218
76203732? ? ?? ? ?refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2017122320171218
76218153? ? ?? ? ?refgcc_-march=nocona_-O_-fomit-frame-pointer2017122320171218
76218894? ? ?? ? ?refgcc_-m64_-O2_-fomit-frame-pointer2017122320171218
76239039? ? ?? ? ?refgcc_-march=nocona_-O2_-fomit-frame-pointer2017122320171218
76256372? ? ?? ? ?refgcc_-O2_-fomit-frame-pointer2017122320171218
76279898? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2017122320171218
76316079? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O2_-fomit-frame-pointer2017122320171218
76346014? ? ?? ? ?refgcc_-m64_-march=nocona_-O3_-fomit-frame-pointer2017122320171218
76386940? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O3_-fomit-frame-pointer2017122320171218
76505932? ? ?? ? ?refgcc_-m64_-march=k8_-O2_-fomit-frame-pointer2017122320171218
76513798? ? ?? ? ?refgcc_-m64_-march=core2_-O2_-fomit-frame-pointer2017122320171218
76533653? ? ?? ? ?refgcc_-m64_-O_-fomit-frame-pointer2017122320171218
76576427? ? ?? ? ?refgcc_-m64_-march=barcelona_-O2_-fomit-frame-pointer2017122320171218
76576987? ? ?? ? ?refgcc_-m64_-march=nocona_-O_-fomit-frame-pointer2017122320171218
76594719? ? ?? ? ?refgcc_-march=k8_-O_-fomit-frame-pointer2017122320171218
76651448? ? ?? ? ?refgcc_-m64_-march=nocona_-O2_-fomit-frame-pointer2017122320171218
76659656? ? ?? ? ?refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2017122320171218
76924250? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O2_-fomit-frame-pointer2017122320171218
77423808? ? ?? ? ?refgcc_-m64_-Os_-fomit-frame-pointer2017122320171218
77430386? ? ?? ? ?refgcc_-m64_-march=k8_-Os_-fomit-frame-pointer2017122320171218
77533771? ? ?? ? ?refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2017122320171218
77557710? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-Os_-fomit-frame-pointer2017122320171218
77559762? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-Os_-fomit-frame-pointer2017122320171218
77583912? ? ?? ? ?refgcc_-m64_-march=core2_-Os_-fomit-frame-pointer2017122320171218
77593184? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-Os_-fomit-frame-pointer2017122320171218
77597087? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-Os_-fomit-frame-pointer2017122320171218
77648929? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2017122320171218
77652406? ? ?? ? ?refgcc_-funroll-loops_-Os_-fomit-frame-pointer2017122320171218
77654511? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-Os_-fomit-frame-pointer2017122320171218
77667977? ? ?? ? ?refgcc_-funroll-loops_-m64_-Os_-fomit-frame-pointer2017122320171218
77669767? ? ?? ? ?refgcc_-m64_-march=nocona_-Os_-fomit-frame-pointer2017122320171218
77681110? ? ?? ? ?refgcc_-march=barcelona_-Os_-fomit-frame-pointer2017122320171218
77688530? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-Os_-fomit-frame-pointer2017122320171218
77692801? ? ?? ? ?refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2017122320171218
77956772? ? ?? ? ?refgcc_-march=k8_-Os_-fomit-frame-pointer2017122320171218
77998843? ? ?? ? ?refgcc_-Os_-fomit-frame-pointer2017122320171218
78131458? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2017122320171218
78153906? ? ?? ? ?refgcc_-m64_-march=barcelona_-Os_-fomit-frame-pointer2017122320171218
78185162? ? ?? ? ?refgcc_-march=nocona_-Os_-fomit-frame-pointer2017122320171218
79361946? ? ?? ? ?refcc2017122320171218
79501710? ? ?? ? ?refgcc_-funroll-loops2017122320171218
79892397? ? ?? ? ?refgcc2017122320171218

Test failure

Implementation: crypto_kem/edonk128ref/ref
Compiler: gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O -fomit-frame-pointer ref
gcc -m64 -march=corei7 -Os -fomit-frame-pointer ref

Compiler output

Implementation: crypto_kem/edonk128ref/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_128.c: mpfq_2_128.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_128.c: int ret = mpn_set_str(zz, tmp, len, k->io_type);
mpfq_2_128.c: ^~~
mpfq_2_128.c: /home/djb/benchmarking/supercop-20171218/supercop-data/h8bobcat/amd64/include/gmp.h:1588:68: note: passing argument to parameter here
mpfq_2_128.c: __GMP_DECLSPEC mp_size_t mpn_set_str (mp_ptr, const unsigned char *, size_t, int);
mpfq_2_128.c: ^
mpfq_2_128.c: 1 warning generated.

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -march=native -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