aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-08-19 17:14:15 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-08-19 17:14:15 -0400
commit1a0eeb8355a0983f2eaf81fa4081c5dc0557f5ff (patch)
treebbbb6573fda26fc60c80f5bd3be7c14a5a3444ef
parentcd6bd5fccba87c750de47b47a9f54865546546d0 (diff)
downloadgcc-1a0eeb8355a0983f2eaf81fa4081c5dc0557f5ff.zip
gcc-1a0eeb8355a0983f2eaf81fa4081c5dc0557f5ff.tar.gz
gcc-1a0eeb8355a0983f2eaf81fa4081c5dc0557f5ff.tar.bz2
(output_prolog): Reverse big stack update and restore POWER mnemonics
alternative. From-SVN: r10250
-rw-r--r--gcc/config/rs6000/rs6000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 481a18f..e332454 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -2539,10 +2539,10 @@ output_prolog (file, size)
else
{
asm_fprintf (file, "\t{liu|lis} %s,%d\n\t{oril|ori} %s,%s,%d\n",
- reg_names[0], (info->total_size >> 16) & 0xffff,
+ reg_names[0], - (info->total_size >> 16) & 0xffff,
reg_names[0], reg_names[0], info->total_size & 0xffff);
asm_fprintf (file,
- (TARGET_64BIT) ? "\tstdux %s,%s,%s\n" : "\tstwux %s,%s,%s\n",
+ (TARGET_64BIT) ? "\tstdux %s,%s,%s\n" : "\t{stux|stwux} %s,%s,%s\n",
reg_names[1], reg_names[1], reg_names[0]);
}
}