expr.c (convert_move): Handle truncation from TQFmode to QFmode.
authorJeffrey A Law <law@cygnus.com>
Wed, 3 Sep 1997 05:33:06 +0000 (05:33 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 3 Sep 1997 05:33:06 +0000 (23:33 -0600)
        * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
From Christian Iseli.

From-SVN: r15054

gcc/ChangeLog
gcc/expr.c

index 39e9e3e..2c9fdf9 100644 (file)
@@ -1,3 +1,7 @@
+Tue Sep  2 23:33:33 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
+
 Wed Sep  3 02:09:30 1997  Torbjorn Granlund  <tege@pdc.kth..se>
 
        * except.c (eh_outer_context): Expand masking operation using
index 7a9c470..41fe702 100644 (file)
@@ -621,6 +621,13 @@ convert_move (to, from, unsignedp)
          return;
        }
 #endif
+#ifdef HAVE_trunctqfqf2
+      if (HAVE_trunctqfqf2 && from_mode == TQFmode && to_mode == QFmode)
+       {
+         emit_unop_insn (CODE_FOR_trunctqfqf2, to, from, UNKNOWN);
+         return;
+       }
+#endif
 #ifdef HAVE_truncsfqf2
       if (HAVE_truncsfqf2 && from_mode == SFmode && to_mode == QFmode)
        {