Implementation notes: aarch64, jetsontx1, crypto_aead/pyjamask96aeadv1

Computer: jetsontx1
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: pyjamask96aeadv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
312894110952 0 024983 808 856refarmclang_-march=armv8a+crypto_-mcpu=cortex-a57_-mtune=cortex-a57_-O3_-fPIC_-fPIE2019101720190910
315254510164 0 022721 760 856refclang_-mcpu=native_-march=armv8a+crypto_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910
40235359748 0 021679 816 864refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
42500936080 0 016754 808 848refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
440489111540 0 024087 808 840refarmclang_-march=armv8a+crypto_-mcpu=cortex-a57_-mtune=cortex-a57_-O2_-fPIC_-fPIE2019101720190910
440728910940 0 021969 760 840refclang_-mcpu=native_-march=armv8a+crypto_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910
441126410940 0 021969 760 840refclang_-mcpu=native_-march=armv8a+crypto_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910
46175784140 0 013854 792 840refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
46774444752 0 015434 808 848refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
49346924940 0 014071 752 840refclang_-mcpu=native_-march=armv8a+crypto_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910

Compiler output

Implementation: crypto_aead/pyjamask96aeadv1/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/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: 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