Use 'K' constraint with arith5_operand predicate.
authorJohn Hassey <hassey@gnu.org>
Wed, 17 Feb 1993 15:01:27 +0000 (15:01 +0000)
committerJohn Hassey <hassey@gnu.org>
Wed, 17 Feb 1993 15:01:27 +0000 (15:01 +0000)
From-SVN: r3480

gcc/config/m88k/m88k.md

index 4f55d4ce046af10847d60655968f289094ea20b8..5a7fd29ac24bcdab01b2ca51f6e1a4ce5dfab8f3 100644 (file)
 (define_insn ""
   [(set (match_operand:SI 0 "register_operand" "=r,r")
        (ashift:SI (match_operand:SI 1 "register_operand" "r,r")
-                  (match_operand:SI 2 "arith5_operand" "r,n")))]
+                  (match_operand:SI 2 "arith5_operand" "r,K")))]
   ""
   "@
    mak %0,%1,%2
 (define_insn ""
   [(set (match_operand:SI 0 "register_operand" "=r,r")
        (ashiftrt:SI (match_operand:SI 1 "register_operand" "r,r")
-                    (match_operand:SI 2 "arith5_operand" "r,n")))]
+                    (match_operand:SI 2 "arith5_operand" "r,K")))]
   ""
   "@
    ext %0,%1,%2
 (define_insn ""
   [(set (match_operand:SI 0 "register_operand" "=r,r")
        (lshift:SI (match_operand:SI 1 "register_operand" "r,r")
-                  (match_operand:SI 2 "arith5_operand" "r,n")))]
+                  (match_operand:SI 2 "arith5_operand" "r,K")))]
   ""
   "@
    mak %0,%1,%2
 (define_insn ""
   [(set (match_operand:SI 0 "register_operand" "=r,r")
        (lshiftrt:SI (match_operand:SI 1 "register_operand" "r,r")
-                    (match_operand:SI 2 "arith5_operand" "r,n")))]
+                    (match_operand:SI 2 "arith5_operand" "r,K")))]
   ""
   "@
    extu %0,%1,%2