This is the mail archive of the 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]

fix execute/simd-2.c for --with-arch=pentium4

This test case isn't run with sse2 unless you use the configure
flag, or RUNTESTFLAGS.  Doing the former picked out these typos.


        * config/i386/i386.c (ix86_expand_vector_init_one_var): Fix typo
        in QImode expansion to ix86_expand_vector_set.
        (ix86_expand_vector_init_general): Fix typo in V8HImode recursive call.

Index: i386.c
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.783
diff -u -p -d -r1.783 i386.c
--- i386.c	20 Jan 2005 06:47:20 -0000	1.783
+++ i386.c	20 Jan 2005 08:53:27 -0000
@@ -16047,7 +16047,7 @@ ix86_expand_vector_init_one_var (bool mm
       x = gen_reg_rtx (wmode);
       emit_move_insn (x, gen_lowpart (wmode, const_vec));
-      ix86_expand_vector_set (mmx_ok, target, var, one_var >> 1);
+      ix86_expand_vector_set (mmx_ok, x, var, one_var >> 1);
       emit_move_insn (target, gen_lowpart (mode, x));
       return true;
@@ -16182,7 +16182,7 @@ ix86_expand_vector_init_general (bool mm
 	  rtx tmp = gen_reg_rtx (V4SImode);
 	  vals = gen_rtx_PARALLEL (V4SImode, gen_rtvec_v (4, words));
-	  ix86_expand_vector_init_general (false, V4SImode, target, vals);
+	  ix86_expand_vector_init_general (false, V4SImode, tmp, vals);
 	  emit_move_insn (target, gen_lowpart (mode, tmp));

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