Forward-port from gcc-4_6-branch r181936 2011-12-02.
authorGeorg-Johann Lay <avr@gjlay.de>
Tue, 6 Dec 2011 15:04:09 +0000 (15:04 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Tue, 6 Dec 2011 15:04:09 +0000 (15:04 +0000)
commit28c5e6b58f86f8f5446b959cb1decc1b6d6f7577
tree55fe407836f382ac16da8b2665c7119175760165
parent562f552bd866b17d9425b443d341e1fb5f7d1184
Forward-port from gcc-4_6-branch r181936 2011-12-02.

libgcc/
Forward-port from gcc-4_6-branch r181936 2011-12-02.

PR target/51345
PR target/51002
* config/avr/lib1funcs.S (__prologue_saves__,
__epilogue_restores__, __divdi3_moddi3): Enclose parts using
__SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.

gcc/
Forward-port from gcc-4_6-branch r181936 2011-12-02.

PR target/51002
* config/avr/avr.md (movhi_sp_r): Set insn condition to
!AVR_HAVE_8BIT_SP.
* config/avr/avr.c (output_movhi): Use "clr%B0" instead of "in
%B0,__SP_H__" if AVR_HAVE_8BIT_SP.
(avr_file_start): Only print "__SP_H__ = 0x3e" if !AVR_HAVE_8BIT_SP.

From-SVN: r182052
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.md
libgcc/ChangeLog
libgcc/config/avr/lib1funcs.S