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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [ANNOUNCE] ktimers subsystem
- From: Tim Bird <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- References:
- [ANNOUNCE] ktimers subsystem
- From: [email protected]
- Re: [ANNOUNCE] ktimers subsystem
- From: Roman Zippel <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: Thomas Gleixner <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: Roman Zippel <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: "Christopher Friesen" <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: Roman Zippel <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: Thomas Gleixner <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: Roman Zippel <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: Ingo Molnar <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: Roman Zippel <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: Thomas Gleixner <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: Roman Zippel <[email protected]>
- Re: [ANNOUNCE] ktimers subsystem
- From: Thomas Gleixner <[email protected]>
- [ANNOUNCE] ktimers subsystem
- Prev by Date: Re: [ANNOUNCE] Framework for automatic Configuration of a Kernel
- Next by Date: Re: [linux-usb-devel] Re: [Security] [vendor-sec] [BUG/PATCH/RFC] Oops while completing async USB via usbdevio
- Previous by thread: Re: [ANNOUNCE] ktimers subsystem
- Next by thread: Re: [ANNOUNCE] ktimers subsystem
- Index(es):