mirror of git://gcc.gnu.org/git/gcc.git
re PR target/64093 (ICE error: unrecognizable insn with -mcpu=cell)
PR target/64093 * config/rs6000/rs6000.md (and<mode>3): Don't generate and<mode>3_imm unless rs6000_gen_cell_microcode is true. From-SVN: r218164
This commit is contained in:
parent
6a4da643ca
commit
8760be8546
|
|
@ -1,3 +1,9 @@
|
||||||
|
2014-11-28 Segher Boessenkool <segher@kernel.crashing.org>
|
||||||
|
|
||||||
|
PR target/64093
|
||||||
|
* config/rs6000/rs6000.md (and<mode>3): Don't generate
|
||||||
|
and<mode>3_imm unless rs6000_gen_cell_microcode is true.
|
||||||
|
|
||||||
2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
|
2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
|
||||||
|
|
||||||
PR rtl-optimization/64087
|
PR rtl-optimization/64087
|
||||||
|
|
|
||||||
|
|
@ -2646,8 +2646,13 @@
|
||||||
if (logical_const_operand (operands[2], <MODE>mode)
|
if (logical_const_operand (operands[2], <MODE>mode)
|
||||||
&& !any_mask_operand (operands[2], <MODE>mode))
|
&& !any_mask_operand (operands[2], <MODE>mode))
|
||||||
{
|
{
|
||||||
emit_insn (gen_and<mode>3_imm (operands[0], operands[1], operands[2]));
|
if (rs6000_gen_cell_microcode)
|
||||||
DONE;
|
{
|
||||||
|
emit_insn (gen_and<mode>3_imm (operands[0], operands[1], operands[2]));
|
||||||
|
DONE;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
operands[2] = force_reg (<MODE>mode, operands[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((<MODE>mode == DImode && !and64_2_operand (operands[2], <MODE>mode))
|
if ((<MODE>mode == DImode && !and64_2_operand (operands[2], <MODE>mode))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue