------- Comment #10 from ubizjak at gmail dot com  2010-02-25 19:44 -------
(In reply to comment #9)
> The testcase will also fail with -msse4.1:

Add this patch (please note that input operands of blend MD patterns are
*reversed*):

@@ -29153,7 +29153,7 @@ expand_vec_perm_blend (struct expand_vec
     }

   /* This matches five different patterns with the different modes.  */
-  x = gen_rtx_VEC_MERGE (vmode, op0, op1, GEN_INT (mask));
+  x = gen_rtx_VEC_MERGE (vmode, op1, op0, GEN_INT (mask));
   x = gen_rtx_SET (VOIDmode, target, x);
   emit_insn (x);



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43175

Reply via email to