optimization/6562: useless subl/addl $12, %esp in small functions involving sse2

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Sun May 5 15:02:00 GMT 2002


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



More information about the Gcc-bugs mailing list