Commit 8e831557 by Kaz Kojima

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
parent c413fdc4
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.
......
...@@ -5067,12 +5067,13 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment