Implementation notes: amd64, cannon, crypto_aead/schwaemm128128v1

Computer: cannon
Architecture: amd64
CPU ID: GenuineIntel-00060663-bfebfbff
SUPERCOP version: 20190910
Operation: crypto_aead
Primitive: schwaemm128128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2012365594 0 018507 816 928refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091020190910
2171225549 0 018491 816 928refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091020190910
2310545075 0 017891 808 928optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091020190910
2332349813 0 025556 824 928refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091020190910
2382446423 0 022068 816 928optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091020190910
2407125045 0 017891 808 928optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091020190910

Compiler output

Implementation: opt
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: crypto_aead_schwaemm128128v1.a(encrypt.o): in function `crypto_aead_schwaemm128128v1_opt_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `processAD'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `encryptPT'
try.c: /usr/bin/ld: crypto_aead_schwaemm128128v1.a(encrypt.o): in function `crypto_aead_schwaemm128128v1_opt_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `processAD'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `decryptCT'
try.c: clang-8: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt

Compiler output

Implementation: opt
Security model: unknown
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: crypto_aead_schwaemm128128v1.a(encrypt.o): in function `crypto_aead_schwaemm128128v1_opt_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `initialize'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `processAD'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `encryptPT'
try.c: /usr/bin/ld: crypto_aead_schwaemm128128v1.a(encrypt.o): in function `crypto_aead_schwaemm128128v1_opt_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `initialize'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `processAD'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `decryptCT'
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 opt

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: crypto_aead_schwaemm128128v1.a(encrypt.o): in function `crypto_aead_schwaemm128128v1_ref_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `processAD'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `encryptPT'
try.c: /usr/bin/ld: crypto_aead_schwaemm128128v1.a(encrypt.o): in function `crypto_aead_schwaemm128128v1_ref_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `processAD'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `decryptCT'
try.c: clang-8: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: crypto_aead_schwaemm128128v1.a(encrypt.o): in function `crypto_aead_schwaemm128128v1_ref_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `initialize'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `processAD'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `encryptPT'
try.c: /usr/bin/ld: crypto_aead_schwaemm128128v1.a(encrypt.o): in function `crypto_aead_schwaemm128128v1_ref_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `initialize'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `processAD'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `decryptCT'
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