Implementation notes: armeabi, berry2, crypto_aead/schwaemm128128v2

Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: schwaemm128128v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4453864417 0 017491 400 816T:optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
5394533293 0 014004 392 816T:optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
5926685601 0 028920 392 832T:optclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012920240107
5981104013 0 015323 404 816T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
63419910657 0 023787 404 816T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
7037338523 0 031887 396 832T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012920240107
7189644137 0 015763 404 816T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
7438293781 0 014548 396 816T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
8032933973 0 015227 400 816T:optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107
8965173973 0 015543 400 816T:optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012920240107

Compiler output

Implementation: T:add_armv7m_fast
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
sparkle256f_v7m.S: sparkle256f_v7m.S:410:1: error: unknown directive
sparkle256f_v7m.S: .func sparkle256_arm
sparkle256f_v7m.S: ^
sparkle256f_v7m.S: sparkle256f_v7m.S:425:1: error: unknown directive
sparkle256f_v7m.S: .endfunc
sparkle256f_v7m.S: ^

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:add_armv7m_fast

Compiler output

Implementation: T:add_armv7m_fast
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: error: libcrypto_aead_schwaemm128128v2.a(sparkle256f_v7m.o): conflicting architecture profiles M/A
try.c: /usr/bin/ld: failed to merge target specific data of file libcrypto_aead_schwaemm128128v2.a(sparkle256f_v7m.o)
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:add_armv7m_fast
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:add_armv7m_fast
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:add_armv7m_fast
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:add_armv7m_fast

Compiler output

Implementation: T:add_armv7m_small
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
sparkle256s_v7m.S: sparkle256s_v7m.S:171:1: error: unknown directive
sparkle256s_v7m.S: .func sparkle256_arm
sparkle256s_v7m.S: ^
sparkle256s_v7m.S: sparkle256s_v7m.S:183:1: error: unknown directive
sparkle256s_v7m.S: .endfunc
sparkle256s_v7m.S: ^

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:add_armv7m_small

Compiler output

Implementation: T:add_armv7m_small
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: error: libcrypto_aead_schwaemm128128v2.a(sparkle256s_v7m.o): conflicting architecture profiles M/A
try.c: /usr/bin/ld: failed to merge target specific data of file libcrypto_aead_schwaemm128128v2.a(sparkle256s_v7m.o)
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:add_armv7m_small
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:add_armv7m_small
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:add_armv7m_small
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:add_armv7m_small

Namespace violations

Implementation: T:opt
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o Finalize T
encrypt.o GenerateTag T
encrypt.o Initialize T
encrypt.o ProcessAssocData T
encrypt.o ProcessCipherText T
encrypt.o ProcessPlainText T
encrypt.o VerifyTag T
sparkle_opt.o clear_state_opt T
sparkle_opt.o print_state_opt T
sparkle_opt.o sparkle_inv_opt T
sparkle_opt.o sparkle_opt T
sparkle_opt.o test_sparkle_opt T

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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o Finalize T
encrypt.o GenerateTag T
encrypt.o Initialize T
encrypt.o ProcessAssocData T
encrypt.o ProcessCipherText T
encrypt.o ProcessPlainText T
encrypt.o VerifyTag T
sparkle_ref.o clear_state_ref T
sparkle_ref.o linear_layer T
sparkle_ref.o linear_layer_inv T
sparkle_ref.o print_state_ref T
sparkle_ref.o sparkle_inv_ref T
sparkle_ref.o sparkle_ref T
sparkle_ref.o test_sparkle_ref T

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