summaryrefslogtreecommitdiff
path: root/gcc/config/avr/avr.md
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2011-12-06 15:04:09 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2011-12-06 15:04:09 +0000
commit28c5e6b58f86f8f5446b959cb1decc1b6d6f7577 (patch)
tree55fe407836f382ac16da8b2665c7119175760165 /gcc/config/avr/avr.md
parent562f552bd866b17d9425b443d341e1fb5f7d1184 (diff)
downloadgcc-28c5e6b58f86f8f5446b959cb1decc1b6d6f7577.tar.gz
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
Diffstat (limited to 'gcc/config/avr/avr.md')
-rw-r--r--gcc/config/avr/avr.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/avr/avr.md b/gcc/config/avr/avr.md
index bddfe933ee6..1c79894f184 100644
--- a/gcc/config/avr/avr.md
+++ b/gcc/config/avr/avr.md
@@ -620,7 +620,7 @@
(unspec_volatile:HI [(match_operand:HI 1 "register_operand" "r,r")
(match_operand:HI 2 "const_int_operand" "L,P")]
UNSPECV_WRITE_SP))]
- ""
+ "!AVR_HAVE_8BIT_SP"
"@
out __SP_H__,%B1\;out __SP_L__,%A1
cli\;out __SP_H__,%B1\;sei\;out __SP_L__,%A1"