Yahoo Groups archive

Lpc2000

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

Message

Faster integer division with KEIL

2005-12-12 by uedogan

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

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.