URL:
<http://savannah.nongnu.org/patch/?5621>
Summary: Optimizing a 16-bit * 8-bit -> 24-bit
multiplication
Project: AVR C Runtime Library
Submitted by: None
Submitted on: Thursday 12/07/2006 at 16:48 UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email: [EMAIL PROTECTED]
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
On 12/1/06, Galen Seitz <[EMAIL PROTECTED]> 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
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 12/07/2006 at 16:48 UTC Name: mul.h Size: 349B By: None
<http://savannah.nongnu.org/patch/download.php?file_id=11470>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?5621>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev