aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2004-01-27 21:09:59 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2004-01-27 16:09:59 -0500
commit39e453d7bdb901da17e5d92d4b9e3f75995431aa (patch)
tree064fae55b182a2655ebb17654b8f01cdff5275d1 /gcc
parent0b5634201af3632f5e6a575aef407093774b7f21 (diff)
downloadgcc-39e453d7bdb901da17e5d92d4b9e3f75995431aa.zip
gcc-39e453d7bdb901da17e5d92d4b9e3f75995431aa.tar.gz
gcc-39e453d7bdb901da17e5d92d4b9e3f75995431aa.tar.bz2
rs6000.md (save_stack_nonlocal): Use Pmode instead of computing wmode.
* config/rs6000/rs6000.md (save_stack_nonlocal): Use Pmode instead of computing wmode. (restore_stack_nonlocal): Same. From-SVN: r76750
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.md10
2 files changed, 10 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dce9a7c..a56d962 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-27 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/rs6000.md (save_stack_nonlocal): Use Pmode instead
+ of computing wmode.
+ (restore_stack_nonlocal): Same.
+
2004-01-27 Devang Patel <dpatel@apple.com>
* Makefile.in (dwarf2out.o): Depend on input.h
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 4353e8a..5b6988c 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -9899,12 +9899,11 @@
{
rtx temp = gen_reg_rtx (Pmode);
int units_per_word = (TARGET_32BIT) ? 4 : 8;
- enum machine_mode wmode = (TARGET_32BIT) ? SImode : word_mode;
/* Copy the backchain to the first word, sp to the second. */
emit_move_insn (temp, gen_rtx_MEM (Pmode, operands[1]));
- emit_move_insn (adjust_address_nv (operands[0], wmode, 0), temp);
- emit_move_insn (adjust_address_nv (operands[0], wmode, units_per_word),
+ emit_move_insn (adjust_address_nv (operands[0], Pmode, 0), temp);
+ emit_move_insn (adjust_address_nv (operands[0], Pmode, units_per_word),
operands[1]);
DONE;
}")
@@ -9917,13 +9916,12 @@
{
rtx temp = gen_reg_rtx (Pmode);
int units_per_word = (TARGET_32BIT) ? 4 : 8;
- enum machine_mode wmode = (TARGET_32BIT) ? SImode : word_mode;
/* Restore the backchain from the first word, sp from the second. */
emit_move_insn (temp,
- adjust_address_nv (operands[1], wmode, 0));
+ adjust_address_nv (operands[1], Pmode, 0));
emit_move_insn (operands[0],
- adjust_address_nv (operands[1], wmode, units_per_word));
+ adjust_address_nv (operands[1], Pmode, units_per_word));
emit_move_insn (gen_rtx_MEM (Pmode, operands[0]), temp);
DONE;
}")