Source-Changes archive

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

Re: CVS commit: src/sys/arch/arm/ep93xx



On Mon, May 26, 2008 at 10:57:36PM +0100, Chris Gilbert wrote:
>> Hm. My MIPS is very basic, but it seems like it generates external calls
>> for the division and does not optimise it as it should. Can someone
>> confirm that?
>
> heh, that's actually arm assembler, not MIPS :)  They do look very similar 
> though.

Bah, I'm not good with either.

> Because arm is softfloat it's expected that it will carry out division in 
> software.

Well, this is integer arithmetic and the mul+shift translation is
guarantied to be correct. Do some ARMs even lack a hardware mul?

> However, the issue is actually the default gcc mode is an arm processor 
> without umull.  The kernel config should add:
> makeoptions     CPUFLAGS="-march=armv4 -mtune=arm9"

Thanks, that's what I expected.

Joerg


Home | Main Index | Thread Index | Old Index