sh.md (jump): Emit jump insn.
authorKaz Kojima <kkojima@gcc.gnu.org>
Fri, 14 Jun 2002 09:49:18 +0000 (09:49 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Fri, 14 Jun 2002 09:49:18 +0000 (09:49 +0000)
* 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

gcc/ChangeLog
gcc/config/sh/sh.md

index c86ac9a69176b441a2b3e85c57b8a74f76b20669..6176f6898562e58a42da41469a17e1e89beb4bd5 100644 (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>
 
        * cpphash.h (struct cpp_buffer): Remove saved_line_base.
index 95aaa0d06f1f1fd6ed798754f347c5dc107f4146..6b92bdc6ec1dcbc598088cb116bb9c28ae0fdecd 100644 (file)
   "
 {
   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;
 }")
   [(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));
   [(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));
   [(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));
     {
       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];