From cf1f6ae31a15dbb3e9eaf393c05f84b0c4d6aa81 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 5 Sep 2000 16:12:03 -0700 Subject: [PATCH] * config/ia64/ia64.md (mulhi3): New. From-SVN: r36171 --- gcc/ChangeLog | 4 ++++ gcc/config/ia64/ia64.md | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 46b742fcf406..c63e7f8a1572 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-09-05 Richard Henderson + + * config/ia64/ia64.md (mulhi3): New. + 2000-09-05 Richard Henderson * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove. diff --git a/gcc/config/ia64/ia64.md b/gcc/config/ia64/ia64.md index 391ca15a476c..a84b1856caf9 100644 --- a/gcc/config/ia64/ia64.md +++ b/gcc/config/ia64/ia64.md @@ -1313,6 +1313,21 @@ "mix4.r %0 = %2, %1" [(set_attr "type" "I")]) + +;; :::::::::::::::::::: +;; :: +;; :: 16 bit Integer arithmetic +;; :: +;; :::::::::::::::::::: + +(define_insn "mulhi3" + [(set (match_operand:HI 0 "gr_register_operand" "=r") + (mult:HI (match_operand:HI 1 "gr_register_operand" "r") + (match_operand:HI 2 "gr_register_operand" "r")))] + "" + "pmpy.r %0 = %1, %2" + [(set_attr "type" "I")]) + ;; :::::::::::::::::::: ;; :: -- 2.47.2