summaryrefslogtreecommitdiff
path: root/gcc/config/nds32/nds32.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/nds32/nds32.md')
-rw-r--r--gcc/config/nds32/nds32.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/nds32/nds32.md b/gcc/config/nds32/nds32.md
index 64823a13a47..487127b9a8a 100644
--- a/gcc/config/nds32/nds32.md
+++ b/gcc/config/nds32/nds32.md
@@ -889,9 +889,8 @@
}
else
/* This emit_insn will create corresponding 'slt/slts' insturction. */
- emit_insn (gen_rtx_SET (VOIDmode, tmp,
- gen_rtx_fmt_ee (new_code, SImode,
- cmp_op0, cmp_op1)));
+ emit_insn (gen_rtx_SET (tmp, gen_rtx_fmt_ee (new_code, SImode,
+ cmp_op0, cmp_op1)));
/* Change comparison semantic into (eq X 0) or (ne X 0) behavior
so that cmovz or cmovn will be matched later.