Implementation notes: aarch64, jetsontx1, crypto_aead/pyjamask128aeadv1

Computer: jetsontx1
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: pyjamask128aeadv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
295101511028 0 023585 760 856refclang_-mcpu=native_-march=armv8a+crypto_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910
295251611960 0 025991 808 856refarmclang_-march=armv8a+crypto_-mcpu=cortex-a57_-mtune=cortex-a57_-O3_-fPIC_-fPIE2019101720190910
381594410212 0 022151 816 864refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
40249695944 0 016626 808 848refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
410754811804 0 022881 760 840refclang_-mcpu=native_-march=armv8a+crypto_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910
411085911804 0 022881 760 840refclang_-mcpu=native_-march=armv8a+crypto_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910
412671812548 0 025063 808 840refarmclang_-march=armv8a+crypto_-mcpu=cortex-a57_-mtune=cortex-a57_-O2_-fPIC_-fPIE2019101720190910
42156474044 0 013782 792 840refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
43201454512 0 015202 808 848refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
45461345060 0 014239 752 840refclang_-mcpu=native_-march=armv8a+crypto_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910

Compiler output

Implementation: crypto_aead/pyjamask128aeadv1/add_cortex-m4/v1
Compiler: armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O2 -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: 12, namely:
CompilerImplementations
armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O2 -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O3 -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
clang -mcpu=native -march=armv8a+crypto -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
clang -mcpu=native -march=armv8a+crypto -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
clang -mcpu=native -march=armv8a+crypto -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2
clang -mcpu=native -march=armv8a+crypto -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE add_cortex-m4/v1 add_cortex-m4/v2

Compiler output

Implementation: crypto_aead/pyjamask128aeadv1/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/pyjamask128aeadv1/ref
Compiler: armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O2 -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: 10, namely:
CompilerImplementations
armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O2 -fPIC -fPIE ref
armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O3 -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -Os -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