* config/microblaze.c (microblaze_emit_compare): Correct
test after pcmp instruction.
From-SVN: r183635
+2012-01-27 Michael Eager <eager@eagercon.com>
+
+ * config/microblaze.c (microblaze_emit_compare): Correct
+ test after pcmp instruction.
+
2012-01-27 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52020
if (TARGET_PATTERN_COMPARE && GET_CODE(cmp_op1) == REG)
{
if (code == EQ)
- emit_insn (gen_seq_internal_pat (comp_reg, cmp_op0, cmp_op1));
+ {
+ emit_insn (gen_seq_internal_pat (comp_reg, cmp_op0, cmp_op1));
+ *cmp_code = NE;
+ }
else
{
emit_insn (gen_sne_internal_pat (comp_reg, cmp_op0, cmp_op1));
- *cmp_code = EQ;
}
}
else