aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn Wehle <john@feith.com>2001-11-29 05:26:31 +0000
committerJohn Wehle <wehle@gcc.gnu.org>2001-11-29 05:26:31 +0000
commita1fa55444ba2fd245b4a20de681e6c9ae78a066d (patch)
treeb63ff6cbf7cd1fa514eb2d20fc59dfb7c6fdd40d /gcc
parent9f63939774d1b9eaf9c4196ac50f9e83ddbae822 (diff)
downloadgcc-a1fa55444ba2fd245b4a20de681e6c9ae78a066d.zip
gcc-a1fa55444ba2fd245b4a20de681e6c9ae78a066d.tar.gz
gcc-a1fa55444ba2fd245b4a20de681e6c9ae78a066d.tar.bz2
alpha.md (tablejump): Use pic_offset_table_rtx instead of gen_rtx_REG.
* alpha.md (tablejump): Use pic_offset_table_rtx instead of gen_rtx_REG. From-SVN: r47436
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/alpha.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8c59479..2406ae6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
+
+ * alpha.md (tablejump): Use pic_offset_table_rtx
+ instead of gen_rtx_REG.
+
Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
* expr.c (store_expr): When copying a string constant into an
diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md
index c809d6c..8f87646 100644
--- a/gcc/config/alpha/alpha.md
+++ b/gcc/config/alpha/alpha.md
@@ -4965,7 +4965,7 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi"
{
rtx dest = gen_reg_rtx (DImode);
emit_insn (gen_extendsidi2 (dest, operands[0]));
- emit_insn (gen_adddi3 (dest, gen_rtx_REG (DImode, 29), dest));
+ emit_insn (gen_adddi3 (dest, pic_offset_table_rtx, dest));
operands[0] = dest;
}
})