Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] Faster integer division with KEIL

2005-12-13 by Paul Curtis

Hi,

Is the divisor a constant or is it variable?



> -----Original Message-----
> From: uedogan [mailto:uedogan@...] 
> Sent: 12 December 2005 22:37
> To: lpc2000@yahoogroups.com
> Subject: [lpc2000] Faster integer division with KEIL
> 
> Hi everybody,
> 
> i'm currently working with the LPC2136 and the latest KEIL 
> C-compiler. 
> Does anybody know some functions that provide a (much) faster 16-bit 
> unsigned integer division than KEIL currently has? I have ~58MHz and 
> the division currently needs about 2us.
> I would even prefer some 32-Bit unsigned integer divisions but these 
> run totaly out of my available timing (KEIL needs ~3.9us for that).
> 
> Does anybody know about specialised unsigned integer division 
> functions, e.g. 24bit/16bit or 16bit/8bit?
> 
> Unfortunately i'm not familiar with the ARM assembler code. So if 
> anyone can provide code then it would be helpful if it can be simply 
> implemented with the KEIL compiler.
> 
> Thanks a lot,
> Uenal
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> 
> Get Bzzzy! (real tools to help you find a job). Welcome to 
> the Sweet Life.
> http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/dN_tlB/TM
> --------------------------------------------------------------
> ------~-> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.