i386: Correct costs on CONST_DOUBLE and CONST_VECTOR
authorRichard Henderson <rth@redhat.com>
Wed, 27 Jun 2012 03:20:08 +0000 (20:20 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 27 Jun 2012 03:20:08 +0000 (20:20 -0700)
commita247af8371ad9ad4e244cf664ed33ca7d945b768
treea9c63a4b7197e02e38966e6ba619cc7ec2083e7c
parent87b78516208e45cacb666e5ce824417438456911
i386: Correct costs on CONST_DOUBLE and CONST_VECTOR

We were always falling through to the memory default.
Also use standard_sse_constant_p on CONST_VECTOR.

        * config/i386/i386.c (ix86_rtx_costs): Use standard_sse_constant_p
        and don't fall thru from standard_80387_constant_p to the memory
        fallback,

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