[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH RFC 04/25] Replace "/" operand with div64
On 07/12/2011 09:24, "Jan Beulich" <JBeulich@xxxxxxxx> wrote: >>>> On 06.12.11 at 19:19, <stefano.stabellini@xxxxxxxxxxxxx> wrote: >> ARM does not have a division operator: division has to be implemented >> in software. >> On x86 and ia64 div64 falls back to a do_div based implementation. > > But this needs to be done carefully and correctly - there's no > one-fits-all div64() implementation. I'm sure gcc-arm must emit lib calls for divisions. Maybe arch/arm needs to implement some of those if arm doesn't support even 32-bit divide. Common lib code covers only 64-bit divide. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |