On Tue, 26 Apr 2011, Michael Hope wrote:

> Yip, so the compiler spots these two lines:
>          Ndiv = target / source;
>          Nmod = target % source;
> 
> and turns them into
>   Ndiv, Nmod = __aeabi_uldivmod(target, source)

Why would gcc do that?  All four variables involved here are of type 
unsigned int, no unsigned long long.  Seems to me that __aeabi_uidivmod 
should have been used here instead.


Nicolas

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to