avr-fast-shift

Optimised left and right shifting of `uint32_t` up to 31 places.

Author
Andrew Bancroft
Website
https://github.com/adbancroft/avr-fast-shift
Category
Data Processing
License
LGPL 2.1
Library Type
Contributed
Architectures
Any

As of AVR-GCC 14.2.0, the code produced for unsigned 32-bit shifts with a *compile time shift distance* is very poor when using -O2 or -O3.

Downloads

Filename Release Date File Size
avr_fast_shift-1.1.0.zip 2024-10-11 55.33 KiB
avr_fast_shift-1.0.0.zip 2024-09-02 54.09 KiB