Implementation notes: aarch64, googlecoraldev, crypto_kem/hila5

Computer: googlecoraldev
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20191221
Operation: crypto_kem
Primitive: hila5
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
89802018781 0 037079 912 1584optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010620191221
96336015525 0 032639 912 1568optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010620191221
98838021109 0 040176 848 1568optclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010620191221
122274015165 0 031319 896 1552optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010620191221
125856016113 0 033167 912 1568optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010620191221
6439014010461 0 819629520 832 9776refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010620191221
648946805597 0 819621703 880 9744refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010620191221
732558607981 0 820826215 896 9792refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010620191221
744843606345 0 820023391 896 9760refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010620191221
802603806277 0 820023287 896 9760refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010620191221

Compiler output

Implementation: crypto_kem/hila5/avx2
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:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
ms_x64_ntt.S: push r12
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:69:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
ms_x64_ntt.S: push r13
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:70:3: error: unrecognized instruction mnemonic, did you mean: ushl, ushr?
ms_x64_ntt.S: push r14
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:73:7: error: invalid operand for instruction
ms_x64_ntt.S: mov r9, 1
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:74:7: error: invalid operand for instruction
ms_x64_ntt.S: mov rax, rdx
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:75:7: error: invalid operand for instruction
ms_x64_ntt.S: mov r12, rdx
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:76:3: error: unrecognized instruction mnemonic, did you mean: asr, lsr, msr, rshrn, shl, shrn, shrn2, sri, srshr, sshr, str, urshr, ushr?
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 avx2

Compiler output

Implementation: crypto_kem/hila5/avx2
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:68: Error: unknown mnemonic `push' -- `push r12'
ms_x64_ntt.S: ms_x64_ntt.S:69: Error: unknown mnemonic `push' -- `push r13'
ms_x64_ntt.S: ms_x64_ntt.S:70: Error: unknown mnemonic `push' -- `push r14'
ms_x64_ntt.S: ms_x64_ntt.S:73: Error: operand 1 must be an integer register -- `mov r9,1'
ms_x64_ntt.S: ms_x64_ntt.S:74: Error: operand 1 must be an integer register -- `mov rax,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:75: Error: operand 1 must be an integer register -- `mov r12,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:76: Error: unknown mnemonic `shr' -- `shr r12,4'
ms_x64_ntt.S: ms_x64_ntt.S:77: Error: unknown mnemonic `vmovdqu' -- `vmovdqu ymm14,MASK12x8'
ms_x64_ntt.S: ms_x64_ntt.S:78: Error: unknown mnemonic `vmovdqu' -- `vmovdqu ymm12,PERM0246'
ms_x64_ntt.S: ms_x64_ntt.S:79: Error: operand 1 must be an integer register -- `mov r14,16'
ms_x64_ntt.S: ms_x64_ntt.S:80: Error: operand 1 must be an integer register -- `mov rcx,11'
ms_x64_ntt.S: ms_x64_ntt.S:82: Error: unknown mnemonic `shr' -- `shr rax,1'
ms_x64_ntt.S: ms_x64_ntt.S:83: Error: unknown mnemonic `dec' -- `dec rcx'
ms_x64_ntt.S: ms_x64_ntt.S:84: Error: unknown mnemonic `xor' -- `xor rdx,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:86: Error: operand 1 must be an integer register -- `mov r10,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:87: Error: operand 1 must be an integer register -- `mov r11,rax'
ms_x64_ntt.S: ms_x64_ntt.S:88: Error: unknown mnemonic `dec' -- `dec r11'
ms_x64_ntt.S: ms_x64_ntt.S:89: Error: operand 1 must be a SIMD scalar register -- `shl r10,cl'
ms_x64_ntt.S: ms_x64_ntt.S:90: Error: operand 1 must be an integer or stack pointer register -- `add r11,r10'
ms_x64_ntt.S: ms_x64_ntt.S:91: Error: operand 1 must be an integer register -- `mov r13,r9'
ms_x64_ntt.S: ms_x64_ntt.S:92: Error: operand 1 must be an integer or stack pointer register -- `add r13,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:93: Error: unknown mnemonic `vbroadcastss' -- `vbroadcastss ymm11,DWORD PTR[rsi+4*r13]'
ms_x64_ntt.S: ms_x64_ntt.S:96: Error: operand 1 must be an integer register -- `mov r13,r10'
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 avx2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2

Namespace violations

Implementation: crypto_kem/hila5/opt
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 opt
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt

Namespace violations

Implementation: crypto_kem/hila5/ref
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 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