* config/i386/i386.c (ix86_expand_builtin): Fix typo.
authorGraham Stott <grahams@redhat.com>
Tue, 19 Feb 2002 20:05:28 +0000 (20:05 +0000)
committerGraham Stott <grahams@gcc.gnu.org>
Tue, 19 Feb 2002 20:05:28 +0000 (20:05 +0000)
From-SVN: r49876

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

index 55243c94315260eeb5e8fe9d919d64a8f1d829f0..c5813d2af9a43a4c1a8c1e951f454bc988e3df9d 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-19  Graham Stott  <grahams@redhat.com>
+
+       * config/i386/i386.c (ix86_expand_builtin): Fix typo.
+
 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
index 342321a7ec7d46c87c8e01f482094f737863329f..ccaf1e3a90e83ceb7a404fd1b04863bf8988430c 100644 (file)
@@ -11713,7 +11713,7 @@ ix86_expand_builtin (exp, target, subtarget, mode, ignore)
       mode1 = insn_data[icode].operand[1].mode;
       mode2 = insn_data[icode].operand[2].mode;
 
-      if (! (*insn_data[icode].operand[1].predicate) (op0, mode0))
+      if (! (*insn_data[icode].operand[0].predicate) (op0, mode0))
        op0 = copy_to_mode_reg (mode0, op0);
       if (! (*insn_data[icode].operand[1].predicate) (op1, mode1))
        op1 = copy_to_mode_reg (mode1, op1);