the function seems to use __aeabi_uidiv. I'm not sure if this is a sw
or hw implementation.
Full code:
ASM: http://pastebin.com/FnPRZt1H
pseudo-C: http://pastebin.com/dH3YBk46

On Tue, Feb 24, 2015 at 10:51 AM, Vladimir 'phcoder' Serbinenko
<phco...@gmail.com> wrote:
> Did you try to look at ASM of the function in question? Do you compile to
> thumb? Multiplication sometimes generates function calls in thumb. Try
> marking the scaling function as arm explicitly
>
> Le 2015-02-24 10:39, "Michael Zimmermann" <sigmaepsilo...@gmail.com> a écrit
> :
>>
>> Any ideas what could slow down the image scaling algorithm?
>> The only reasons I could think of would either be slow memory or some
>> compiler problems. Since my Ram is mapped cachable I don't think the
>> RAM is too slow.
>>
>> I even forces using the Nearest neighbor algorithm already. It speeds
>> things up a lot but it's not as fast as you'd expect.
>>
>> Some technical info:
>> ARMv7
>> Linaro GCC 4.9
>> MMU setup is done by the previous bootloader(I disabled GRUB's (uboot)
>> MMU setup - it prooved to be faster)
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to