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 4/9] Optimise __aeabi_uldivmod


On 11/06/14 11:19, Charles Baylis wrote:
> 2014-05-22  Charles Baylis  <charles.baylis@linaro.org>
> 
>         * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call
>         to __udivmoddi4.

OK.

R.

> ---
>  libgcc/config/arm/bpabi.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libgcc/config/arm/bpabi.S b/libgcc/config/arm/bpabi.S
> index 67246b0..927e37f 100644
> --- a/libgcc/config/arm/bpabi.S
> +++ b/libgcc/config/arm/bpabi.S
> @@ -207,7 +207,7 @@ ARM_FUNC_START aeabi_uldivmod
>  
>  	push_for_divide	__aeabi_uldivmod
>  	/* arguments in (r0:r1), (r2:r3) and *sp */
> -	bl	SYM(__gnu_uldivmod_helper) __PLT__
> +	bl	SYM(__udivmoddi4) __PLT__
>  	pop_for_divide
>  	RET
>  	cfi_end	LSYM(Lend_aeabi_uldivmod)
> 



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