Implementation notes: amd64, pmnod076, crypto_aead/aegis256

Computer: pmnod076
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: aegis256
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
29543752 0 022909 856 928aesniicc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102320191017
29563752 0 022589 856 928aesniicc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102320191017
29723752 0 023261 856 928aesniicc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102320191017
29763752 0 022701 856 928aesniicc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102320191017
29983656 0 021925 856 864aesniicc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102320191017
29983656 0 021925 856 864aesniicc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102320191017
30003656 0 022325 856 864aesniicc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102320191017
30023656 0 022325 856 864aesniicc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102320191017
30163880 0 022229 856 864aesniicc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102320191017
30243656 0 021925 856 864aesniicc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102320191017
30243656 0 022325 856 864aesniicc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102320191017
30243656 0 021925 856 864aesniicc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102320191017
30323656 0 022325 856 864aesniicc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102320191017
30383880 0 022229 856 864aesniicc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102320191017
30423880 0 022229 856 864aesniicc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102320191017
30443880 0 022197 856 864aesniicc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102320191017
30443880 0 022229 856 864aesniicc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102320191017
30443880 0 022197 856 864aesniicc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102320191017
30463880 0 022197 856 864aesniicc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102320191017
30603880 0 022197 856 864aesniicc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102320191017
31904453 0 019819 832 896aesnigcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
32443848 0 016478 824 896aesnigcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
32963660 0 016254 824 896aesnigcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
37164400 0 021405 856 864aesniicc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102320191017
37284400 0 021461 856 864aesniicc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102320191017
538685584 4096 023877 4960 864reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102320191017
538725584 4096 023877 4960 864reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102320191017
538845584 4096 023877 4960 864reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102320191017
538965584 4096 023877 4960 864reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102320191017
540045568 4096 024381 4960 928reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102320191017
540165568 4096 024493 4960 928reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102320191017
540345568 4096 024213 4960 864reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102320191017
540385568 4096 024213 4960 864reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102320191017
540385568 4096 023813 4960 864reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102320191017
540505568 4096 024213 4960 864reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102320191017
540865584 4096 023909 4960 864reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102320191017
541105584 4096 023909 4960 864reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102320191017
541105600 4096 024733 4960 928reficc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102320191017
541325568 4096 023813 4960 864reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102320191017
541405568 4096 024213 4960 864reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102320191017
541465568 4096 023813 4960 864reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102320191017
541505536 4096 022573 4960 864reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102320191017
541705584 4096 023909 4960 864reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102320191017
541725584 4096 023909 4960 864reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102320191017
541865568 4096 023813 4960 864reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102320191017
541925536 4096 022517 4960 864reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102320191017
543505600 4096 025085 4960 928reficc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102320191017
546226010 4096 018574 4928 896refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
549806229 4096 018838 4928 896refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
550905976 4096 021315 4936 896refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017

Test failure

Implementation: crypto_aead/aegis256/aesni
Compiler: icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer aesni ref
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer aesni ref

Compiler output

Implementation: crypto_aead/aegis256/aesni
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_aead_aegis256.a(encrypt.o): in function `crypto_aead_aegis256_aesni_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_aead_aegis256.a(encrypt.o): in function `crypto_aead_aegis256_aesni_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_aead_aegis256.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `aegis256_enc_aut_step' follow
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_aead_aegis256.a(encrypt.o): in function `crypto_aead_aegis256_aesni_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis256_dec_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_dec_aut_step'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE aesni

Compiler output

Implementation: crypto_aead/aegis256/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_aead_aegis256.a(encrypt.o): in function `crypto_aead_aegis256_ref_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis256_initialization'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_aead_aegis256.a(encrypt.o): in function `crypto_aead_aegis256_ref_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis256_initialization'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_enc_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_dec_aut_step'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encrypt.c:(.text+0x...): undefined reference to `aegis256_dec_aut_step'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref