alpha.md (tablejump): Use pic_offset_table_rtx instead of gen_rtx_REG.
authorJohn Wehle <john@feith.com>
Thu, 29 Nov 2001 05:26:31 +0000 (05:26 +0000)
committerJohn Wehle <wehle@gcc.gnu.org>
Thu, 29 Nov 2001 05:26:31 +0000 (05:26 +0000)
* alpha.md (tablejump): Use pic_offset_table_rtx
instead of gen_rtx_REG.

From-SVN: r47436

gcc/ChangeLog
gcc/config/alpha/alpha.md

index 8c5947917f180ca40dded55c9ded4fa0fb7bf504..2406ae6bbfc7c802fc8afcc0cd412be84d16b544 100644 (file)
@@ -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
index c809d6c00f4d2810a36113112f24955e89616b30..8f87646930e66222f37e9341100fc735caa7c2a3 100644 (file)
@@ -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;
     }
 })