From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8150 invoked by alias); 10 Oct 2002 16:43:59 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 8128 invoked by uid 61); 10 Oct 2002 16:43:59 -0000 Date: Thu, 10 Oct 2002 09:43:00 -0000 Message-ID: <20021010164359.8127.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, pierre.lombard@imag.fr From: hubicka@gcc.gnu.org Reply-To: hubicka@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, pierre.lombard@imag.fr, gcc-gnats@gcc.gnu.org Subject: Re: optimization/5488: wrongcode when optimizing mmx asm inline X-SW-Source: 2002-10/txt/msg00377.txt.bz2 List-Id: 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