From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8795 invoked by alias); 5 Aug 2014 08:50:00 -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 8739 invoked by uid 48); 5 Aug 2014 08:49:56 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/62014] [AArch64] Using -mgeneral-regs-only may lead to ICE Date: Tue, 05 Aug 2014 08:50: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.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2014-08/txt/msg00260.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62014 --- Comment #6 from ktkachov at gcc dot gnu.org --- One crude way to look is by looking for the "w" constraint that signifies usage of FP registers in the md files and seeing whether those usages are properly guarded by the 'simd' attribute or by TARGET_FLOAT/TARGET_SIMD. One quick search shows the absdi2 define_insn_and_split that uses 'w' in its second alternative to emit "abs\\t%d0, %d1" but doesn't guard it by the 'simd' attribute. Maybe that's a place to start to construct a testcase