From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77668 invoked by alias); 21 Mar 2015 05:24:21 -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 77627 invoked by uid 48); 21 Mar 2015 05:24:18 -0000 From: "gccbugzilla at limegreensocks dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/65436] Max number of extended asm +output operands currently limited to 15 Date: Sat, 21 Mar 2015 10:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: gccbugzilla at limegreensocks dot com X-Bugzilla-Status: RESOLVED 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: 2015-03/txt/msg02193.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65436 --- Comment #7 from David --- While I don't yet see a case here to justify making this change generally, it may be useful to change this for private builds of gcc. For those cases, change this line in gcc/genconfig.c: max_recog_operands = 29; /* We will add 1 later. */ This generates MAX_RECOG_OPERANDS in insn-config.h, which controls the number of parameters for asm statements. Like Andrew, I would be interested to see what you are doing that modifies > 15 registers in inline asm on x86. My gut says there's got to be a cleaner way than throwing more parameters at it, but maybe not.