Implementation notes: amd64, genji154, crypto_encrypt/ntruees401ep2

Computer: genji154
Architecture: amd64
CPU ID: GenuineIntel-00050671-bfebfbff
SUPERCOP version: 20170228
Operation: crypto_encrypt
Primitive: ntruees401ep2
TimeImplementationCompilerBenchmark dateSUPERCOP version
285194refgcc -m64 -march=core-avx2 -O3 -fomit-frame-pointer2017041020170228
293163refgcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer2017041020170228
298012refgcc -m64 -march=core2 -O3 -fomit-frame-pointer2017041020170228
299065refgcc -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer2017041020170228
299208refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2017041020170228
303862reficc -xMIC-AVX512 -O2 -fomit-frame-pointer2017041020170228
304720refgcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer2017041020170228
306670refgcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer2017041020170228
309582refgcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer2017041020170228
310323refgcc -m64 -march=corei7 -O3 -fomit-frame-pointer2017041020170228
312013reficc -xMIC-AVX512 -O3 -fomit-frame-pointer2017041020170228
313495refgcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer2017041020170228
313794refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2017041020170228
316212refgcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer2017041020170228
318240refgcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer2017041020170228
320177refgcc -m64 -march=core-avx2 -O -fomit-frame-pointer2017041020170228
321113refgcc -m64 -march=core2 -O2 -fomit-frame-pointer2017041020170228
321165refgcc -m64 -march=corei7-avx -O2 -fomit-frame-pointer2017041020170228
321451refgcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer2017041020170228
324090refgcc -m64 -march=corei7 -O2 -fomit-frame-pointer2017041020170228
328198refgcc -m64 -march=corei7-avx -O -fomit-frame-pointer2017041020170228
330109refgcc -m64 -march=core-avx-i -O -fomit-frame-pointer2017041020170228
330642refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2017041020170228
332761refgcc -m64 -march=native -mtune=native -O -fomit-frame-pointer2017041020170228
333346refgcc -m64 -march=corei7 -O -fomit-frame-pointer2017041020170228
334061refgcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer2017041020170228
334945refgcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer2017041020170228
335270refgcc -m64 -march=core2 -O -fomit-frame-pointer2017041020170228
338364refgcc -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer2017041020170228
350103refgcc -O3 -fomit-frame-pointer2017041020170228
352235refgcc -fno-schedule-insns -O3 -fomit-frame-pointer2017041020170228
352794refgcc -funroll-loops -m64 -O3 -fomit-frame-pointer2017041020170228
355706refgcc -funroll-loops -O3 -fomit-frame-pointer2017041020170228
356824refgcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer2017041020170228
358735refgcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer2017041020170228
358969refgcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer2017041020170228
359710refgcc -m64 -march=k8 -O3 -fomit-frame-pointer2017041020170228
359827refgcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer2017041020170228
360074refgcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer2017041020170228
360854refgcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer2017041020170228
361621refgcc -funroll-loops -O2 -fomit-frame-pointer2017041020170228
363649refgcc -m64 -march=barcelona -O3 -fomit-frame-pointer2017041020170228
363688refgcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer2017041020170228
363870refgcc -funroll-loops -m64 -O2 -fomit-frame-pointer2017041020170228
363909refgcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer2017041020170228
364884refgcc -march=nocona -O3 -fomit-frame-pointer2017041020170228
365391refgcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer2017041020170228
365859refgcc -m64 -march=core-avx2 -Os -fomit-frame-pointer2017041020170228
367523refgcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer2017041020170228
368381refgcc -march=barcelona -O3 -fomit-frame-pointer2017041020170228
368394refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2017041020170228
368862refgcc -m64 -march=nocona -O3 -fomit-frame-pointer2017041020170228
369161refgcc -march=k8 -O3 -fomit-frame-pointer2017041020170228
370916refgcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer2017041020170228
371761refgcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer2017041020170228
372021refgcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer2017041020170228
373490refgcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer2017041020170228
375479refgcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer2017041020170228
375622refgcc -m64 -march=core-avx-i -Os -fomit-frame-pointer2017041020170228
375648refgcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer2017041020170228
375752refgcc -m64 -march=core2 -Os -fomit-frame-pointer2017041020170228
376610refgcc -m64 -march=corei7-avx -Os -fomit-frame-pointer2017041020170228
376896refgcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer2017041020170228
377897refgcc -funroll-loops -m64 -O -fomit-frame-pointer2017041020170228
378105refgcc -m64 -march=corei7 -Os -fomit-frame-pointer2017041020170228
384280refgcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer2017041020170228
386542refgcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer2017041020170228
388570refgcc -fno-schedule-insns -O2 -fomit-frame-pointer2017041020170228
388999refgcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer2017041020170228
389246refgcc -m64 -O2 -fomit-frame-pointer2017041020170228
390429refgcc -funroll-loops -march=k8 -O -fomit-frame-pointer2017041020170228
391859refgcc -O2 -fomit-frame-pointer2017041020170228
392457refgcc -funroll-loops -march=nocona -O -fomit-frame-pointer2017041020170228
392574refgcc -funroll-loops -march=barcelona -O -fomit-frame-pointer2017041020170228
398879refgcc -m64 -O3 -fomit-frame-pointer2017041020170228
402012refgcc -march=nocona -O2 -fomit-frame-pointer2017041020170228
402389refgcc -m64 -march=k8 -O2 -fomit-frame-pointer2017041020170228
402714refgcc -m64 -O -fomit-frame-pointer2017041020170228
404469refgcc -march=k8 -O2 -fomit-frame-pointer2017041020170228
405860refgcc -m64 -march=nocona -O2 -fomit-frame-pointer2017041020170228
406107refgcc -O -fomit-frame-pointer2017041020170228
407329refgcc -fno-schedule-insns -O -fomit-frame-pointer2017041020170228
408837refgcc -march=barcelona -O2 -fomit-frame-pointer2017041020170228
409032refgcc -m64 -march=barcelona -O2 -fomit-frame-pointer2017041020170228
412646refgcc -m64 -march=nocona -O -fomit-frame-pointer2017041020170228
412945refgcc -march=nocona -O -fomit-frame-pointer2017041020170228
418626refgcc -march=barcelona -O -fomit-frame-pointer2017041020170228
418795refgcc -funroll-loops -O -fomit-frame-pointer2017041020170228
418821refgcc -m64 -march=k8 -O -fomit-frame-pointer2017041020170228
421473refgcc -march=k8 -O -fomit-frame-pointer2017041020170228
426413refgcc -m64 -march=barcelona -O -fomit-frame-pointer2017041020170228
444535refgcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer2017041020170228
466167refgcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer2017041020170228
471926refgcc -m64 -march=nocona -Os -fomit-frame-pointer2017041020170228
472134refgcc -funroll-loops -m64 -Os -fomit-frame-pointer2017041020170228
473083refgcc -funroll-loops -march=k8 -Os -fomit-frame-pointer2017041020170228
473304refgcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer2017041020170228
473421refgcc -march=k8 -Os -fomit-frame-pointer2017041020170228
473525refgcc -march=nocona -Os -fomit-frame-pointer2017041020170228
473681refgcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer2017041020170228
474331refgcc -m64 -march=k8 -Os -fomit-frame-pointer2017041020170228
474513refgcc -m64 -march=barcelona -Os -fomit-frame-pointer2017041020170228
475267refgcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer2017041020170228
475358refgcc -fno-schedule-insns -Os -fomit-frame-pointer2017041020170228
475384refgcc -m64 -Os -fomit-frame-pointer2017041020170228
475592refgcc -funroll-loops -Os -fomit-frame-pointer2017041020170228
476593refgcc -funroll-loops -march=nocona -Os -fomit-frame-pointer2017041020170228
478608refgcc -Os -fomit-frame-pointer2017041020170228
487968refgcc -march=barcelona -Os -fomit-frame-pointer2017041020170228
489112refgcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer2017041020170228
605748reficc2017041020170228
633763reficc -no-vec2017041020170228
1308541refgcc2017041020170228
1332032refgcc -funroll-loops2017041020170228
3007654refcc2017041020170228

Compiler output

Implementation: crypto_encrypt/ntruees401ep2/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: 10, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx2 -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

Compiler output

Implementation: crypto_encrypt/ntruees401ep2/ref
Compiler: icc -xMIC-AVX512 -O2 -fomit-frame-pointer
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c(1172): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c(1172): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c(1172): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c(1172): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c(1172): (col. 5) warning #13211: Immediate parameter to intrinsic call too large
ntru_crypto_ntru_poly.c: ntru_crypto_ntru_poly.c(1172): (col. 5) warning #13211: Immediate parameter to intrinsic call too large

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
icc -xMIC-AVX512 -O2 -fomit-frame-pointer ref
icc -xMIC-AVX512 -O3 -fomit-frame-pointer ref