From: Kaz Kojima Date: Fri, 14 Jun 2002 09:49:18 +0000 (+0000) Subject: sh.md (jump): Emit jump insn. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e831557e4de285a788d4c80ce0d2139c2a3125e;p=gcc.git sh.md (jump): Emit jump insn. * config/sh/sh.md (jump): Emit jump insn. (call_pcrel): Get pattern of the result of gen_call_site. (call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise. From-SVN: r54611 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c86ac9a6917..6176f689856 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-06-14 Kaz Kojima + + * config/sh/sh.md (jump): Emit jump insn. + (call_pcrel): Get pattern of the result of gen_call_site. + (call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise. + 2002-06-14 Neil Booth * cpphash.h (struct cpp_buffer): Remove saved_line_base. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 95aaa0d06f1..6b92bdc6ec1 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -5067,12 +5067,13 @@ " { if (TARGET_SH1) - emit_insn (gen_jump_compact (operands[0])); + emit_jump_insn (gen_jump_compact (operands[0])); else if (TARGET_SHMEDIA) { if (reload_in_progress || reload_completed) FAIL; - emit_insn (gen_jump_media (gen_rtx_LABEL_REF (DImode, operands[0]))); + emit_jump_insn (gen_jump_media (gen_rtx_LABEL_REF (DImode, + operands[0]))); } DONE; }") @@ -5129,7 +5130,7 @@ [(const_int 0)] " { - rtx lab = gen_call_site (); + rtx lab = PATTERN (gen_call_site ()); if (SYMBOL_REF_FLAG (operands[0])) emit_insn (gen_sym_label2reg (operands[2], operands[0], lab)); @@ -5228,7 +5229,7 @@ [(const_int 0)] " { - rtx lab = gen_call_site (); + rtx lab = PATTERN (gen_call_site ()); if (SYMBOL_REF_FLAG (operands[1])) emit_insn (gen_sym_label2reg (operands[3], operands[1], lab)); @@ -5676,7 +5677,7 @@ [(const_int 0)] " { - rtx lab = gen_call_site (); + rtx lab = PATTERN (gen_call_site ()); rtx call_insn; emit_insn (gen_sym_label2reg (operands[2], operands[0], lab)); @@ -6149,7 +6150,7 @@ { rtx tr = gen_rtx_REG (DImode, TR0_REG); rtx dipic = operands[0]; - rtx lab = gen_call_site (); + rtx lab = PATTERN (gen_call_site ()); rtx insn, equiv; equiv = operands[1];