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
+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>
PR rtl-optimization/64087
if (logical_const_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]));
- DONE;
+ if (rs6000_gen_cell_microcode)
+ {
+ 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))