From: Tom Wood Date: Wed, 15 Apr 1992 19:41:59 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8983a18c1d77e944596efd2b897dfd45704f8264;p=gcc.git *** empty log message *** From-SVN: r749 --- diff --git a/gcc/config/m88k/m88k.md b/gcc/config/m88k/m88k.md index b1d660fa649..9caa384ceda 100644 --- a/gcc/config/m88k/m88k.md +++ b/gcc/config/m88k/m88k.md @@ -28,7 +28,7 @@ (define_expand "m88k_sccs_id" [(match_operand:SI 0 "" "")] "" - "{ static char sccs_id[] = \"@(#)m88k.md 2.1.3.1 07 Apr 1992 17:25:37\"; + "{ static char sccs_id[] = \"@(#)m88k.md 2.1.4.2 15 Apr 1992 15:39:48\"; FAIL; }") ;; Attribute specifications @@ -53,6 +53,14 @@ (const_string "arith")) ; Convenience attributes. +(define_attr "unit" "bit,memory,multiply,divide,fpadd,other" + (cond [(eq_attr "type" "bit,mbit") (const_string "bit") + (eq_attr "type" "load,store,mstore") (const_string "memory") + (eq_attr "type" "spmul,dpmul,imul") (const_string "multiply") + (eq_attr "type" "spdiv,dpdiv,idiv") (const_string "divide") + (eq_attr "type" "spadd,dpadd,spcmp,dpcmp,mfp") (const_string "fpadd")] + (const_string "other"))) + (define_attr "fpu" "yes,no" (if_then_else (eq_attr "type" "spmul,dpmul,imul,spadd,dpadd,spcmp,dpcmp,spdiv,dpdiv,idiv,mfp") @@ -1805,12 +1813,10 @@ "mul %0,%1,%2" [(set_attr "type" "imul")]) -;; @@ This isn't fully implemented yet. - -(define_insn "" +(define_insn "umulsidi3" [(set (match_operand:DI 0 "register_operand" "=r") - (mult:DI (match_operand:SI 1 "arith32_operand" "%r") - (match_operand:SI 2 "arith32_operand" "rI")))] + (mult:DI (zero_extend:DI (match_operand:SI 1 "register_operand" "%r")) + (zero_extend:DI (match_operand:SI 2 "register_operand" "r"))))] "TARGET_88110" "mulu.d %0,%1,%2" [(set_attr "type" "imul")])