mep.md (sibcall_internal): Include non-toggling non-jmp case.
authorDJ Delorie <dj@redhat.com>
Tue, 14 Jul 2009 22:35:01 +0000 (18:35 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Tue, 14 Jul 2009 22:35:01 +0000 (18:35 -0400)
* config/mep/mep.md (sibcall_internal): Include non-toggling
non-jmp case.
(sibcall_value_internal): Likewise.

From-SVN: r149649

gcc/ChangeLog
gcc/config/mep/mep.md

index e788bed26a06c93e61eafa40dc6e4b2ceef47e16..8c197f1467b6109d531367ab81e10a75bb022374 100644 (file)
@@ -1,3 +1,9 @@
+2009-07-14  DJ Delorie  <dj@redhat.com>
+
+       * config/mep/mep.md (sibcall_internal): Include non-toggling
+       non-jmp case.
+       (sibcall_value_internal): Likewise.
+
 2009-07-14  Taras Glek  <tglek@mozilla.com>
            Rafael Espindola  <espindola@google.com>
 
index 828c3c5e7a0d62918b43f2e719b8103b8c24a3d6..f3c76dd8c11623e589eaa0fcdb4f4f0adb3ef44c 100644 (file)
 {
   if (mep_vliw_jmp_match (operands[2]))
     return "jmp\t%0";
+  else if (mep_vliw_mode_match (operands[2]))
+    return
+        "movu  $11, %0\n\
+       jmp     $11";
   else
     return
        "ldc    $12, $lp\n\
 {
   if (mep_vliw_jmp_match (operands[3]))
     return "jmp\t%1";
+  else if (mep_vliw_mode_match (operands[3]))
+    return
+        "movu  $11, %1\n\
+       jmp     $11";
   else
     return
        "ldc    $12, $lp\n\