Implementation notes: amd64, margaux, crypto_aead/pyjamask128aeadv1

Computer: margaux
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20200618
Operation: crypto_aead
Primitive: pyjamask128aeadv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
370465217402 0 032523 744 928refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041220200409
38022036040 0 018946 736 928refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041220200409
38589305451 0 017318 784 856refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020041220200409
39913384250 0 015902 720 896refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041220200409
39924544801 0 017490 736 928refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020041220200409
406300517466 0 031280 792 856refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020041220200409
406440017434 0 031104 792 856refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020041220200409
406560617466 0 030344 792 856refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020041220200409
411246917466 0 030344 792 856refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020041220200409

Compiler output

Implementation: crypto_aead/pyjamask128aeadv1/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/pyjamask128aeadv1/add_cortex-m4/v1
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
random.c: random.c:38:34: fatal error: libopencm3/stm32/rng.h: No such file or directory
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: 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