This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/9] Add comments


On 11/06/14 11:19, Charles Baylis wrote:
> 2014-05-22  Charles Baylis  <charles.baylis@linaro.org>
> 
> 	* config/arm/bpabi.S (__aeabi_uldivmod, __aeabi_ldivmod): Add comment
> 	describing register usage on function entry and exit.


OK.

R.
> ---
>  libgcc/config/arm/bpabi.S | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/libgcc/config/arm/bpabi.S b/libgcc/config/arm/bpabi.S
> index f47d715..ae76cd3 100644
> --- a/libgcc/config/arm/bpabi.S
> +++ b/libgcc/config/arm/bpabi.S
> @@ -122,6 +122,14 @@ ARM_FUNC_START aeabi_ulcmp
>  
>  #ifdef L_aeabi_ldivmod
>  
> +/* Perform 64 bit signed division.
> +   Inputs:
> +	r0:r1	numerator
> +	r2:r3	denominator
> +   Outputs:
> +	r0:r1	quotient
> +	r2:r3	remainder
> + */
>  ARM_FUNC_START aeabi_ldivmod
>  	cfi_start	__aeabi_ldivmod, LSYM(Lend_aeabi_ldivmod)
>  	test_div_by_zero	signed
> @@ -145,6 +153,14 @@ ARM_FUNC_START aeabi_ldivmod
>  
>  #ifdef L_aeabi_uldivmod
>  
> +/* Perform 64 bit signed division.
> +   Inputs:
> +	r0:r1	numerator
> +	r2:r3	denominator
> +   Outputs:
> +	r0:r1	quotient
> +	r2:r3	remainder
> + */
>  ARM_FUNC_START aeabi_uldivmod
>  	cfi_start	__aeabi_uldivmod, LSYM(Lend_aeabi_uldivmod)
>  	test_div_by_zero	unsigned
> 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]