On 26/04/11 03:39, Nicolas Pitre wrote:
But I digress.  This is just to say that gcc shouldn't pull
__aeabi_uldivmod in this case because:

There isn't a library call (or instruction) for a straight 'mod' operation, so GCC always has to use 'divmod', no exceptions.

In any case, optimization of a div and a mod into a single call is problematic, at best, so it's unlikely that's happening. See GCC PR43721.

Andrew

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

Reply via email to