(divmodhi4, udivmodhi4): Use "dmsK" for operand 2.
authorTorbjorn Granlund <tege@gnu.org>
Sun, 28 May 1995 22:08:02 +0000 (22:08 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Sun, 28 May 1995 22:08:02 +0000 (22:08 +0000)
From-SVN: r9827

gcc/config/m68k/m68k.md

index 6b720fc5b7ead8194ebdb4147b02a8e3e91524dc..d95229f5b7a24b9953c8254caabf33e3d474f694 100644 (file)
 (define_insn "divmodhi4"
   [(set (match_operand:HI 0 "general_operand" "=d")
        (div:HI (match_operand:HI 1 "general_operand" "0")
-               (match_operand:HI 2 "general_operand" "g")))
+               (match_operand:HI 2 "general_operand" "dmsK")))
    (set (match_operand:HI 3 "general_operand" "=d")
        (mod:HI (match_dup 1) (match_dup 2)))]
   ""
 (define_insn "udivmodhi4"
   [(set (match_operand:HI 0 "general_operand" "=d")
        (udiv:HI (match_operand:HI 1 "general_operand" "0")
-                (match_operand:HI 2 "general_operand" "g")))
+                (match_operand:HI 2 "general_operand" "dmsK")))
    (set (match_operand:HI 3 "general_operand" "=d")
        (umod:HI (match_dup 1) (match_dup 2)))]
   ""