[AArch64] Handle FLOAT and UNSIGNED_FLOAT in rtx costs
* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle FLOAT and UNSIGNED_FLOAT. From-SVN: r222677
This commit is contained in:
parent
23cb661888
commit
5e2a765bee
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-05-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle FLOAT and
|
||||
UNSIGNED_FLOAT.
|
||||
|
||||
2015-05-01 Wilco Dijkstra <wdijkstr@arm.com>
|
||||
|
||||
* gcc/config/aarch64/aarch64.c (aarch64_rtx_costs):
|
||||
|
|
|
@ -6405,6 +6405,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;
|
||||
|
|
Loading…
Add table
Reference in a new issue