From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78558 invoked by alias); 4 Nov 2016 13:55:12 -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 78530 invoked by uid 89); 4 Nov 2016 13:55:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=annoying, H*Ad:U*rth, 0x0a, 0x0A X-HELO: mail-oi0-f53.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=rs7plruiYOQ96HwQWBmf5/zL8MU8z5Sbf9VrmSYXmos=; b=WLwklIGIUDTGo69lYLxGvMv+2TGkwpuswZh0xXbq4GCwushxGQTEQ9GN9CHwmoN8Nh /6ZWofRSJA0fWgPl/OgwvAWF6e7/ccW1eXyfconrrfjag3wlofWCWMBNCEcQ9GJIwMZ5 Cxloh0VnLGH2+ViYsF14fqHxlLd4NH67+s0DUNM+6YhXwk2+4uGwWYfqLK5arGIjMpHz 06oPR6A9z/NKUBBZq3xki7iyQwWK3n5bJp8X07N5gRCZqWjpD2myL0E0N9xDlfqxaGy/ MVkvXRkZlWaEBeddJCPdUGDAm82fKRdA+nIJ7E1GyU7jgujzMH7/JA3DQ107fB/WETxx pnmg== X-Gm-Message-State: ABUngvdYZQOyuZfvsV2hF74gQyPs5JsMaSmB22u36cJMs/DWvkmJhXym5sbhkzuxXHmljw== X-Received: by 10.157.54.240 with SMTP id s45mr9795405otd.207.1478267706842; Fri, 04 Nov 2016 06:55:06 -0700 (PDT) Subject: Re: [RFC][PATCH 0/2] Make sparcv8 work again on cas enabled hardware To: David Miller , triegel@redhat.com References: <1478125983.7146.733.camel@localhost.localdomain> <20161102.225245.471656475226254205.davem@davemloft.net> <1478187561.7146.742.camel@localhost.localdomain> <20161103.132213.598669006383889263.davem@davemloft.net> Cc: andreas@gaisler.com, libc-alpha@sourceware.org, adhemerval.zanella@linaro.org, carlos@redhat.com, software@gaisler.com From: Richard Henderson Message-ID: Date: Fri, 04 Nov 2016 13:55:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161103.132213.598669006383889263.davem@davemloft.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00164.txt.bz2 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. r~