Implementation notes: amd64, h3neo, crypto_encrypt/ntruees593ep1

Computer: h3neo
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20170105
Operation: crypto_encrypt
Primitive: ntruees593ep1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
440135? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O3_-fomit-frame-pointer2016111520161009
440424? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O3_-fomit-frame-pointer2016111520161009
442563? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O3_-fomit-frame-pointer2016111520161009
442626? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O3_-fomit-frame-pointer2016111520161009
444601? ? ?? ? ?refgcc_-funroll-loops_-m64_-O3_-fomit-frame-pointer2016111520161009
444679? ? ?? ? ?refgcc_-funroll-loops_-O3_-fomit-frame-pointer2016111520161009
445073? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2016111520161009
445934? ? ?? ? ?refgcc_-O3_-fomit-frame-pointer2016111520161009
447547? ? ?? ? ?refgcc_-march=k8_-O3_-fomit-frame-pointer2016111520161009
448839? ? ?? ? ?refgcc_-m64_-march=k8_-O3_-fomit-frame-pointer2016111520161009
450117? ? ?? ? ?refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2016111520161009
450927? ? ?? ? ?refgcc_-m64_-O3_-fomit-frame-pointer2016111520161009
452622? ? ?? ? ?refgcc_-m64_-march=barcelona_-O3_-fomit-frame-pointer2016111520161009
454278? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O3_-fomit-frame-pointer2016111520161009
454599? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O3_-fomit-frame-pointer2016111520161009
455080? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2016111520161009
455498? ? ?? ? ?refgcc_-march=barcelona_-O3_-fomit-frame-pointer2016111520161009
457776? ? ?? ? ?refgcc_-funroll-loops_-m64_-O2_-fomit-frame-pointer2016111520161009
458560? ? ?? ? ?refgcc_-funroll-loops_-O2_-fomit-frame-pointer2016111520161009
458587? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O2_-fomit-frame-pointer2016111520161009
458680? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2016111520161009
459380? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O2_-fomit-frame-pointer2016111520161009
459592? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O2_-fomit-frame-pointer2016111520161009
459650? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O2_-fomit-frame-pointer2016111520161009
462721? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-O_-fomit-frame-pointer2016111520161009
463243? ? ?? ? ?refgcc_-m64_-march=nocona_-O3_-fomit-frame-pointer2016111520161009
464581? ? ?? ? ?refgcc_-funroll-loops_-m64_-O_-fomit-frame-pointer2016111520161009
465928? ? ?? ? ?refgcc_-march=nocona_-O3_-fomit-frame-pointer2016111520161009
466046? ? ?? ? ?refgcc_-funroll-loops_-O_-fomit-frame-pointer2016111520161009
466720? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O_-fomit-frame-pointer2016111520161009
467876? ? ?? ? ?refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2016111520161009
468088? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-O_-fomit-frame-pointer2016111520161009
468214? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O_-fomit-frame-pointer2016111520161009
468511? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2016111520161009
471860? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-O2_-fomit-frame-pointer2016111520161009
475209? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-O2_-fomit-frame-pointer2016111520161009
476998? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-O_-fomit-frame-pointer2016111520161009
477326? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-O_-fomit-frame-pointer2016111520161009
491414? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2016111520161009
491570? ? ?? ? ?refgcc_-march=barcelona_-O2_-fomit-frame-pointer2016111520161009
491787? ? ?? ? ?refgcc_-m64_-march=barcelona_-O2_-fomit-frame-pointer2016111520161009
492507? ? ?? ? ?refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2016111520161009
501664? ? ?? ? ?refgcc_-march=k8_-O2_-fomit-frame-pointer2016111520161009
502221? ? ?? ? ?refgcc_-m64_-march=k8_-O_-fomit-frame-pointer2016111520161009
502829? ? ?? ? ?refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2016111520161009
504641? ? ?? ? ?refgcc_-m64_-march=k8_-O2_-fomit-frame-pointer2016111520161009
504978? ? ?? ? ?refgcc_-m64_-O_-fomit-frame-pointer2016111520161009
506075? ? ?? ? ?refgcc_-march=k8_-O_-fomit-frame-pointer2016111520161009
506358? ? ?? ? ?refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2016111520161009
506507? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2016111520161009
508669? ? ?? ? ?refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2016111520161009
509028? ? ?? ? ?refgcc_-O2_-fomit-frame-pointer2016111520161009
509032? ? ?? ? ?refgcc_-m64_-march=barcelona_-O_-fomit-frame-pointer2016111520161009
509111? ? ?? ? ?refgcc_-m64_-O2_-fomit-frame-pointer2016111520161009
510027? ? ?? ? ?refgcc_-march=barcelona_-O_-fomit-frame-pointer2016111520161009
510053? ? ?? ? ?refgcc_-O_-fomit-frame-pointer2016111520161009
524340? ? ?? ? ?refgcc_-m64_-march=nocona_-O2_-fomit-frame-pointer2016111520161009
526674? ? ?? ? ?refgcc_-m64_-march=nocona_-O_-fomit-frame-pointer2016111520161009
527165? ? ?? ? ?refgcc_-march=nocona_-O2_-fomit-frame-pointer2016111520161009
528427? ? ?? ? ?refgcc_-march=nocona_-O_-fomit-frame-pointer2016111520161009
547541? ? ?? ? ?refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2016111520161009
547834? ? ?? ? ?refgcc_-m64_-Os_-fomit-frame-pointer2016111520161009
549197? ? ?? ? ?refgcc_-m64_-march=barcelona_-Os_-fomit-frame-pointer2016111520161009
550003? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=k8_-Os_-fomit-frame-pointer2016111520161009
550143? ? ?? ? ?refgcc_-Os_-fomit-frame-pointer2016111520161009
550336? ? ?? ? ?refgcc_-funroll-loops_-march=k8_-Os_-fomit-frame-pointer2016111520161009
550449? ? ?? ? ?refgcc_-march=barcelona_-Os_-fomit-frame-pointer2016111520161009
550579? ? ?? ? ?refgcc_-m64_-march=k8_-Os_-fomit-frame-pointer2016111520161009
557515? ? ?? ? ?refgcc_-march=k8_-Os_-fomit-frame-pointer2016111520161009
560367? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=nocona_-Os_-fomit-frame-pointer2016111520161009
566999? ? ?? ? ?refgcc_-funroll-loops_-Os_-fomit-frame-pointer2016111520161009
567718? ? ?? ? ?refgcc_-funroll-loops_-march=barcelona_-Os_-fomit-frame-pointer2016111520161009
568007? ? ?? ? ?refgcc_-funroll-loops_-m64_-march=barcelona_-Os_-fomit-frame-pointer2016111520161009
568271? ? ?? ? ?refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2016111520161009
568738? ? ?? ? ?refgcc_-funroll-loops_-march=nocona_-Os_-fomit-frame-pointer2016111520161009
569504? ? ?? ? ?refgcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2016111520161009
577563? ? ?? ? ?refgcc_-m64_-march=nocona_-Os_-fomit-frame-pointer2016111520161009
579042? ? ?? ? ?refgcc_-funroll-loops_-m64_-Os_-fomit-frame-pointer2016111520161009
579523? ? ?? ? ?refgcc_-march=nocona_-Os_-fomit-frame-pointer2016111520161009
584212? ? ?? ? ?refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2016111520161009
1475923? ? ?? ? ?refgcc_-funroll-loops2016111520161009
1476860? ? ?? ? ?refcc2016111520161009
1481211? ? ?? ? ?refgcc2016111520161009

