diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-10-23 12:15:31 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-23 06:15:31 -0600 |
commit | c4214310ab9803b44a26494c2fc1fcd960ee1b0b (patch) | |
tree | f3ad2933c789a0808d4aad51dabcc62eb3e62c55 /gcc/config/mn10200 | |
parent | 9cfb030f2861ffb713928a51c8d1cc2b95beaf56 (diff) | |
download | gcc-c4214310ab9803b44a26494c2fc1fcd960ee1b0b.zip gcc-c4214310ab9803b44a26494c2fc1fcd960ee1b0b.tar.gz gcc-c4214310ab9803b44a26494c2fc1fcd960ee1b0b.tar.bz2 |
* mn10200.md (truncated shift): Accept constant inputs too.
From-SVN: r23252
Diffstat (limited to 'gcc/config/mn10200')
-rw-r--r-- | gcc/config/mn10200/mn10200.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/mn10200/mn10200.md b/gcc/config/mn10200/mn10200.md index febaac3..1549fa4 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"))))] "" "* { |