re PR target/50464 (Using -Ofast -march=bdver1 results in internal compiler error...
authorUros Bizjak <uros@gcc.gnu.org>
Wed, 21 Sep 2011 17:37:00 +0000 (19:37 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 21 Sep 2011 17:37:00 +0000 (19:37 +0200)
commitbd352290bcbe1c80ce47ea3aa4d66d17a6e8d482
treeae971a93333b822559742d9213ede6fd99d96a3b
parent655d51578160132920f0f88daadf8c9453c20045
re PR target/50464 (Using -Ofast -march=bdver1 results in internal compiler error: in extract_insn, at recog.c:2109)

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.

From-SVN: r179053
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]