lkml.org 
[lkml]   [2005]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ANNOUNCE] ktimers subsystem
Hi,

On Sun, 25 Sep 2005, Thomas Gleixner wrote:

> On Sun, 2005-09-25 at 01:45 +0200, Roman Zippel wrote:
>
> > The multiply is not necessarly cheap, if the arch has no 32x32->64
> > instruction, gcc will generate a call to __muldi3().
>
> Can you please point out which architectures do not have a 32x32->64
> instruction ?

I have no complete overview. I know that Motorola actually removed that
instruction in the M68060 (it causes an emulation trap) and it's still not
back in newer ColdFire cpus. For arm it's an optional instruction in
earlier versions (v3). For ppc it's splitted into two instructions.

For the rest you might want to check <asm/div64.h>, if div64 has to be
emulated, there are good chances this instruction has to be emulated as
well (especially in smaller embedded archs).

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-27 18:51    [W:0.108 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site