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
This commit is contained in:
Kaz Kojima 2002-06-14 09:49:18 +00:00
parent c413fdc4d2
commit 8e831557e4
2 changed files with 13 additions and 6 deletions

View File

@ -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> 2002-06-14 Neil Booth <neil@daikokuya.demon.co.uk>
* cpphash.h (struct cpp_buffer): Remove saved_line_base. * cpphash.h (struct cpp_buffer): Remove saved_line_base.

View File

@ -5067,12 +5067,13 @@
" "
{ {
if (TARGET_SH1) if (TARGET_SH1)
emit_insn (gen_jump_compact (operands[0])); emit_jump_insn (gen_jump_compact (operands[0]));
else if (TARGET_SHMEDIA) else if (TARGET_SHMEDIA)
{ {
if (reload_in_progress || reload_completed) if (reload_in_progress || reload_completed)
FAIL; 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; DONE;
}") }")
@ -5129,7 +5130,7 @@
[(const_int 0)] [(const_int 0)]
" "
{ {
rtx lab = gen_call_site (); rtx lab = PATTERN (gen_call_site ());
if (SYMBOL_REF_FLAG (operands[0])) if (SYMBOL_REF_FLAG (operands[0]))
emit_insn (gen_sym_label2reg (operands[2], operands[0], lab)); emit_insn (gen_sym_label2reg (operands[2], operands[0], lab));
@ -5228,7 +5229,7 @@
[(const_int 0)] [(const_int 0)]
" "
{ {
rtx lab = gen_call_site (); rtx lab = PATTERN (gen_call_site ());
if (SYMBOL_REF_FLAG (operands[1])) if (SYMBOL_REF_FLAG (operands[1]))
emit_insn (gen_sym_label2reg (operands[3], operands[1], lab)); emit_insn (gen_sym_label2reg (operands[3], operands[1], lab));
@ -5676,7 +5677,7 @@
[(const_int 0)] [(const_int 0)]
" "
{ {
rtx lab = gen_call_site (); rtx lab = PATTERN (gen_call_site ());
rtx call_insn; rtx call_insn;
emit_insn (gen_sym_label2reg (operands[2], operands[0], lab)); emit_insn (gen_sym_label2reg (operands[2], operands[0], lab));
@ -6149,7 +6150,7 @@
{ {
rtx tr = gen_rtx_REG (DImode, TR0_REG); rtx tr = gen_rtx_REG (DImode, TR0_REG);
rtx dipic = operands[0]; rtx dipic = operands[0];
rtx lab = gen_call_site (); rtx lab = PATTERN (gen_call_site ());
rtx insn, equiv; rtx insn, equiv;
equiv = operands[1]; equiv = operands[1];