From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23901 invoked by alias); 9 Feb 2009 22:43:58 -0000 Received: (qmail 23843 invoked by uid 48); 9 Feb 2009 22:43:45 -0000 Date: Mon, 09 Feb 2009 22:43:00 -0000 Message-ID: <20090209224345.23842.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/16331] x86-64 inline asm register constraints insufficient WRT ABI In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ubizjak at gmail dot com" 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: 2009-02/txt/msg00845.txt.bz2 ------- Comment #12 from ubizjak at gmail dot com 2009-02-09 22:43 ------- (In reply to comment #11) > Uros, how hard to support this in x86 backend? I remember there were concerns when xmm0 single-register constraint was introduced... We need new constraint letter and new regclass entry. I don't have relevant mail at hand, but IIRC adding new register class is O(n*n). OTOH, constraints should be used to support correct register allocation for machine instructions, not to emulate ABI in order to support calls from inside asm statements. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16331