Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\mpi\mpi-inline.h Create Date:2022-07-28 07:18:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mpihelp_add_1

Proto:G10_MPI_INLINE_DECL mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, mpi_limb_t s2_limb)

Type:mpi_limb_t

Parameter:

TypeParameterName
mpi_ptr_tres_ptr
mpi_ptr_ts1_ptr
mpi_size_ts1_size
mpi_limb_ts2_limb
29  x = s1_ptr++
30  s2_limb += x
31  res_ptr++ = s2_limb
32  If s2_limb < x Then
33  When --s1_size cycle
34  x = * s1_ptr++ + 1
35  res_ptr++ = x
36  If x Then Go to leave
39  Return 1
42  leave :
43  If res_ptr != s1_ptr Then
45  When i < s1_size - 1 cycle res_ptr[i] = s1_ptr[i]
48  Return 0
Caller
NameDescribe
mul_n
mpih_sqr_n
mpihelp_mul_karatsuba_case