OSDN Git Service

PR target/50464
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Sep 2011 17:37:00 +0000 (17:37 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Sep 2011 17:37:00 +0000 (17:37 +0000)
commit3efe840b1bc7aef5a001daca62ce31eee366368d
treeae971a93333b822559742d9213ede6fd99d96a3b
parent6e0cdf5440bd29255f3d200618011552aef83e42
PR target/50464
* config/i386/sse.md (xop_pcmov_<mode><avxsizesuffix>): Change
operand 1 predicate to register_operand and operand 2 predicate
to nonimmediate_operand.
* config/i386/i386.c (ix86_expand_sse_movcc): When generating
xop_pcmov, force op_true to register.  Also, force op_false to
register if it doesn't satisfy nonimmediate_operand predicate.

testsuite/ChangeLog:

PR target/50464
* g++.dg/other/pr50464.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179053 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr50464.C [new file with mode: 0644]