* mn10200.md (truncated shift): Accept constant inputs too.
authorJeffrey A Law <law@cygnus.com>
Fri, 23 Oct 1998 12:15:31 +0000 (12:15 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 23 Oct 1998 12:15:31 +0000 (06:15 -0600)
From-SVN: r23252

gcc/ChangeLog
gcc/config/mn10200/mn10200.md

index fd28d08a7af1c59b47d5fd2f010cfecc39dd01a6..41100f7a771308700c5d103e953730028f9907b1 100644 (file)
@@ -1,3 +1,7 @@
+Fri Oct 23 13:12:35 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * mn10200.md (truncated shift): Accept constant inputs too.
+
 Fri Oct 23 04:06:57 1998  Richard Earnshaw (rearnsha@arm.com)
 
        * machmode.h (mode_mask_array): No longer const.
index febaac3b243625c919295a5987c5b9f27fbe717b..1549fa4fab5898e34a3d93fcd1a712e7054f511e 100644 (file)
 ;; opportunity to match patterns which allow us to remove the initial
 ;; extension completely, which is a big win.
 (define_insn ""
-  [(set (match_operand:PSI 0 "general_operand" "=d,d,a")
+  [(set (match_operand:PSI 0 "general_operand" "=d,d,a,da")
        (truncate:PSI
-         (ashift:SI (match_operand:SI 1 "general_operand" "d,m,m")
-                    (match_operand:HI 2 "const_int_operand" "i,i,i"))))]
+         (ashift:SI (match_operand:SI 1 "general_operand" "d,m,m,i")
+                    (match_operand:HI 2 "const_int_operand" "i,i,i,i"))))]
   ""
   "*
 {