avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] Optimizations of rotate operations in avr-gcc 4.4


From: Anatoly Sokolov
Subject: [avr-gcc-list] Optimizations of rotate operations in avr-gcc 4.4
Date: Sun, 2 Nov 2008 17:33:31 +0300

Hello.

The 'rotate' insn pattern is added in GCC avr back end. Now avr-gcc 4.4  use 
SWAP instruction for ((a<<4)|(a>>4)) operation instead of shift-or sequence.
Similarly optimizations for rotation of int and long types on 8, 16 and 24 is 
present, 
also. Use it.

Anatoliy.

reply via email to

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