]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
stormy16.md (udivmodhi4): Express using UDIV/UMOD, not DIV/MOD, of course.
authorGeoffrey Keating <geoffk@redhat.com>
Fri, 31 Aug 2001 01:56:43 +0000 (01:56 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Fri, 31 Aug 2001 01:56:43 +0000 (01:56 +0000)
* config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
not DIV/MOD, of course.

From-SVN: r45303

gcc/ChangeLog
gcc/config/stormy16/stormy16.md

index a803fef3cdfd7018d0068e1c5a6d0f2b3fec3684..ec7807beee74771f8d1dec4ffffece73ea43ffac 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-30  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
+       not DIV/MOD, of course.
+
 2001-08-30  Vladimir Makarov  <vmakarov@redhat.com>
 
        * rtl.def: Undo my patch commited 2001-08-27.
index 83860b46eec097903dcd4204a829df9327128d2b..c1b612818ad6cd421180ad73325a70a946436dfd 100644 (file)
 ;; Unsigned division giving both quotient and remainder
 (define_insn "udivmodhi4"
   [(set (match_operand:HI 0 "register_operand" "=a")
-       (div:HI (match_operand:HI 1 "register_operand" "a")
-               (match_operand:HI 2 "register_operand" "c")))
+       (udiv:HI (match_operand:HI 1 "register_operand" "a")
+                (match_operand:HI 2 "register_operand" "c")))
    (set (match_operand:HI 3 "register_operand" "=b")
-       (mod:HI (match_dup 1)
-               (match_dup 2)))]
+       (umod:HI (match_dup 1)
+                (match_dup 2)))]
   ""
   "div"
   [(set_attr "psw_operand" "nop")])