Test failure

Implementation: crypto_encrypt/ntruees593ep1/ref
Compiler: gcc -m64 -march=core2 -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 13, namely:
CompilerImplementations
gcc -m64 -march=core2 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core2 -O -fomit-frame-pointer ref
gcc -m64 -march=core2 -Os -fomit-frame-pointer ref
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_encrypt/ntruees593ep1/ref
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
ntru_crypto_sha1.c: ntru_crypto_sha1.c:85:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:85:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: E += RL(A, 5) + K00_19 + (B & (C ^ D) ^ D) + data[ 0]; B = RL(B, 30);
ntru_crypto_sha1.c: ^
ntru_crypto_sha1.c: ( )
ntru_crypto_sha1.c: ntru_crypto_sha1.c:86:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:86:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: D += RL(E, 5) + K00_19 + (A & (B ^ C) ^ C) + data[ 1]; A = RL(A, 30);
ntru_crypto_sha1.c: ^
ntru_crypto_sha1.c: ( )
ntru_crypto_sha1.c: ntru_crypto_sha1.c:87:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:87:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: C += RL(D, 5) + K00_19 + (E & (A ^ B) ^ B) + data[ 2]; E = RL(E, 30);
ntru_crypto_sha1.c: ^
ntru_crypto_sha1.c: ( )
ntru_crypto_sha1.c: ntru_crypto_sha1.c:88:33: warning: '&' within '^' [-Wbitwise-op-parentheses]
ntru_crypto_sha1.c: B += RL(C, 5) + K00_19 + (D & (E ^ A) ^ A) + data[ 3]; D = RL(D, 30);
ntru_crypto_sha1.c: ~~^~~~~~~~~ ~
ntru_crypto_sha1.c: ntru_crypto_sha1.c:88:33: note: place parentheses around the '&' expression to silence this warning
ntru_crypto_sha1.c: ...

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