From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65033 invoked by alias); 4 Nov 2016 15:31:14 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 65023 invoked by uid 89); 4 Nov 2016 15:31:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=annoying, HTo:U*rth, H*F:U*davem, 0x0a X-HELO: shards.monkeyblade.net Date: Fri, 04 Nov 2016 15:31:00 -0000 Message-Id: <20161104.113100.1070023733565010549.davem@davemloft.net> To: rth@twiddle.net Cc: triegel@redhat.com, andreas@gaisler.com, libc-alpha@sourceware.org, adhemerval.zanella@linaro.org, carlos@redhat.com, software@gaisler.com Subject: Re: [RFC][PATCH 0/2] Make sparcv8 work again on cas enabled hardware From: David Miller In-Reply-To: References: <1478187561.7146.742.camel@localhost.localdomain> <20161103.132213.598669006383889263.davem@davemloft.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00174.txt.bz2 From: Richard Henderson Date: Fri, 4 Nov 2016 07:55:04 -0600 > On 11/03/2016 11:22 AM, David Miller wrote: >> From: Torvald Riegel >> Date: Thu, 03 Nov 2016 16:39:21 +0100 >> >>> Is there any difference between the additional CAS on a v8 and the CAS >>> on a v9? If there should be none (eg, same instruciton encoding >>> etc.), >>> we wouldn't need a runtime check for this, would we? >> >> A quick look at binutils shows that the encoding appears to be the >> same. > > Yes and no. The instruction format is the same, but the ASI used is > different. > > The CAS for leon userspace uses ASI_USERDATA (0x0A), not the v9 ASI_P > (0x80). It's a really annoying difference that I wish the cpu > designers hadn't made. I don't think they had much choice in the matter given how the ASIs are doled out in v9 vs. pre-v9. :-/