commit 3a14409ce63cac482e48ab731cff0267f7b2ce53 Author: Kyrylo Tkachov Date: Wed Mar 11 12:04:13 2015 +0000 [AArch64] Handle FLOAT and UNSIGNED_FLOAT in rtx costs diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index d1635f4..8661896 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -6497,6 +6497,12 @@ cost_plus: *cost += rtx_cost (op2, FMA, 2, speed); return true; + case FLOAT: + case UNSIGNED_FLOAT: + if (speed) + *cost += extra_cost->fp[mode == DFmode].fromint; + return false; + case FLOAT_EXTEND: if (speed) *cost += extra_cost->fp[mode == DFmode].widen;