grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image scaling performance


From: Vladimir 'phcoder' Serbinenko
Subject: Re: Image scaling performance
Date: Tue, 24 Feb 2015 11:27:00 +0000



Le Tue Feb 24 2015 at 11:01:03 AM, Michael Zimmermann <address@hidden> a écrit :
the function seems to use __aeabi_uidiv. I'm not sure if this is a sw
or hw implementation.
software. Try attached patch 
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
<address@hidden> 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" <address@hidden> 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
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
>

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

Attachment: scale.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]