OSDN Git Service

* config/i386/i386.c (ix86_expand_builtin): Fix typo.
authorgrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Feb 2002 20:05:28 +0000 (20:05 +0000)
committergrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Feb 2002 20:05:28 +0000 (20:05 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49876 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 55243c9..c5813d2 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 342321a..ccaf1e3 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);