From 6bbdc7595cf95df31ffadb01265aca7da4c147b8 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 25 Jul 2002 09:58:19 +0000 Subject: [PATCH] mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF. * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF. (tablejump_mips162): Likewise. From-SVN: r55746 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 88f30c74c70..e75a97d56f1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-07-25 Richard Sandiford + + * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF. + (tablejump_mips162): Likewise. + Thu Jul 25 10:23:41 2002 J"orn Rennecke * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index c8328781c6e..9fe34cd040f 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -9533,7 +9533,7 @@ move\\t%0,%z4\\n\\ t2 = gen_reg_rtx (SImode); t3 = gen_reg_rtx (SImode); emit_insn (gen_extendhisi2 (t1, operands[0])); - emit_move_insn (t2, gen_rtx (LABEL_REF, SImode, operands[1])); + emit_move_insn (t2, gen_rtx_LABEL_REF (SImode, operands[1])); emit_insn (gen_addsi3 (t3, t1, t2)); emit_jump_insn (gen_tablejump_internal1 (t3, operands[1])); DONE; @@ -9555,7 +9555,7 @@ move\\t%0,%z4\\n\\ t2 = gen_reg_rtx (DImode); t3 = gen_reg_rtx (DImode); emit_insn (gen_extendhidi2 (t1, operands[0])); - emit_move_insn (t2, gen_rtx (LABEL_REF, DImode, operands[1])); + emit_move_insn (t2, gen_rtx_LABEL_REF (DImode, operands[1])); emit_insn (gen_adddi3 (t3, t1, t2)); emit_jump_insn (gen_tablejump_internal2 (t3, operands[1])); DONE;