This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, i386 AVX] Type error in vpmaddubsw instruction pattern
- From: Liu <proljc at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: matt at 3am-software dot com, rth at redhat dot com, jh at suse dot cz, ubizjak at gmail dot com
- Date: Thu, 3 Mar 2011 19:11:28 +0800
- Subject: [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)