i386.c (ix86_expand_setcc): Fix typo.
authorJeffrey A Law <law@cygnus.com>
Tue, 11 Jan 2000 13:37:37 +0000 (13:37 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 11 Jan 2000 13:37:37 +0000 (06:37 -0700)
        * i386.c (ix86_expand_setcc): Fix typo.
        (ix86_expand_movcc): Similarly.

From-SVN: r31325

gcc/ChangeLog
gcc/config/i386/i386.c

index 468e79f6cfbe3b85f67506d5accbf77e733d106f..723126618f04e8f086ce822a9830349d0cb66c91 100644 (file)
@@ -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
index 47460f0bd602fe6e504672365e4c6914a33eec26..895cc8cc90494b843098c7651995f0684fbb61a2 100644 (file)
@@ -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);