* mn10200.md (truncated shift): Accept constant inputs too.

From-SVN: r23252
This commit is contained in:
Jeffrey A Law 1998-10-23 12:15:31 +00:00 committed by Jeff Law
parent 9cfb030f28
commit c4214310ab
2 changed files with 7 additions and 3 deletions

View 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.

View File

@ -1713,10 +1713,10 @@
;; 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"))))]
""
"*
{