From: Claudiu Zissulescu Date: Mon, 27 Jan 2020 12:51:03 +0000 (+0200) Subject: [ARC] Update ARC600 multiplication cost. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f261388f1a9f8ee4abfefff32bdfe6046914b7f2;p=gcc.git [ARC] Update ARC600 multiplication cost. gcc/ xxxx-xx-xx Claudiu Zissulescu * config/arc/arc.c (arc_rtx_costs): Update mul64 cost. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d75d5634fbc..a7ad5fa5f93 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-01-27 Claudiu Zissulescu + + * config/arc/arc.c (arc_rtx_costs): Update mul64 cost. + 2020-01-27 Claudiu Zissulescu * config/arc/arc-protos.h (gen_mlo): Remove. diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index a1f863f17ca..bc342350440 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -5877,6 +5877,12 @@ arc_rtx_costs (rtx x, machine_mode mode, int outer_code, nolimm = true; if (satisfies_constraint_Clo (x)) nolimm = true; + break; + case MULT: + if (TARGET_MUL64_SET) + if (SIGNED_INT12 (INTVAL (x))) + nolimm = true; + break; default: break; }