summaryrefslogtreecommitdiffstats
path: root/gcc/config/mn10200
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-23 12:15:31 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-23 12:15:31 +0000
commit6a31743fb3a69660d8d0bc604f89546106e1aa8a (patch)
treef3ad2933c789a0808d4aad51dabcc62eb3e62c55 /gcc/config/mn10200
parentfe2d1fd85599b725dd961d6969b425f9ff7a521b (diff)
downloadppe42-gcc-6a31743fb3a69660d8d0bc604f89546106e1aa8a.tar.gz
ppe42-gcc-6a31743fb3a69660d8d0bc604f89546106e1aa8a.zip
* mn10200.md (truncated shift): Accept constant inputs too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23252 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mn10200')
-rw-r--r--gcc/config/mn10200/mn10200.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/mn10200/mn10200.md b/gcc/config/mn10200/mn10200.md
index febaac3b243..1549fa4fab5 100644
--- a/gcc/config/mn10200/mn10200.md
+++ b/gcc/config/mn10200/mn10200.md
@@ -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"))))]
""
"*
{
OpenPOWER on IntegriCloud