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 Sun, May 25, 2008 at 03:57:22AM +0000, Katsuomi Hamajima wrote:
> Modified Files:
>       src/sys/arch/arm/ep93xx: epclk.c
> 
> Log Message:
> speed up an initial value  calculation of "remaining" variable in delay().

Are you sure that GCC doesn't do exactly that? For unsigned arithmetic,
GCC will normally use unsigned mul + shift and not a division. It would
be strongly prefered to not have inline assembly here.

Joerg


Home | Main Index | Thread Index | Old Index