From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21180 invoked by alias); 9 Jan 2013 18:16:55 -0000 Received: (qmail 20834 invoked by uid 48); 9 Jan 2013 18:15:55 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/55829] [4.8 Regression] ICE: in curr_insn_transform, at lra-constraints.c:3069 with -msse3 Date: Wed, 09 Jan 2013 18:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 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: 2013-01/txt/msg00850.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55829 --- Comment #10 from Vladimir Makarov 2013-01-09 18:15:52 UTC --- (In reply to comment #9) > gcc now generates: > > movq p1(%rip), %r12 # 56 *movdi_internal_rex64/2 [length = 7] > movq %r12, (%rsp) # 57 *movdi_internal_rex64/4 [length = 4] > movddup (%rsp), %xmm1 # 23 *vec_concatv2df/3 [length = 5] > > is there a reason not to load directly from p1, to avoid extra moves: > > movddup p1(%rip), %xmm1 I checked reload pass, it has the same problem (and generates even worse code: +1 insn and using nonzero displacement). It is possible to fix it, but it will be not easy. In any case, I don't think it will fixed soon as I have more important LRA PRs. I'll put it on my TODO list.