i386.c: Change GET_CODE (...) == CONST_DOUBLE check to CONST_DOUBLE_P predicate.
authorUros Bizjak <ubizjak@gmail.com>
Mon, 4 May 2015 19:50:51 +0000 (21:50 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 4 May 2015 19:50:51 +0000 (21:50 +0200)
commit2f4eb706df3bf10b82f571b0910df14317d1ff27
treebf4998953bac6da0aa38daabdd695600ffad11b7
parent383be4a8c1518edfc2b74d31027e21d43c101ff0
i386.c: Change GET_CODE (...) == CONST_DOUBLE check to CONST_DOUBLE_P predicate.

* config/i386/i386.c: Change GET_CODE (...) == CONST_DOUBLE check
to CONST_DOUBLE_P predicate.
(standard_sse_constant_p): Return 0 for !TARGET_SSE.
(ix86_legitimate_constant_p) <case CONST_WIDE_INT>: For 32bit targets,
allow only operands that satisfy standard_sse_constant_p predicate.
* config/i386/i386.md: Change GET_CODE (...) == CONST_DOUBLE check
to CONST_DOUBLE_P predicate.

From-SVN: r222774
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md