patchAVR C Runtime Library - Patches: patch #5621, Optimizing a 16-bit * 8-bit ->...


You are not allowed to post comments on this tracker with your current authentication level.

patch #5621: Optimizing a 16-bit * 8-bit -> 24-bit multiplication

Submitter:  None
Submitted:  Thu 07 Dec 2006 04:48:47 PM UTC
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Open

Thu 07 Dec 2006 04:48:47 PM UTC, original submission:  

On 12/1/06, Galen Seitz <> wrote:

> Not exactly what you want, but this might help you get started.
> galen
> extern inline int16_t
> mult_s16_u8s16(uint8_t a, int16_t b)


Thanks for the code snippet, Galen. Using your mult_s16_u8s16 for inspiration, I wrote mul_16_8 (u16 * u8 -> u24). Perhaps these functions should be added to avr-libc.




(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #11470:  mul.h added by None (349B - text/x-chdr)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2006-12-07 None Attached File- Added mul.h, #11470

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code