This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Trivial patch, i386]: fix ix86_expand_vector_move()


Hello!

2005-01-05 Uros Bizjak <uros@kss-loka.si>

   * config/i386/i386.c (ix86_expand_vector_move):
   Fix condition of constant to memory move.

Uros.
Index: i386.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.770
diff -u -p -r1.770 i386.c
--- i386.c	6 Jan 2005 06:22:32 -0000	1.770
+++ i386.c	6 Jan 2005 09:29:43 -0000
@@ -7579,7 +7579,7 @@ ix86_expand_vector_move (enum machine_mo
      the instructions used to build constants modify the upper 64 bits
      of the register, once we have that information we may be able
      to handle some of them more efficiently.  */
-  if ((reload_in_progress | reload_completed) == 0
+  if ((reload_in_progress || reload_completed) == 0
       && register_operand (op0, mode)
       && CONSTANT_P (op1) && op1 != CONST0_RTX (mode))
     op1 = validize_mem (force_const_mem (mode, op1));

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]