Implementation notes: armeabi, berry2, crypto_kem/hila5

Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_kem
Primitive: hila5
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
229350327705 0 050006 432 1536T:optclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052720240425
237739019117 0 029812 420 1528T:optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052720240425
271150224041 0 037076 428 1528T:optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052720240425
273775221933 0 033152 428 1528T:optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052720240425
275395820049 0 031340 428 1528T:optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052720240425
6385483411357 0 819624392 420 9728T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052720240425
648250036773 0 819617992 420 9728T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052720240425
783666546533 0 819617824 420 9728T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052720240425
7983722114121 0 819636470 424 9736T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024052720240425
920715695921 0 819616616 412 9720T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024052720240425

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
ms_x64_ntt.S: ms_x64_ntt.S:18:1: error: unknown directive
ms_x64_ntt.S: .intel_syntax noprefix
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:37:12: error: invalid alignment value
ms_x64_ntt.S: .align 32
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:68:8: error: invalid operand for instruction
ms_x64_ntt.S: push r12
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:69:8: error: invalid operand for instruction
ms_x64_ntt.S: push r13
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:70:8: error: invalid operand for instruction
ms_x64_ntt.S: push r14
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:74:3: error: invalid instruction
ms_x64_ntt.S: mov rax, rdx
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:75:3: error: invalid instruction, any one of the following would fix this:
ms_x64_ntt.S: mov r12, rdx
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:75:3: note: instruction requires: armv6t2
ms_x64_ntt.S: mov r12, rdx
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:75:3: note: instruction requires: thumb2
ms_x64_ntt.S: ...

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

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
ms_x64_ntt.S: ms_x64_ntt.S: Assembler messages:
ms_x64_ntt.S: ms_x64_ntt.S:18: Error: unknown pseudo-op: `.intel_syntax'
ms_x64_ntt.S: ms_x64_ntt.S:37: Warning: alignment too large: 31 assumed
ms_x64_ntt.S: ms_x64_ntt.S:68: Error: expression too complex -- `push r12'
ms_x64_ntt.S: ms_x64_ntt.S:69: Error: expression too complex -- `push r13'
ms_x64_ntt.S: ms_x64_ntt.S:70: Error: expression too complex -- `push r14'
ms_x64_ntt.S: ms_x64_ntt.S:73: Error: immediate expression requires a # prefix -- `mov r9,1'
ms_x64_ntt.S: ms_x64_ntt.S:74: Error: ARM register expected -- `mov rax,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:75: Error: immediate expression requires a # prefix -- `mov r12,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:76: Error: bad instruction `shr r12,4'
ms_x64_ntt.S: ms_x64_ntt.S:77: Error: bad instruction `vmovdqu ymm14,[rip+MASK12x8]'
ms_x64_ntt.S: ms_x64_ntt.S:78: Error: bad instruction `vmovdqu ymm12,[rip+PERM0246]'
ms_x64_ntt.S: ms_x64_ntt.S:79: Error: immediate expression requires a # prefix -- `mov r14,16'
ms_x64_ntt.S: ms_x64_ntt.S:80: Error: ARM register expected -- `mov rcx,11'
ms_x64_ntt.S: ms_x64_ntt.S:82: Error: bad instruction `shr rax,1'
ms_x64_ntt.S: ms_x64_ntt.S:83: Error: bad instruction `dec rcx'
ms_x64_ntt.S: ms_x64_ntt.S:84: Error: bad instruction `xor rdx,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:86: Error: immediate expression requires a # prefix -- `mov r10,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:87: Error: immediate expression requires a # prefix -- `mov r11,rax'
ms_x64_ntt.S: ms_x64_ntt.S:88: Error: bad instruction `dec r11'
ms_x64_ntt.S: ms_x64_ntt.S:89: Error: bad instruction `shl r10,cl'
ms_x64_ntt.S: ms_x64_ntt.S:92: Error: immediate expression requires a # prefix -- `add r13,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:93: Error: bad instruction `vbroadcastss ymm11,DWORD PTR [rsi+4*r13]'
ms_x64_ntt.S: ms_x64_ntt.S:97: Error: immediate expression requires a # prefix -- `add r13,rax'
ms_x64_ntt.S: ms_x64_ntt.S:98: Error: bad instruction `vpmovsxdq ymm1,XMMWORD PTR [rdi+4*r13]'
ms_x64_ntt.S: ...

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

Namespace violations

Implementation: T:opt
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hila5_sha3_opt.o hila5_sha3 T
hila5_sha3_opt.o hila5_sha3_final T
hila5_sha3_opt.o hila5_sha3_init T
hila5_sha3_opt.o hila5_sha3_update T
hila5_sha3_opt.o hila5_shake_out T
hila5_sha3_opt.o hila5_shake_xof T
ms_ntt.o mslc_correction T
ms_ntt.o mslc_intt T
ms_ntt.o mslc_ntt T
ms_ntt.o mslc_pmul T
ms_ntt.o mslc_pmuladd T
ms_ntt.o mslc_smul T
ms_ntt.o mslc_two_reduce12289 T
ms_ntt_const.o mslc_inv_rev_ntt1024 R
ms_ntt_const.o mslc_psi_rev_ntt1024 R

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
hila5_sha3_ref.o hila5_sha3 T
hila5_sha3_ref.o hila5_sha3_final T
hila5_sha3_ref.o hila5_sha3_init T
hila5_sha3_ref.o hila5_sha3_keccakf T
hila5_sha3_ref.o hila5_sha3_update T
hila5_sha3_ref.o hila5_shake_out T
hila5_sha3_ref.o hila5_shake_xof T
kem.o slow_rmul 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