diff mbox

[4/9] Optimise __aeabi_uldivmod

Message ID 1402481995-12749-4-git-send-email-charles.baylis@linaro.org
State New
Headers show

Commit Message

Charles Baylis June 11, 2014, 10:19 a.m. UTC
2014-05-22  Charles Baylis  <charles.baylis@linaro.org>

        * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call
        to __udivmoddi4.
---
 libgcc/config/arm/bpabi.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Earnshaw June 18, 2014, 1:53 p.m. UTC | #1
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)
>
diff mbox

Patch

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)