avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [patch #5621] Optimizing a 16-bit * 8-bit -> 24-bit multi


From: anonymous
Subject: [avr-libc-dev] [patch #5621] Optimizing a 16-bit * 8-bit -> 24-bit multiplication
Date: Thu, 07 Dec 2006 16:48:49 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) (Debian)

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: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

On 12/1/06, Galen Seitz <address@hidden> 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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]