From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 517461A00C8 for ; Mon, 3 Nov 2014 07:17:22 +1100 (AEDT) Date: Mon, 3 Nov 2014 07:17:19 +1100 From: Anton Blanchard To: Segher Boessenkool Subject: Re: [PATCH] powerpc: Replace cc constraint in inline assembly with cr0 Message-ID: <20141103071719.6f50de76@kryten> In-Reply-To: <20141101133317.GA1608@gate.crashing.org> References: <1414802571-20225-1-git-send-email-anton@samba.org> <20141101133317.GA1608@gate.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: ulrich.weigand@de.ibm.com, paulus@samba.org, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Segher, > > Our inline assembly only clobbers the first condition register > > field, but we mark all of them as being clobbered. > > No, we don't. "cc" has been an alias for cr0 for over twenty two and > a half years now; it has never changed meaning. This is an LLVM bug. Thanks! I opened http://llvm.org/bugs/show_bug.cgi?id=21451 to track it. Anton