re PR target/37362 (Bootstrap broken on mipsisa64r2-linux-gcc)
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 18 Nov 2008 22:00:12 +0000 (23:00 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 18 Nov 2008 22:00:12 +0000 (23:00 +0100)
commit8afb060511297809fdd2a8453f2919d57fc5d53d
tree6493cf4ded1ea6c67dad3803b2c68db31a8f9fa6
parent0a4a51c75b941c517d8ac26dfdd92469bc0f621a
re PR target/37362 (Bootstrap broken on mipsisa64r2-linux-gcc)

PR target/37362
* config/mips/mips.md (move_doubleword_fpr<mode>): Check that "high"
is a register or zero operand in the correct mode before generating
mtch1 insn or a register operand in the correct mode before generating
mfch1 insn.
(mtch1<mode>): Correct operand 1 predicate to reg_or_0_operand.

testsuite/ChangeLog:

PR target/37362
* gcc.target/mips/pr37362.c: New test.

From-SVN: r141978
gcc/ChangeLog
gcc/config/mips/mips.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/pr37362.c [new file with mode: 0644]