From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7121 invoked by alias); 6 Sep 2013 18:52:28 -0000 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 Received: (qmail 7085 invoked by uid 48); 6 Sep 2013 18:52:25 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58269] [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin* after revision 201915 Date: Fri, 06 Sep 2013 18:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-09/txt/msg00394.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58269 --- Comment #19 from Iain Sandoe --- (In reply to Mike Stump from comment #18) > On Sep 6, 2013, at 8:43 AM, howarth at nitro dot med.uc.edu > wrote: > > * i386.c (ix86_hard_regno_mode_ok): AVX modes are valid only whe= n=20=20=20=20=20=20=20 > > AVX is enabled. >=20 > llvm has: >=20 > // The first 8 512-bit vector arguments are passed in ZMM registers. > CCIfNotVarArg CCIfSubtarget<"hasAVX512()", > CCAssignToReg<[ZMM0, ZMM1, ZMM2, ZMM3, ZMM4, ZMM5, ZMM6, > ZMM7]>>>>, >=20 > just after the sse registers=E2=80=A6 conceptually, I wonder if gcc is m= issing that. On the basis that clang (Darwin11, Darwin12) defines the ABI - we should see about this. Presumably, this should be disabled for OS versions where gcc-4.2/gcc-4.0 are the "system compiler". As of now, the documentation does not refer to this - the web page still po= ints to the older psABI. Is there an official update to the System V psABI covering these regs? >>From gcc-bugs-return-429155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Sep 06 18:58:52 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11270 invoked by alias); 6 Sep 2013 18:58:52 -0000 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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11213 invoked by uid 48); 6 Sep 2013 18:58:48 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/58295] [4.8/4.9 regression] Missed zero-extension elimination in the combiner Date: Fri, 06 Sep 2013 18:58: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-Version: 4.9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-09/txt/msg00395.txt.bz2 Content-length: 498 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58295 --- Comment #6 from H.J. Lu --- (In reply to Eric Botcazou from comment #5) > Yes and, although x86 is the dominant architecture, it shouldn't be allowed > to penalize all the others. I think we should restrict the effect of > r191928, in particular it makes little sense as-is if you also define > PROMOTE_MODE as on most RISC architectures. We can limit the transformation to (truncate:SI (op:DI (x:DI) (y:DI))).