This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/64477] [4.9/5 Regression] x86 sse unnecessary GPR spill
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Jan 2015 07:24:33 +0000
- Subject: [Bug target/64477] [4.9/5 Regression] x86 sse unnecessary GPR spill
- Auto-submitted: auto-generated
- References: <bug-64477-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64477
UroÅ Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|missed-optimization, ra |
Target|x86_64-*-* |x86
Assignee|vmakarov at redhat dot com |ubizjak at gmail dot com
--- Comment #7 from UroÅ Bizjak <ubizjak at gmail dot com> ---
Patch in testing:
--cut here--
Index: config/i386/sse.md
===================================================================
--- config/i386/sse.md (revision 219987)
+++ config/i386/sse.md (working copy)
@@ -6391,11 +6391,11 @@
;; see comment above inline_secondary_memory_needed function in i386.c
(define_insn "vec_set<mode>_0"
[(set (match_operand:VI4F_128 0 "nonimmediate_operand"
- "=Yr,*v,v,v ,x,x,v,Yr ,*x ,x ,m ,m ,m")
+ "=Yr,*v,v,Yi,x,x,v,Yr ,*x ,x ,m ,m ,m")
(vec_merge:VI4F_128
(vec_duplicate:VI4F_128
(match_operand:<ssescalarmode> 2 "general_operand"
- " Yr,*v,m,*r,m,x,v,*rm,*rm,*rm,!x,!*re,!*fF"))
+ " Yr,*v,m,r ,m,x,v,*rm,*rm,*rm,!x,!*re,!*fF"))
(match_operand:VI4F_128 1 "vector_move_operand"
" C , C,C,C ,C,0,v,0 ,0 ,x ,0 ,0 ,0")
(const_int 1)))]
--cut here--