If speed is more important than size (likely as most AVR chips today
have much more flash than those available long long ago when that code
was originally written), here ia a proposed (untested) patch to unroll
the loop (simply repeat the code 8 times) for >8K flash devices,
The larger and faster
Am 21.04.24 um 10:08 schrieb Wolfgang Hospital:> Dear all,>
Is there a test scaffold for the functions from lib1funcs.S,
correctness, size&speed over the variety of 8-bit AVR cores?
Size is the easiest one: Just determine the size of, say
-nodefaultlibs -nostartfiles against a respective comp
Dnia Sun, Apr 21, 2024 at 10:08:11AM +0200, Wolfgang Hospital napisał(a):
>I've been tinkering around, the "ldi r_cnt, 9""rjmp entry point" in
>__udivmodqi4 instead of "ldi r_cnt, 8""lsl r_arg1" annoying me for
>years. (Biggest relative strict improvement I found, FWIW.)
Number of