This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/5488: wrongcode when optimizing mmx asm inline
- From: hubicka at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, pierre dot lombard at imag dot fr
- Date: 10 Oct 2002 16:43:59 -0000
- Subject: Re: optimization/5488: wrongcode when optimizing mmx asm inline
- Reply-to: hubicka at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, pierre dot lombard at imag dot fr, gcc-gnats at gcc dot gnu dot org
Synopsis: wrongcode when optimizing mmx asm inline
State-Changed-From-To: open->closed
State-Changed-By: hubicka
State-Changed-When: Thu Oct 10 09:43:58 2002
State-Changed-Why:
The code is wrong. It passes just one member of the vector to the asm statement, not the whole vector and GCC is valid to make another copy of the same constant elsewhere and pass it to ASM statement, even when it is interesting idea.
You need to pass whole array type (or structure)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5488