diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2002-06-14 09:49:18 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2002-06-14 09:49:18 +0000 |
commit | 8e831557e4de285a788d4c80ce0d2139c2a3125e (patch) | |
tree | ec3f0428aa134a1c1483682d2432e25ddebd9d03 /gcc | |
parent | c413fdc4d2c73af3ff527a2dbe198e2e9736b0d6 (diff) | |
download | gcc-8e831557e4de285a788d4c80ce0d2139c2a3125e.zip gcc-8e831557e4de285a788d4c80ce0d2139c2a3125e.tar.gz gcc-8e831557e4de285a788d4c80ce0d2139c2a3125e.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 13 |
2 files changed, 13 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c86ac9a..6176f68 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-06-14 Kaz Kojima <kkojima@gcc.gnu.org> + + * 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 <neil@daikokuya.demon.co.uk> * cpphash.h (struct cpp_buffer): Remove saved_line_base. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 95aaa0d..6b92bdc 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]; |