microblaze.c (microblaze_emit_compare): Correct test after pcmp instruction.
* config/microblaze.c (microblaze_emit_compare): Correct test after pcmp instruction. From-SVN: r183635
This commit is contained in:
parent
1f89a7e959
commit
b6c71f7771
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -2811,11 +2811,13 @@ microblaze_emit_compare (enum machine_mode mode, rtx cmp, enum rtx_code *cmp_cod
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user