From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26246 invoked by alias); 13 Nov 2012 10:23:22 -0000 Received: (qmail 26190 invoked by uid 48); 13 Nov 2012 10:23:03 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/55266] vector expansion: 36 movs for 4 adds Date: Tue, 13 Nov 2012 10:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg01132.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55266 --- Comment #1 from Marc Glisse 2012-11-13 10:23:03 UTC --- The first copy is PR 52436. The second copy has a patch posted here: http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00900.html The last copy would require turning: gimple_assign gimple_assign into: gimple_assign gimple_assign (not sure if endianness matters here) which could maybe more easily be done by splitting the memory write (when the vector type is not supported) into a suitable number of bit_field_ref extractions and memory writes and relying on forwprop4 to simplify the bit_field_refs of the constructor.