This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/6562: useless subl/addl $12, %esp in small functions involving sse2
- From: hubicka at gcc dot gnu dot org
- To: Sylvain dot Pion at sophia dot inria dot fr, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 5 May 2002 22:02:03 -0000
- Subject: Re: optimization/6562: useless subl/addl $12, %esp in small functions involving sse2
- Reply-to: hubicka at gcc dot gnu dot org, Sylvain dot Pion at sophia dot inria dot fr, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: useless subl/addl $12, %esp in small functions involving sse2
State-Changed-From-To: open->closed
State-Changed-By: hubicka
State-Changed-When: Sun May 5 15:02:02 2002
State-Changed-Why:
The add/sum is mandatory - stack needs to be allocated in order to move value from i387 to SSE register. Sadly i386 ABI requires values to be returned there. With -mfpmath=sse,i387 the move should not happen and the result should be computed in i387 directly.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6562