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]

[PATCH, i386 AVX] Type error in vpmaddubsw instruction pattern


Hi,

When I read sse.md, I find there is a type error in vpmaddubsw
define_insn pattern.
Attached is the patch that fix the type error.
Is it OK to commit to 4.6 trunk?

Thanks,
Index: gcc/config/i386/sse.md
===================================================================
--- gcc/config/i386/sse.md	(revision 170646)
+++ gcc/config/i386/sse.md	(working copy)
@@ -8885,7 +8885,7 @@
 	(ss_plus:V8HI
 	  (mult:V8HI
 	    (zero_extend:V8HI
-	      (vec_select:V4QI
+	      (vec_select:V8QI
 		(match_operand:V16QI 1 "register_operand" "x")
 		(parallel [(const_int 0)
 			   (const_int 2)

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