[ARC] Update ARC600 multiplication cost.

gcc/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc.c (arc_rtx_costs): Update mul64 cost.
This commit is contained in:
Claudiu Zissulescu 2020-01-27 14:51:03 +02:00
parent 82cd9a96ad
commit f261388f1a
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.c (arc_rtx_costs): Update mul64 cost.
2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc-protos.h (gen_mlo): Remove.

View File

@ -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;
}