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

Submitted by:  None
Submitted on:  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 <galens@seitzassoc.com> 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.

Cheers,
Shaun

Anonymous

 

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

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

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.3