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]

fix target/19350


We already had the cast on the store path, but not here.  Ho Hum.


r~


        * config/i386/i386.c (ix86_expand_vector_move_misalign): Convert
        to V4SFmode in SSE1 fallback load path.

Index: i386.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.784
diff -u -p -r1.784 i386.c
--- i386.c	20 Jan 2005 08:57:20 -0000	1.784
+++ i386.c	20 Jan 2005 10:12:02 -0000
@@ -7703,6 +7703,8 @@ ix86_expand_vector_move_misalign (enum m
 	  else
 	    emit_insn (gen_rtx_CLOBBER (VOIDmode, op0));
 
+	  if (mode != V4SFmode)
+	    op0 = gen_lowpart (V4SFmode, op0);
 	  m = adjust_address (op1, V2SFmode, 0);
 	  emit_insn (gen_sse_loadlps (op0, op0, m));
 	  m = adjust_address (op1, V2SFmode, 8);


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