aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/i386/i386.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 468e79f..7231266 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -10,6 +10,9 @@ Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
+ * i386.c (ix86_expand_setcc): Fix typo.
+ (ix86_expand_movcc): Similarly.
+
* Band-aid until haifa's bitset implementation is nuked.
* haifa-sched.c (extract_bitlst): New parameter for size of the
bitset in bits. All callers changed. Avoid looking at undefined
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 47460f0..895cc8c 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -4346,7 +4346,7 @@ ix86_expand_setcc (code, unordered, dest)
if (GET_MODE (dest) == QImode)
type = 2;
else if (reg_overlap_mentioned_p (dest, ix86_compare_op0)
- || reg_overlap_mentioned_p (dest, ix86_compare_op0))
+ || reg_overlap_mentioned_p (dest, ix86_compare_op1))
type = 1;
if (type == 0)
@@ -4446,7 +4446,7 @@ ix86_expand_int_movcc (operands)
diff = ct - cf;
if (reg_overlap_mentioned_p (out, ix86_compare_op0)
- || reg_overlap_mentioned_p (out, ix86_compare_op0))
+ || reg_overlap_mentioned_p (out, ix86_compare_op1))
tmp = gen_reg_rtx (SImode);
emit_insn (compare_seq);