i386.c (ix86_rtx_costs): Use IS_STACK_MODE when calculating cost of standard 80387...
authorUros Bizjak <ubizjak@gmail.com>
Fri, 20 May 2016 17:44:29 +0000 (19:44 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 20 May 2016 17:44:29 +0000 (19:44 +0200)
commit78520f3ff1f922bb86bdaa6188b3168e68fbb908
tree8f8b0fa6d1c57ec6ed834885289dd16b47f8e6c2
parent7dea4ab37d04bef8ba6d59154e8d9c6f6dcdc183
i386.c (ix86_rtx_costs): Use IS_STACK_MODE when calculating cost of standard 80387 constants.

* gcc/config/i386/i386.c (ix86_rtx_costs) <case CONST_DOUBLE>:
Use IS_STACK_MODE when calculating cost of standard 80387 constants.
Fallthru to CONST_VECTOR case to calculate cost of standard SSE
constants.
<case CONST_WIDE_INT>: Calculate cost of (MEM (SYMBOL_REF)).
(ix86_legitimate_constant_p): Use CASE_CONST_SCALAR_INT
and CASE_CONST_ANY.

From-SVN: r236524
gcc/ChangeLog
gcc/config/i386/i386.c