Implementation notes: amd64, genji154, crypto_encrypt/ntruees593ep1

Computer: genji154
Architecture: amd64
CPU ID: GenuineIntel-00050671-bfebfbff
SUPERCOP version: 20170228
Operation: crypto_encrypt
Primitive: ntruees593ep1
TimeImplementationCompilerBenchmark dateSUPERCOP version
453583reficc -xMIC-AVX512 -O2 -fomit-frame-pointer2017041020170228
461253reficc -xMIC-AVX512 -O3 -fomit-frame-pointer2017041020170228
1064388reficc2017041020170228
1100710reficc -no-vec2017041020170228

Compiler output

Implementation: crypto_encrypt/ntruees593ep1/ref
Compiler: cc
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224_addbits_and_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha256_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o):sha2.c:(.text+0x...): more undefined references to `__intel_mic_avx512f_memset' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 107, namely:
CompilerImplementations
cc ref
gcc ref
gcc -O2 -fomit-frame-pointer ref
gcc -O3 -fomit-frame-pointer ref
gcc -O -fomit-frame-pointer ref
gcc -Os -fomit-frame-pointer ref
gcc -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops ref
gcc -funroll-loops -O2 -fomit-frame-pointer ref
gcc -funroll-loops -O3 -fomit-frame-pointer ref
gcc -funroll-loops -O -fomit-frame-pointer ref
gcc -funroll-loops -Os -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer ref
gcc -m64 -O2 -fomit-frame-pointer ref
gcc -m64 -O3 -fomit-frame-pointer ref
gcc -m64 -O -fomit-frame-pointer ref
gcc -m64 -Os -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -O -fomit-frame-pointer ref
gcc -m64 -march=core-avx-i -Os -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -O3 -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -O -fomit-frame-pointer ref
gcc -m64 -march=core-avx2 -Os -fomit-frame-pointer ref
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 -O3 -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 -O3 -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-avx -O2 -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -O -fomit-frame-pointer ref
gcc -m64 -march=corei7-avx -Os -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O3 -fomit-frame-pointer ref
gcc -m64 -march=corei7 -O -fomit-frame-pointer ref
gcc -m64 -march=corei7 -Os -fomit-frame-pointer ref
gcc -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer ref
gcc -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -march=barcelona -O2 -fomit-frame-pointer ref
gcc -march=barcelona -O3 -fomit-frame-pointer ref
gcc -march=barcelona -O -fomit-frame-pointer ref
gcc -march=barcelona -Os -fomit-frame-pointer ref
gcc -march=k8 -O2 -fomit-frame-pointer ref
gcc -march=k8 -O3 -fomit-frame-pointer ref
gcc -march=k8 -O -fomit-frame-pointer ref
gcc -march=k8 -Os -fomit-frame-pointer ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref
gcc -march=nocona -O2 -fomit-frame-pointer ref
gcc -march=nocona -O3 -fomit-frame-pointer ref
gcc -march=nocona -O -fomit-frame-pointer ref
gcc -march=nocona -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: 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/ntruees593ep1/ref
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224_addbits_and_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha256_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o):sha2.c:(.text+0x...): more undefined references to `__intel_mic_avx512f_memset' follow
try.c: collect2: error: ld returned 1 exit status
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memcpy'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha224_addbits_and_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o): In function `sph_sha256_close':
try.c: sha2.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.c: /home/bdolbeaur/supercop-20170228/supercop-data/genji154/amd64/lib/libsupercop.a(crypto_hash_sha256_sphlib-sha2.o):sha2.c:(.text+0x...): more undefined references to `__intel_mic_avx512f_memset' follow
try.c: collect2: error: ld returned 1 exit status

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

Compiler output

Implementation: crypto_encrypt/ntruees593ep1/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