Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759036AbZAWSW1 (ORCPT ); Fri, 23 Jan 2009 13:22:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753995AbZAWSWT (ORCPT ); Fri, 23 Jan 2009 13:22:19 -0500 Received: from terminus.zytor.com ([198.137.202.10]:59633 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753035AbZAWSWS (ORCPT ); Fri, 23 Jan 2009 13:22:18 -0500 Message-ID: <497A0ABD.2090408@zytor.com> Date: Fri, 23 Jan 2009 10:21:49 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Ingo Molnar CC: =?ISO-8859-1?Q?T=F6r=F6k_Edwin?= , Thomas Gleixner , Linux Kernel Subject: Re: inline asm semantics: output constraint width smaller than input References: <497A0500.3080706@gmail.com> <20090123181721.GA32545@elte.hu> In-Reply-To: <20090123181721.GA32545@elte.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 978 Lines: 25 Ingo Molnar wrote: > >> Hi, >> >> I am trying to build the kernel with LLVM 2.5 prerelease (using >> llvm-gcc-4.2 frontend), however I am running into some inline asm >> semantics issues, and after some discussion on LLVM bugzilla I would >> like to know if you would be accepting patches for this: >> http://llvm.org/bugs/show_bug.cgi?id=3373 >> >> The problem is when "a" output constraint is used with a variable of >> smaller width than the "0" input constraint. >> IMO, that's an LLVM bug and should be fixed in LLVM while it is in prerelease. That particular constraint is a serious one, and will haunt us for many years if we allow ourselves to go down the path of having to fix that every time it crops up. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/