Implementation notes: amd64, pmnod076, crypto_aead/aegis128

Computer: pmnod076
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: aegis128
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
27823288 0 022445 856 928aesniicc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102320191017
27843288 0 022797 856 928aesniicc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102320191017
27903256 0 022093 856 928aesniicc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102320191017
28043256 0 022205 856 928aesniicc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102320191017
28403176 0 021445 856 864aesniicc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102320191017
28423176 0 021445 856 864aesniicc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102320191017
28443176 0 021845 856 864aesniicc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102320191017
28483176 0 021845 856 864aesniicc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102320191017
28763176 0 021445 856 864aesniicc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102320191017
28863176 0 021845 856 864aesniicc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102320191017
28903176 0 021845 856 864aesniicc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102320191017
28943400 0 021685 856 864aesniicc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102320191017
28983176 0 021445 856 864aesniicc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102320191017
29083400 0 021717 856 864aesniicc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102320191017
29103400 0 021717 856 864aesniicc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102320191017
29103400 0 021717 856 864aesniicc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102320191017
29123400 0 021685 856 864aesniicc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102320191017
29143400 0 021685 856 864aesniicc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102320191017
29163400 0 021717 856 864aesniicc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102320191017
29203400 0 021685 856 864aesniicc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102320191017
30604301 0 019643 832 896aesnigcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
31623542 0 016158 824 896aesnigcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
32063327 0 015902 824 896aesnigcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
34283904 0 020949 856 864aesniicc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102320191017
34303904 0 020893 856 864aesniicc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102320191017
442325480 4096 023749 4960 864reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102320191017
442425432 4096 022461 4960 864reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102320191017
442885480 4096 023749 4960 864reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102320191017
442965480 4096 023749 4960 864reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102320191017
443045480 4096 023749 4960 864reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102320191017
443425512 4096 024445 4960 928reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102320191017
443665432 4096 022405 4960 864reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102320191017
444165480 4096 023781 4960 864reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102320191017
444505512 4096 023765 4960 864reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102320191017
444705512 4096 024333 4960 928reficc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102320191017
444745512 4096 024165 4960 864reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102320191017
445065480 4096 023781 4960 864reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102320191017
445445512 4096 024165 4960 864reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102320191017
445665496 4096 024637 4960 928reficc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102320191017
445685512 4096 024165 4960 864reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102320191017
445705512 4096 024165 4960 864reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102320191017
445845480 4096 023781 4960 864reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102320191017
445985480 4096 023781 4960 864reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102320191017
446185512 4096 023765 4960 864reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102320191017
446225512 4096 023765 4960 864reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102320191017
446425512 4096 023765 4960 864reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102320191017
446525496 4096 024989 4960 928reficc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102320191017
454084821 4096 017358 4928 896refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
456685401 4096 020731 4936 896refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
457985609 4096 018206 4928 896refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017

Test failure

Implementation: crypto_aead/aegis128/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/aegis128/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_aegis128.a(encrypt.o): in function `crypto_aead_aegis128_aesni_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis128_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 `aegis128_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 `aegis128_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 `aegis128_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_aegis128.a(encrypt.o): in function `crypto_aead_aegis128_aesni_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis128_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_aegis128.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `aegis128_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_aegis128.a(encrypt.o): in function `crypto_aead_aegis128_aesni_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis128_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 `aegis128_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/aegis128/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_aegis128.a(encrypt.o): in function `crypto_aead_aegis128_ref_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis128_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 `aegis128_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 `aegis128_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 `aegis128_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_aegis128.a(encrypt.o): in function `crypto_aead_aegis128_ref_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis128_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_aegis128.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `aegis128_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_aegis128.a(encrypt.o): in function `crypto_aead_aegis128_ref_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `aegis128_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 `aegis128_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