[Patch,avr]: Speed up 64-bit shifts in libgcc

2013-03-04 Thread Georg-Johann Lay
This patch fixed the speed of 64-bit shifts and rotate. These operations were implemented by bit-wise shifts and thus the speed is not reasonable for such basic arithmetic. The new implementation first shifts byte-wise and only the remaining mod 8 is shifted bit-wise. The new methods needs few

Re: [Patch,avr]: Speed up 64-bit shifts in libgcc

2013-03-04 Thread Denis Chertykov
2013/3/4 Georg-Johann Lay a...@gjlay.de: This patch fixed the speed of 64-bit shifts and rotate. These operations were implemented by bit-wise shifts and thus the speed is not reasonable for such basic arithmetic. The new implementation first shifts byte-wise and only the remaining mod 8 is