]> git.ipfire.org Git - thirdparty/gcc.git/commit
avr.md (UNSPEC_SWAP): Remove constants.
authorAnatoly Sokolov <aesok@post.ru>
Sun, 2 Nov 2008 13:51:39 +0000 (16:51 +0300)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Sun, 2 Nov 2008 13:51:39 +0000 (16:51 +0300)
commit15fe850fe4e170adc06c9231173a55fd10b12b2d
treee016bcdc3645c703daa000f5b6021cf7043db28d
parent8495c94f4981e8018b6da421e1e25b82ebdde91e
avr.md (UNSPEC_SWAP): Remove constants.

* config/avr/avr.md (UNSPEC_SWAP): Remove constants.
(*swap): Remove.
(rotlqi3, *rotlqi3_4, rotlhi3, *rotlhi3_8,
rotlsi3, *rotlsi3_8, *rotlsi3_16, *rotlsi3_24): New patterns.
(ashlqi3_const4, ashlqi3_const5, ashlqi3_const6, ashlqi3_l_const4,
ashlqi3_l_const5, ashlqi3_l_const6, lshrqi3_const4, lshrqi3_const5,
lshrqi3_const6, lshrqi3_l_const4, lshrqi3_l_const4, lshrqi3_l_const6
peephole2's): Replace unspec with rotate.
* config/avr/avr.c (avr_rtx_costs): Add ROTATE.

From-SVN: r141533
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.md