Implementation notes: amd64, h9trinity, crypto_aead/pyjamask96aeadv1

Computer: h9trinity
Architecture: amd64
CPU ID: AuthenticAMD-00610f01-178bfbff
SUPERCOP version: 20200618
Operation: crypto_aead
Primitive: pyjamask96aeadv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
351180512897 0 028585 776 872refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020041220200409
400747712797 0 027393 776 856refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020041220200409
481282816431 0 031669 784 928refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041220200409
50493156217 0 019100 776 928refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041220200409
509812212841 0 026961 776 872refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020041220200409
509868512841 0 026961 776 872refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020041220200409
53844464793 0 017756 776 928refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041220200409
53941164909 0 016487 768 856refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020041220200409
53965324234 0 016232 760 896refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041220200409

Compiler output

Implementation: crypto_aead/pyjamask96aeadv1/add_cortex-m4/v1
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
random.c: random.c:38:10: fatal error: 'libopencm3/stm32/rng.h' file not found
random.c: #include <libopencm3/stm32/rng.h>
random.c: ^~~~~~~~~~~~~~~~~~~~~~~~
random.c: 1 error generated.

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2

Compiler output

Implementation: crypto_aead/pyjamask96aeadv1/add_cortex-m4/v1
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
random.c: random.c:38:10: fatal error: libopencm3/stm32/rng.h: No such file or directory
random.c: #include <libopencm3/stm32/rng.h>
random.c: ^~~~~~~~~~~~~~~~~~~~~~~~
random.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2

Namespace violations

Implementation: crypto_aead/pyjamask96aeadv1/ref
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o ocb_decrypt T
encrypt.o ocb_encrypt T
pyjamask.o add_round_key_128 T
pyjamask.o add_round_key_96 T
pyjamask.o inv_mix_rows_128 T
pyjamask.o inv_mix_rows_96 T
pyjamask.o inv_sub_bytes_128 T
pyjamask.o inv_sub_bytes_96 T
pyjamask.o key_schedule T
pyjamask.o ks_add_constant T
pyjamask.o ks_mix_comlumns T
pyjamask.o ks_mix_rotate_rows T
pyjamask.o load_state T
pyjamask.o mat_mult T
pyjamask.o mix_rows_128 T
pyjamask.o mix_rows_96 T
pyjamask.o pyjamask_128_dec T
pyjamask.o pyjamask_128_enc T
pyjamask.o pyjamask_96_dec T
pyjamask.o pyjamask_96_enc T
pyjamask.o sub_bytes_128 T
pyjamask.o sub_bytes_96 T
pyjamask.o unload_state T

Number of similar (compiler,implementation) pairs: 9, 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
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref