Commit 3969c510 by Wilco Dijkstra Committed by Jiong Wang

[AArch64] Adjust generic move costs

  2014-11-19  Wilco Dijkstra  <wdijkstr@arm.com>

    PR target/61915
    * config/aarch64/aarch64.c (generic_regmove_cost): Increase FP move cost.

From-SVN: r217780
parent be60a120
2014-11-19 Wilco Dijkstra <wdijkstr@arm.com>
PR target/61915
* config/aarch64/aarch64.c (generic_regmove_cost): Increase FP move
cost.
2014-11-19 Marek Polacek <polacek@redhat.com> 2014-11-19 Marek Polacek <polacek@redhat.com>
PR sanitizer/63690 PR sanitizer/63690
...@@ -229,8 +229,10 @@ __extension__ ...@@ -229,8 +229,10 @@ __extension__
static const struct cpu_regmove_cost generic_regmove_cost = static const struct cpu_regmove_cost generic_regmove_cost =
{ {
NAMED_PARAM (GP2GP, 1), NAMED_PARAM (GP2GP, 1),
NAMED_PARAM (GP2FP, 2), /* Avoid the use of slow int<->fp moves for spilling by setting
NAMED_PARAM (FP2GP, 2), their cost higher than memmov_cost. */
NAMED_PARAM (GP2FP, 5),
NAMED_PARAM (FP2GP, 5),
NAMED_PARAM (FP2FP, 2) NAMED_PARAM (FP2FP, 2)
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment